I have used Universal-USB-Installer ever since to install different Linux versions to USB flash drive. But now with Lubuntu 12.04 even though I do the same process by selecting persistence file, it gets created but is never used in Lubuntu. Every time I boot into Lubuntu on flash, it is fresh new Lubuntu without my changes I did last time I have booted it.
Anyone can help me or give me some hints ? Thanks in advance.
Previous answers only quote one of the two parameters needed by a live *Buntu to have a working persistence auto activated. Below was tested with Lubuntu/Ubuntu 14.04.1:
The
syslinux
menu (or grub.cfg ifGRUB2
is used) must have "persistent" (not "persistence") added as a kernel boot parameter as @Jason pointed it out:Example for syslinux:
append file=/preseed/lubuntu.seed boot=casper persistent initrd=/casper/initrd.lz ...
Example for grub2:
linux /casper/vmlinuz file=/preseed/ubuntu.seed boot=casper persistent quiet splash ...
And the Flash-device's partition that is reserved for persistent data must be labelled "casper-rw"
This is achived with a nice GUI tool such asgparted
, or in command-line, eg:mkfs.ext2 -L casper-rw -m 0 /dev/sd
No comments:
Post a Comment