I get this error message when trying to install CentOS 7 from an USB device:
/dev/root does not exist in CentOS 7
How can I solve this problem?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Use Win32 Disk Imager on Windows or dd to write the ISO to the USB stick on Linux/OSX.
dd if=CentOS-7.0-1406-x86_64-NetInstall.iso of=/dev/sdb bs=8m
I've recently used the first and it booted fine after doing that.
fdisk -l -- to show you all the disk available to use, choose your external pendrive
dd if="absolute location to your .iso file" of="absolute path shown with above command output"
For me, I am on the exact path of my distribution ISO file so I used
dd if=CentOS.iso of=/dev/sdb2 -- sdb2 is my external pendrive
There are multiple ways of doing it. Recently for Centos newer versions, most of the USB bootable disk creating applications has reported undefined behavior when they are created and booted form USB disks.(Like Universal USB installer, YUMI multiboot etc.) See here
So better to use
dd command as @darkorbor other Windows or unix tools. Most of are mentioned in the link I provided up here
dd if=CentOS-7.0-1406-x86_64-NetInstall.iso of=/dev/sdb
of=/dev/sdb should be your USB stick and should be given as the disk only. Not as a partition(not sdb1,sdb2 etc.). you can check the progress of dd by doing as below.(Quoted from See here)
First, find out the process id of the dd process by running the following in the new virtual terminal.
$ pgrep -l '^dd$' 8789 dd $
To send the USR1 signal to the dd prcoess:
$ kill -USR1 8789 $
Note that as soon as the USR1 signal is detected, dd will print out the current statistics to its STDERR.
$ dd if=/dev/random of=/dev/null bs=1K count=100 0+14 records in 0+14 records out 204 bytes (204 B) copied, 24.92 seconds, 0.0 kB/s
After reporting the status, dd will resume copying. You can repeat the above kill command any time you want to see the interim statistics. Alternatively, you can use the watch command to execute kill at a set interval.
$ watch -n 10 kill -USR1 8789