While installing centos 7, You may encounter error like “Warning: /dev/root does not exist”.
*> dracut-initqueue: Warning: Could not boot
> dracut-initqueue: Warning: /dev/root does not exist*
To fix this, when the dracut shell becomes available, create a directory:
Mount different block devices until you have found the one that contains the ISO. Once you find the /dev/ for the USB (for instance, if your system reads it virtual cd drive as /dev/sr0), perform the command blkid on the device:
Reboot the server and when the installer menu is shown, press tab to edit the installation parameters
The line will look like
vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet nomodeset
Delete the label part and add the drive like the one below
vmlinuz initrd=initrd.img inst.stage2=hd:/dev/sr0 nomodeset
In this server, /dev/sr0 holds the virtual cd rom. Remove quiet if not needed and add nomodeset for especially Intel AMT boards.
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Thank you for subscribing.
Something went wrong.