Howto build a Live CD of Ubuntu 11.10?

Asked by IK

Hi...

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?

Thanks,
IK

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu live-build Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) said :
#2

In elementary Project we ran into the same problem with building Ubuntu Oneiric. We've found a workaround (see https://docs.google.com/document/d/1c350g2o7ytnM_sloSprJnkTuUrSocAD4QwUsXYj1GYk/edit), 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.