[SOLVED] RHEL7 installation fails: /dev/root does not exist
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
RHEL7 installation fails: /dev/root does not exist
Hello,
I'm trying to make an unattended installation of RHEL7 using kickstart-file and booting from a DVD, and I get the somewhat classical error message:
Code:
dracut-initqueue[xyz]: Warning: Could not boot.
dracut-initqueue[xyz]: Warning: /dev/root does not exist
But even when I try to just boot the DVD without any boot-options och pointers to ks-files I get the same error. I.e. when I just choose to install RHEL7 from the normal boot menu. So I reckon it doesn't have anything to do with my ks-file, more my iso-file?
A webb search of the problem seems to indicate that a great number of things can cause this problem but none of the answers apply to me though.
The problem also exist no matter if I use a physical machine or a VM, if Im on an online machine or an offline machine. Does it have to do with not finding installation repos or something like that?
Yea think so too. If I burn the rhel-client-7.0-x86_64-dvd.iso to DVD it boots fine and I can install from it.
But Im also a bit curious because some instructions say different things. Should I boot the machine from the official DVD, pass the ks option and
then switch DVD-disc?
Or should I boot from my own install DVD, pass the ks option and then switch to the official DVD?
The unattended installation using kickstart file is the goal. And trying without the ks-file was just for testing if the error persisted.
So now I tested booting from the RHEL7-DVD, passing the ks-file-option and then inserting my red hat-DVD with the ks-file. The system
continues for a while and I can see that it reads the ks-file:
Quote:
anaconda: fetching kickstart from from /dev/sr0:/ks.cfg
But after a minute I get the same error: Could not boot, /dev/root does not exist.
I get a row of red text in the log saying:
Quote:
sda: spurious uevent, path already in pathvec
Is that the cause to all of this?
According to Red Hat:
Quote:
32.9. Making the Installation Tree Available
The kickstart installation must access an installation tree. An installation tree is a copy of the binary Red Hat Enterprise Linux DVD with the same directory structure.
If you are performing a DVD-based installation, insert the Red Hat Enterprise Linux installation DVD into the computer before starting the kickstart installation.
So it seems when the installation has read the ks-file and again should be asking for the RHEL7-DVD to start the installation, something goes wrong...
Last edited by PelleP; 08-22-2014 at 03:41 AM.
Reason: more info...
You need to continue installing from the commercial DVD and not use your own DVD at all. Supposing you have your ks file on a USB stick and have the commercial DVD access it there, so that the installation continues with the commercial DVD.
Yes I will probably have to go with having the ks-file on a USB-stick. That works at least but you loose configuring isolinux.cfg and
other things.
Thanks for the input!
I'm trying to make an unattended installation of RHEL7 using kickstart-file and booting from a DVD, and I get the somewhat classical error message:
Code:
dracut-initqueue[xyz]: Warning: Could not boot.
dracut-initqueue[xyz]: Warning: /dev/root does not exist
But even when I try to just boot the DVD without any boot-options och pointers to ks-files I get the same error. I.e. when I just choose to install RHEL7 from the normal boot menu. So I reckon it doesn't have anything to do with my ks-file, more my iso-file?
A webb search of the problem seems to indicate that a great number of things can cause this problem but none of the answers apply to me though.
The problem also exist no matter if I use a physical machine or a VM, if Im on an online machine or an offline machine. Does it have to do with not finding installation repos or something like that?
Regards,
/Pelle
Did you get past this "/dev/root does not exist" issue ?
We are getting it with a RHEL 7.0 UEFI Kickstart boot, no problem with isolinux.
And before the peanut gallery chimes in about using the OEM iso, that is not the question.
The question is what needs to be modified so that a RHEL 7.0 kickstart iso will boot with UEFI?
This is necessary for Generation 2 Hyper-V installation, the customizations address Stig applications for deployment.
Did you get past this "/dev/root does not exist" issue ?
We are getting it with a RHEL 7.0 UEFI Kickstart boot, no problem with isolinux.
And before the peanut gallery chimes in about using the OEM iso, that is not the question.
The question is what needs to be modified so that a RHEL 7.0 kickstart iso will boot with UEFI?
This is necessary for Generation 2 Hyper-V installation, the customizations address Stig applications for deployment.
Scott M.
Community thanks for the assistance, we resolved the issues of creating a custom image of RHEL 7.0 on Generation 2, (UEFI boot).
Code:
genisoimage -U -r -v -T -J -joliet-long -V "MY RHEL-7.0 Server.x86_64" -volset "MY RHEL-7.0 Server.x86_64" -A "MY RHEL-7.0 Server.x86_64" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no-emul-boot -o destination.iso source-folder
Modified
Quote:
isolinux.cfg in "isolinux" folder
and
Quote:
grub.cfg in "EFI\BOOT" folder.
We then had a RedHat 7.0 ISO that could be used on Hyper-V Generation 2. Of course there was "ks.cfg" kickstart file.
Last edited by scotter59; 10-13-2015 at 09:32 AM.
Reason: cleanup
Thanks scotter59, it helped me out, things have changed and in order to get this working
on newer releases if you have similar to following in the kernel boot line
Quote:
inst.stage2=hd:LABEL=CentOS-Stream-8-x86_64-dvd
the LABEL has to match the labels you set with genisoimage.
I am not sure which or all of the string parameters have to match, i replaced all of them and
the error went away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.