Linux - NewbieThis 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
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.
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.
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174
Rep:
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.
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.
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?
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.
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.