Hey hey.
On 09/18/04 13:24, Joshua Burvill wrote:
I am running sarge, and I have compiled a new kernel (2.6.8).
First of all, it may be worthwhile looking in to the kernel-package package. It's a neat way to automate the kernel compilation, giving you a debian package containing your new kernel and taking away a lot of the pain of creating initrds and configuring boot loaders.
When I tried to make the initrd.img I got some errors:
server1:/usr/src/linux-2.6.8# mkinitrd -o initrd.img-2.6.8 2.6.8 cpio: /etc/modprobe.conf: No such file or directory cpio: /lib/modules/modprobe.conf: No such file or directory
I would have thought they were just minor errors that mkinitrd will work around. (based on the fact that my sid machine doesn't have them. :-) Compare the size of the initrd image you created compared to one from a working kernel to give a rough idea of if it was properly created. You should also be able to mount it using the loopback device to have a poke around at what it contains like:
# mount -o loop initrd.img-2.6.8 2.6.8 /mnt
*snip*I have tried booting without the initrd line in menu.lst (above), which I thought should work since I have ext3 support into the kernel (
VFS: Cannot open root device "hda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)
You also need to have the IDE driver compiled in instead of a module.
-- Pete -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
