How to create custom Live CD with upgraded linux-image kernel?

Posted by ??? on Super User See other posts from Super User or by ???
Published on 2010-12-23T06:52:04Z Indexed on 2010/12/23 8:55 UTC
Read the original article Hit count: 425

Filed under:
|

I'm following this tutorial to customize a Live CD,

http://www.debuntu.org/how-to-customize-your-ubuntu-live-cd

However, it's failed to upgrade linux-image, I guess it's just can't update-grub.

Any idea?

EDIT

I copied the custom/ directory into an ext4 image, now the linux-image-2.6.35-24 package is successfully upgrade. But as shown in the original CDROM, the vmlinuz-* and initrd.img-* file is moved out to /casper/vmlinuz and casper/initrd.lz. Well, I can move vmlinuz-2.6.34-24-generic to /casper/vmlinuz, but how to compress file initrd.img-2.6.35-24-generic in .lz format?

(It looks like lzip, but it's not: )

# cd original-maverick/casper
# lzip -d initrd.lz 
initrd.lz: bad magic number (file not in lzip format).

© Super User or respective owner

Related posts about ubuntu

Related posts about livecd