Howto build a Live CD of Ubuntu 11.10?

Asked by IK on 2011-09-20


I am using Ubuntu 11.10 Beta1 and try to build a minimal Live ISO using live-build 3.0~a24~1ubunt13 and livecd-rootfs 2.36. Unfortunately, I encounter some problems. As a starting point I am using the auto/* scripts provided in livecd-rootfs and do the following:

# export PROJECT=base SUITE=oneiric ARCH=i386 BINARYFORMAT=iso
# lb config
# sudo lb build

This results in a problem as the initramfs is lza and not gzip. Ok, I fixed this by modifying the auto/config script to manually set the initramfs compression ( --initramfs-compression gzip). There's already a bug filed in the Debian live-build for this.

The next problem is with the bootloader configuration as the templates use vmlinuz and initrd.lz as filenames but filenames in binary/casper contain version numbers. Again, this is a known issue and I fixed this using a hook script.

Finally, I get an ISO and can boot the live system. However, there is still a problem since when I type in sudo ... I get another error message that sudo must be setuid root...

Honestly, this is really cumbersome. Can anyone tell me if these issues will be fixed in the final release of 11.10? Will it be possible to build at least a LiveCD without any problems. I am looking for a good tool to customize a Live CD but I don't know if its worth using this live-build mechanism at the moment. Any suggestions?


Question information

English Edit question
Ubuntu live-build Edit question
No assignee Edit question
Last query:
Last reply:

In elementary Project we ran into the same problem with building Ubuntu Oneiric. We've found a workaround (see, but still looking for a proper solution/fix.

Can you help with this problem?

Provide an answer of your own, or ask IK for more information if necessary.

To post a message you must log in.