When centos 7 is installed, the system prompts "Warning:/dev/root does not exist, cocould not boot"
This problem is that the USB flash drive is not found. This configuration needs to be completed in the previous step, but we do not know the file name of the USB flash drive in the previous step. Therefore, simply check the device name of the USB flash drive in this step, then return to the previous step to complete the configuration.
View the drive letter of the mobile hard disk in the/dev directory on the dracut interface.
# SDB and SDB #, # Are numbers, such as sdb4
Ls/dev
You can see the hard disk information:
My USB flash drive is sdb4
Reboot after confirming the drive letter
Go back to the installation selection page and move the mouse to select "Install centos 7"
Press the e key and the vmlinuz configuration information will appear at the bottom of the screen. modify this information.
Initrd = initrd. imginst. stage2 ** = HD: Label = centos \ x207 \ x20x86_64 RD. Live. Check quiet **
Changed:
Vmlinuz initrd = initrd. IMG Inst. stage2 ** = HD:/dev/sdb4 quite **
Sdb4 is the drive letter of the mobile hard disk confirmed in step 1
After the modification is complete, press CTRC-X to enter the graphic interface and continue to guide the installation.
The prompt "Warning:/dev/root does not exist" is displayed when centos 7 is installed on the USB flash drive.