[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gcc compiler version / kernel problems




Greg Julius wrote:


Greetings smart ones out there...
I finally got 2.4.20 to boot.  I used the rawhide SRPM to build it.

I guess you figured it out :)


I tried to boot without the mkinitrd because I don't have SCSI but I get the following errors

There's more on the initrd that just SCSI these days. Not sure why ext3 isn't builtin, but that's Red Hat's choice.


VFS: Cannot open root device "LABEL=/" or 00:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 00:00

That might also be software RAID/LVM too, those drivers are also modules on the initrd.

When I built the initrd image I was able to boot.

Question1: What is in my initrd that I should incorporate (=y) in the kernel? Or is it something that I will always need? How can I find out what it included?

You can look at the initrd, see what's there, and decide what you are using from that.


cp /boot/initrd-2.4.20<some thing>.img /tmp/initrd.img.gz
gunzip /tmp/initrd.img.gz
mount -o loop /tmp/initrd.img /initrd
grep insmod /initrd/linuxrc


(don't forget to unmount /initrd and delete /tmp/initrd.img when you're done :) )


-Thomas






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]