The prompt "Warning:/dev/root does not exist" is displayed when centos 7 is installed on the USB flash drive.

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.