Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

I have prepared the rootfs in a new created ext4 partition, after remove/install necessary packages, and linux-image is upgraded to linux-image-2.6.35-24,

# mv custom/boot/vmlinuz-2.6.35-24-generic tmpcd/casper/vmlinuz
# mv custom/boot/initrd.img-2.6.35-24-generic tmpcd/casper/initrd
# lzma tmpcd/casper/initrd
# mv tmpcd/casper/initrd.lzma tmpcd/casper/initrd.lz

And, after created the ISO image and run in VirtualBox, I got the following error:

[    7.314180] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[    7.318550] Pid: 1, comm: swapper Not tained 2.6.35-24-generic #42-Ubuntu
[    7.318857] Call Trace:

So, it looks like the upgraded vmlinuz image is successful located, but it's just not work.

I have searched google, but didn't find any resolution. any idea?


I have a mistake, the file initrd.img-2.6.35-24-generic is already gzip-ped, so it should be decompressed before recompress with lzma:

# gunzip -c custom/boot/initrd.img-2.6.35-24-generic | lzma > tmpcd/casper/initrd.lz

But it still failed to boot. I guess the initrd should be manually configured, because the system goes well with the original version of vmlinuz and initrd.lz.

share|improve this question
up vote 1 down vote accepted

Might want to look at Remastersys...Allows you to create a custom Live CD based on your Ubuntu or Debian Linux installation.

If you don't have Ubuntu/Debian installed, then get VirtualBox and install as a virtual machine...

Tutorials here (2nd one was better):

Downloadable here:

share|improve this answer

I use turnkey linux tools for this...pretty handy and ubuntu based - looking for the link where they had a tutorial on making respins.


giving studiohack a +1 for remastersys I just like turnkey tools better - opinion

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.