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-driveIf 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:
Partition Type: Primary
File System: FAT32
Flags: boot, lba
The Second Partition was configured as follows:
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.
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.
mkdir /mnt/persistence
The above command creates a folder called persistence within the folder /mnt.
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. |
cd /mnt/persistence
The above command makes /mnt/persistence the active Folder.
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.