Compiling 2.6.0
Paul
paul at all-the-johnsons.co.uk
Mon Oct 20 20:04:03 UTC 2003
Hi,
> I downloaded the source for Kernel 2.6.0 test8 and I'm able to compile and
> get a kernel out of the deal but when I reboot I get a "cannot open root
> device label=/"
You need to edit /boot/grub/grub.conf (assuming you're using grub) so
that where it says
root=LABEL=/
it reads
root=/dev/hda2 (or whichever drive /boot is on)
> I think it may have something to do with not have an initrd image, I'm not
> sure. When I try and do an initrd I get a "missing dep file" error. Even
> though I have the latest mkinitrd RPM from RawHide. "make dep" is no
> longer valid with the 2.6.0 series of kernel so I don't know how to get
> mkinitrd to stop complaining. Someone must have run into this before me.
Best way to compile (I've found)
1. run the configure app, save
2. make all
3. mkdir /lib/modules/2.6.0-test8
4. make install && modules_install
5. edit the /proc/ksyms (remove all instances of ksyms and replace with
ksymsall)
6. there is another app in /sbin which creates an alias file, you need
to run this.
7. reboot.
Works for me :-)
TTFN
Paul
--
One OS to fool them all
One browser to find them
One email client to bring them all
And through security holes, blind them...
More information about the fedora-test-list
mailing list