Wink Saville’s Blog

November 10, 2007

Building kernel for hp zv5000

Filed under: linux — wink @ 8:12 am

Actually, building the kernel wasn’t hard. I cloned linus’ tree then used the existing configuration from /boot as the starting point. I then enabled keyspan support and oprofile, but it wouldn’t boot.

The problem was I needed to have an initrd image, after several tries it turns out with ubuntu there is a script, update-initramfs that does the trick. I ran

update-initramfs -c -v -k 2.6.24-rc2

This command built the image and put it in /boot, I then updated /boot/grub/menu.list to:

title Ubuntu 7.10, kernel vmlinuz
root (hd0,0)
kernel /boot/vmlinuz root=UUID=90ea4e0b-25cb-4fce-8b06-7f9b318ae304 ro single
initrd /boot/initrd.img-2.6.24-rc2

That did the trick.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress