Install CentOS 7 problem solution on USB stick

Source: Internet
Author: User

1 Installing the latest CentOS Times error (CENTOS-7-X86_64-DVD-1503-01) using a USB flash drive:

Error message: "Warning:could not boot; Warning:/dev/root does not exist ", as follows:

2 Cause Analysis:

This is because the installer failed to find the installation file because it is a USB stick installation, so we need to determine the path of the USB drive. The mount path of the USB flash drive in CentOS is/dev/sd[a-p], modify the boot device to point to the USB flash drive.

Enter "Cd/dev" after the command prompt, then list all devices, enter the command "LS"

The detailed list of devices is as follows (screen):

According to, we can know, SDB is a U disk, and SDB4 is the partition of U disk

3 Solutions

From the network to find two solutions, should be feasible, I only verified one, the following separately

These two approaches, the previous steps are consistent, the main difference is in the back

3.1 First modified to start the USB stick

First restart the computer to enter the following screen, select Install Centos7, and then click Tab or E to enter the editing mode

3.2 Modifying the boot path (verified)

The difference arises, the first way is directly modified to the USB drive path

Will

Vmlinuz initrd=initrd.img

inst.stage2=hd:label=centos\x207\x20x86_64th.live.check quiet

Switch

Vmlinuz initrd=initrd.img

inst.stage2=hd:/dev/sdb4 quiet

Note that different versions may not match the above, but only the red ones need to be modified.

After the modification is completed, press the key combination ctrl+x, it will be effective

3.3 Another way to modify is to modify the Hd:label modified to the name of the USB stick, that is, we insert the USB flash drive in the operating system display name (not verified)

If the USB Key name (label) is CentOS. The

Will

Vmlinuz initrd=initrd.img

inst.stage2=hd:label=centos\x207\x20x86_64 rd.live.check quiet

Switch

Vmlinuz initrd=initrd.img

inst.stage2= =hd:label=centos rd.live.check quiet

After the modification is completed, press the key combination ctrl+x, it will be effective

Warning:/dev/root does not exis

Install CentOS 7 problem solution on USB stick

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.