2 This directory is used to build a USB key containing a Kubuntu 8.04 LiveCD
3 with persistent OS files and persistent /home files.
5 Note, the sqfs.tar.gz is the whole squashfs unsquashed.
7 The kernel image (vmlinuz) is a copy of the most recent kernel i.e.
9 sqfs/boot/vmlinuz-2.6.24-22-generic
11 and initrd.gz is a copy of the most recent initrd.img i.e
13 sqfs/boot/initrd.img-2.6.24-22-generic
15 they are renamed and put in the kubuntu8 partition in:
23 Note, initrd.gz is made after fixing the bug in
24 /usr/share/initramfs-tools/scripts/casper
25 see note 2. in bugs with Kubuntu boot process below.
27 When updating the USB root partition (changing something), I
28 strongly recommend that you work with the disk image then
29 repack it (pack_disk_image) and then run load_disk_image.
33 apt-get install syslinux mbr
37 1. Booting with persistence added to the kernel options will permit
38 mounting of a USB casper-rw and home-rw partitions on the USB key.
39 casper-rw is used to store changed OS files, and home-rw is the
43 Bugs with Kubuntu boot process:
44 1. The initrd.gz image must be opened, fixed and the repacked.
45 2. The fix involves removing the ,mode=755 from the mount line for
46 the persistent OS partition (casper-rw) or /cow
47 3. I have removed /etc/rc0.d/S89casper and /etc/rc6.d/S89casper
48 because they are related to a CDROM boot and create false
49 errors when booting from a USB key.