LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-22-2014, 01:06 AM   #1
PelleP
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Rep: Reputation: Disabled
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?

I've created my DVD using:
Code:
genisoimage -o MyRedhatDvd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/
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
 
Old 08-22-2014, 01:26 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
It looks like you didn't build your install DVD properly. What happens with the commercially available install DVD?
 
Old 08-22-2014, 02:27 AM   #3
PelleP
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-22-2014, 02:42 AM   #4
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
If the commercial install DVD works, why do you need your other improperly built DVD? You can simply install your system from the commercial DVD.
 
Old 08-22-2014, 03:20 AM   #5
PelleP
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
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...
 
Old 08-22-2014, 12:07 PM   #6
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
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.
 
Old 08-26-2014, 07:48 AM   #7
PelleP
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
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!

/P
 
Old 08-26-2014, 07:25 PM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
side question:

why not boot from a USB with the ks, but have it point to the mounted .iso of the DVD on your network for unattended would that not work?
 
Old 08-27-2014, 02:11 AM   #9
PelleP
LQ Newbie
 
Registered: Aug 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Probably, this is a server which doesn't have network to any files shares or FTPs though.
 
Old 08-27-2014, 08:17 PM   #10
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
ahh got ya. sorry was just thinking on how it might help.
 
Old 09-21-2015, 11:00 AM   #11
scotter59
LQ Newbie
 
Registered: Jun 2008
Location: Northern Virginia
Distribution: Mint, Red Hat
Posts: 6

Rep: Reputation: 1
Quote:
Originally Posted by PelleP View Post
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?

I've created my DVD using:
Code:
genisoimage -o MyRedhatDvd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/
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.

Scott M.
 
Old 10-13-2015, 09:27 AM   #12
scotter59
LQ Newbie
 
Registered: Jun 2008
Location: Northern Virginia
Distribution: Mint, Red Hat
Posts: 6

Rep: Reputation: 1
Quote:
Originally Posted by scotter59 View Post
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
 
1 members found this post helpful.
Old 03-28-2020, 11:39 PM   #13
fassl
LQ Newbie
 
Registered: Mar 2020
Posts: 1

Rep: Reputation: Disabled
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.

Sorry for necro-bumping.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BackTrack 5 R3 boot issue: "/dev/mapper/vg-root does not exist! Dropping to shell!" EStyles Linux - Laptop and Netbook 2 12-07-2012 08:24 PM
GRUB root="/dev/sda1' does not exist. gentoo installation problem ununun Linux - General 2 08-01-2011 08:30 PM
Mint 6 install fails to boot dev/sda1/ does not exist JimboJuggs Linux - Distributions 9 03-06-2009 08:57 AM
fc8 fails to mount /dev/root bioe007 Fedora - Installation 5 01-16-2008 08:37 PM
server fails initial boot while fsck'ing /dev/shm/root rsmccain Linux - General 0 04-26-2006 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration