Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 11336  / 2 Years ago, sun, march 13, 2022, 7:10:54

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.


More From » lubuntu

 Answers
5

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:




  1. The syslinux menu (or grub.cfg if GRUB2 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 ...


  2. 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 as gparted, or in command-line, eg:



    mkfs.ext2 -L casper-rw -m 0 /dev/sd<FLASH-DEVICE-PARTITION-FOR-PERSISTENT-DATA>


[#36576] Monday, March 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
smelrop

Total Points: 263
Total Questions: 122
Total Answers: 108

Location: Saudi Arabia
Member since Thu, Jan 28, 2021
3 Years ago
smelrop questions
Mon, Mar 13, 23, 07:22, 1 Year ago
Sun, Feb 5, 23, 13:02, 1 Year ago
Tue, Aug 31, 21, 00:50, 3 Years ago
Sat, Dec 18, 21, 15:18, 2 Years ago
;