Author Topic: Enabling Live USB Persistence with wattOS R8  (Read 3776 times)

cuscotravelservices

  • Sr. Member
  • ****
  • Posts: 104
    • View Profile
    • Cusco Travel Services
Enabling Live USB Persistence with wattOS R8
« on: August 13, 2014, 02:20:52 AM »
Hi All,

Please add comments if you think the accuracy or clarity of these instructions need improvement.

My instructions are the result of reading the Debian Live Manual and the following page.

http://www.vleeuwen.net/2014/01/create-a-persistent-debian-live-usb-flash-drive

If you want to use wattOS R8 with Persistence on a Live USB Flash drive, the following will allow you to do so.

I was using a 2GB Flash Drive and I used GParted to partition it into 2 equal size partitions.

The First Partition was configured as follows:
Code: [Select]
Partition Type: Primary
File System:    FAT32
Flags:          boot, lba

The Second Partition was configured as follows:
Code: [Select]
Partition Type: Primary
File System:    ext4
Flags:
Label:          persistence


I used UNetbootin to install the ISO file for wattOS R8 to the First partition. I left the Parameter "Space used to preserve files across reboots (Ubuntu only)" set to 0.

In the root folder of the First partition, UNetbootin creates a file called syslinux.cfg which I edited as follows.

Code: [Select]
label unetbootindefault
menu label Default - Persistence
kernel /ubnkern
append initrd=/ubninit boot=live persistence config quiet

label ubnentry0
menu label Live - Persistent
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live persistence config quiet

Now, the Second partition needs to be configured for Persistence.

Open a Terminal with root permissions.

Enter the following commands.

Code: [Select]
mkdir /mnt/persistence
    The above command creates a folder called persistence within the folder /mnt.

Code: [Select]
mount /dev/sdd2 /mnt/persistence
    The above command mounts the Second partition to /mnt/persistence which will represent the root Folder of the Second partition.

Code: [Select]
cd /mnt/persistence
    The above command makes /mnt/persistence the active Folder.
   
Code: [Select]
echo / union > persistence.conf
    The above command creates the file persistence.conf, in the root Folder of the Second partiton, with the text "/ union" which allows Full Persistence to be achieved.

You can now use the USB Flash drive to activate wattOS R8 in Live mode with Persistence.

Hasta luego and good luck, Michael.
« Last Edit: August 13, 2014, 02:23:22 AM by cuscotravelservices »

300mhz

  • Guest
Re: Enabling Live USB Persistence with wattOS R8
« Reply #1 on: August 26, 2014, 07:05:31 PM »
nope.. not working for me... done it twice... hope this become an official feature....