When building a custom LiveCD adding `export PERSISTENT="Yes"` in `/etc/casper.conf` works.
Bootable USB-sticks should be fixed by editing the `/boot/grub/grub.conf` that you will find on your USB-stick. Replace the following part
```
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
```
with
```
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash persistent --
initrd /casper/initrd.lz
}
```
(the new thing here is the `persistent` flag).
When building a custom LiveCD adding `export PERSISTENT="Yes"` in `/etc/casper.conf` works.
Bootable USB-sticks should be fixed by editing the `/boot/ grub/grub. conf` that you will find on your USB-stick. Replace the following part
``` preseed/ ubuntu. seed boot=casper quiet splash -- preseed/ ubuntu. seed boot=casper quiet splash persistent --
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/
initrd /casper/initrd.lz
}
```
with
```
menuentry "Try Ubuntu without installing" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/
initrd /casper/initrd.lz
}
```
(the new thing here is the `persistent` flag).