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
# 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
# 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