0

I created a live USB for the lastest Ubuntu DVD image using UNetbootin. The image file is ubuntu-17.04-desktop-amd64.iso with MD5 iso18cc54af55d7ca931bbb8588e8d9c1bd.

Everything works fine, but the persistence feature doesn't seem to work. The system does not remember WLAN passwords or any other thing like Web browser history, bookmarks or keyboard settings. The casper-rw file in the USB root is not mounted (I checked in /proc/mounts and with df -a).

I then created a second partition on the USB drive, formatted it with ext4 and named it casper-rw (I left the casper-rw file on the first partition). This partition gets mounted at boot, but contains no data. The system does not save any data inside it as well, so besides mounting it it seems unused.

What else can I do to enable the persistence feature? How can I enable mounting of the casper-rw file? I don't like to have an extra partition on the USB stick, it's easier to resize/recreate a file than to move around partition boundaries if space runs out sometime in the future.

hochl
  • 143

1 Answers1

2

Persistent partitions are still not working with syslinux type installs with 17.04, including UNetbootin's .

Mkusb boots using grub2, it has worked for me using persistent partitions with 17.04. With a bit of work the casper-rw partition can be replaced by a casper-rw file.

Using gparted, change the casper-rw partition to FAT32 and leave the label blank. Copy a casper-rw file, (made using UNetbootin), to the partition. Max size for a FAT32 casper-rw file is 4GB.

If you wish you can make multiple persistent files with this method, put each casper-rw file in it's own uniquely named folder on the partition. Then the path to that folder is given in the menuentry in grub.

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125