LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2005, 10:44 AM   #1
snarkle
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
red hat 9 won't boot


I have installed Red Hat 9 and it won't boot up, what I get is:

"kmod: failed to exec /sbin/modprobe -s -k block-major-8, errno =2
VFS: Cannot open root device "sdb5" or 08:15
Please append a correct "root=" boot option
Kernel Panic: VFS: Unable to mount root fs on 08:15"

I created a boot disk at installation and that is what I am trying to boot with.

If it is needed to be known, I put the "/" and "swap" partitions on an external usb Maxtor hard drive. Also, when I went to install Red Hat, it only recognized the external drive and it didn't recognize the drive that came with the computer.
I have no problems booting to windows xp, it is just Linux that won't start.
 
Old 03-04-2005, 04:03 PM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
To boot, you need at least the driver for the disk controller where the disk with the root partition is attached. This probably means you need to have the usb-storage module loaded as well as the modules this one depends on.
For this, you must have an initial ramdisk (initrd) on your boot floppy which contains these modules and is loaded during boot.
Alternatively, you can build a kernel with all necessary modules directly compiled in and put that one on the boot floppy.

Regards
ric.
 
Old 03-04-2005, 04:58 PM   #3
snarkle
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the info and I mean no disrepect, but I have no idea how to do what you said or even understand it. If you know of where I can find that information, it would be most helpfull.
 
Old 03-04-2005, 05:11 PM   #4
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
A short info about initrd is in http://linuxreviews.org/howtos/Kerne...O/en/x543.html

You just need to create it on your boot floppy.
Of course for this you need a running Linux system; you might try Knoppix.

But in general, your RH9 installer should take care of that and put an initrd on the boot floppy. Were there any such options you might have missed during installation?

Regards
ric.
 
Old 03-04-2005, 10:19 PM   #5
snarkle
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I'm still getting the errors, but I'm not sure if I did this right. So feel free to smack me upside my head.
What I did was I went to someone who has a working Linux, I opened a terminal(I hope this is the right term for it) and typed "cp /boot/initrd-2.4.20-8.img /mnt/floppy".

Just in case you need to know, I also opened a terminal and typed "/sbin/mkinitrd /boot/initrd-2.4.20-8.img 2.4.20-8" and it told me that it already existed.

If you are wondering, I made the changes to a copy of the boot disk, so I still have the unaltered bootdisk.

Feel free to let me know what I am doing wrong.

Last edited by snarkle; 03-04-2005 at 10:30 PM.
 
Old 03-05-2005, 02:48 PM   #6
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
The initrd contains modules required specifically for the machine it runs on. You can't simply copy the initrd image from a completely different machine and expect it to work.

You also need to tell the bootloader where the initrd image is to make it work.


I suggest you re-run the RH9 installer (which I don't know from the inside, sorry - maybe someone else can help out here?) and look for an option like "create initial ramdisk", "make system bootable" or something similar.

Maybe you might simply repeat the whole installation procedure with an open eye about installing special driver modules on your boot floppy. Maybe someone with better knowledge of the RH9 installer can help out here?

Another option (probably the most easy one for the moment, considering you are a Linux newbie) would be getting a cheap internal harddisk and installing at least the root partition ("/") there. If you have a standard IDE controller, there should be no need for a customized initrd at all.

Regards
ric.
 
Old 03-05-2005, 03:29 PM   #7
snarkle
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Ricstirato- thanks for all the information, I'll have to check out what you said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - Newbie 15 10-21-2005 11:29 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Red Hat 1 09-25-2005 08:08 AM
To load/boot Red Hat Enterprise Linux 4 WS from Microsoft's Boot Loader (NTLDR) dhawal Linux - General 1 09-25-2005 08:07 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Red Hat 9.0 Wont Boot Lost Boot Disk! AndrewBalmos Linux - Newbie 8 01-05-2004 08:06 PM


All times are GMT -5. The time now is 10:35 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration