Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to set up a live Ubuntu CD with a custom kernel. To set up the live CD I followed the instructions presented here: https://help.ubuntu.com/community/LiveCDCustomization

For creating my custom kernel, I downloaded the sources from the Ubuntu git repository and I compiled it with my added customization. I then generated the .deb packages and installed them in the chroot environment and copied vmlinuz and the initrd into the casper directory of the liveCD.

The problem that I am having is the live CD no longer boots. It gives me an initramfs shell from which I could not figure out where to go from.

Any help is much appreciated.

share|improve this question
Support for custom kernels is limited at best. The Ubuntu git repository is intended for testing only. At any rate, to debug your problem, what version of Ubuntu? What kernel ? Did you build the kernel modules and include them on the CD ? Does your custom kernel boot outside the live CD. –  bodhi.zazen Feb 17 at 17:19
I am targeting Ubuntu 13.04 and building the linux-3.8.0 kernel. I did build the kernel modules and installed them in chroot. I did not test whether the kernel boots or not I will give that a shot though. –  user249264 Feb 18 at 15:35

Your Answer


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

Browse other questions tagged or ask your own question.