1. Introduction:
CentOS is one of the best free enterprise OS in the world, but as so many computers doesn't have DVD drive, we need to use USB drive to install operation systems.一、前言:
CentOS是世界上最好的企業級作業系統之一,但是因為很多電腦都沒有DVD光碟機,所以我們必須要用USB隨身碟來安裝作業系統2. Using materials:
iso: CentOS-6.5-x86_64-bin-DVD1 : downloaded form official website.computer: any fully functional computer with empty USB slot.
USB drive: normal 8 GB drive, because the CentOS iso is more than 4GB, you need at least 8 GB USB drive.
二、使用的內容:
iso: CentOS-6.5-x86_64-bin-DVD1 :從官方網站載的computer: 任何一台具有USB插槽且可以運作的電腦
USB drive: 一般的8 GB隨身碟,因為CentOS iso大於4GB,所以你必須至少準備8 GB的隨身碟
3. Try & Errors:
In this section I will show you how many ways I had tried and what the result it is.Fail 1:
Using unetbootin-windows-585 to translate iso file to usb drive, got error message when you choose some options and installing OS.Fail 2:
Using Universal-USB-Installer-1.9.5.2, same as Fail1Success:
Using CentOS officail wiki's guide:en-us: http://wiki.centos.org/HowTos/InstallFromUSBkey
as official wiki said:
Starting with CentOS 6.5, one can install from USB keys by simply transferring the desired ISO using dd.
|
For example:
dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb
When asked for the media to install from, select "hard disk" and then the device corresponding to the USB key.
But I don't have a run-able Linux system to operate dd command. So I downloaded VMware player (or you can use VirtualBox instead) to install a Linux to run dd command. After enter the Linux system, you may want to ensure where your USB drive is, you can type fdisk -l to check, In my case my USB drive is at /dev/sdb, the same as official wiki.After I operate the dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb command, I boot from the USB, and everything works fine, the OS runs well.
三、方法嘗試:
在本章節我會列出我所試過的方法以及該方法成功與否 。失敗一:
使用 unetbootin-windows-585 把iso檔轉到USB中,製作開機USB。結果安裝到一半就會發生錯誤,無法完成安裝。失敗二:
使用 Universal-USB-Installer-1.9.5.2 把iso檔轉到USB中。結果跟失敗一一樣成功:
利用CentOS官方wiki的教學:zh-tw: http://wiki.centos.org/zh-tw/HowTos/InstallFromUSBkey
內容如下:
由 CentOS 6.5 起,你只需透過 dd 把 ISO 檔移至 USB 儲存器,便能利用它進行安裝。
|
例如:
dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb
當被問及安裝來源時,請選取 hard disk,然後指向對應 USB 儲存器的裝置。
但是由於dd指令是Linux系統下的指令,而我目前也沒有可以運作的Linux系統。所以我下載了VMware Player (你也可以用 VirtualBox)來安裝Linux系統好執行dd指令。在進入Linux系統之後,你必須要找到你的USB隨身碟的位置,你可以輸入 fdisk -l 來找到你的USB隨身碟在哪,我的隨身碟是在 /dev/sdb 跟wiki上寫的一樣。
當執行完 dd if=CentOS-6.5-x86_64-bin-DVD1.iso of=/dev/sdb 指令後,我利用該隨身碟來安裝,結果非常順利,OS也無異狀。
4. Conclusion:
Always check official material first.
四、結論:
下次記得要先看看官方的教學。
5. Reference:
CentOS official website: http://www.centos.org/CentOS officail wiki: http://wiki.centos.org
http://aeroquartet.com/movierepair/dd%20for%20windows
回覆刪除可在win下使用dd指令