Results 1 to 7 of 7

Thread: [SOLVED] Persistence not working on Live USB

  1. #1
    Join Date
    Feb 2013
    Beans
    59

    [SOLVED] Persistence not working on Live USB

    This is really frustrating. I've been trying to make a persistent USB of either Ubuntu or Lubuntu. I've tried Unetbootin on both Lubuntu and Win 8, as well as Live USB Creator on Win 8. It keeps appearing to burn the USB properly, but when I try to boot it just turns out to be a regular live USB. I've also tried three different USB drives to rule out any problem there. Does anyone have any suggestions? I've already wasted a lot of time on this, but I'm determined to get this to work.

    Thanks for any help.
    Last edited by JLeon85; March 10th, 2013 at 08:46 PM. Reason: Solved

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Persistence not working on Live USB

    Why do you think the persistence does not work?
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Feb 2013
    Beans
    59

    Re: Persistence not working on Live USB

    Quote Originally Posted by dcstar View Post
    Why do you think the persistence does not work?
    That's my question.

  4. #4
    Join Date
    Jan 2013
    Beans
    525

    Re: Persistence not working on Live USB

    Here's an easy test to see is persistance is working. Boot using the live USB and connect to the internet. Then download a small file, like .jpg or something and put it in the home folder. Then reboot. If the file is still ther after reboot, persistance is fine. But of course if it isn't, there is an issue.

  5. #5
    Join Date
    May 2012
    Location
    UK
    Beans
    617

    Re: Persistence not working on Live USB

    did you remember to choose the persistent space?
    Attached Images Attached Images

  6. #6
    Join Date
    Jun 2007
    Location
    Lynne Valley, BC
    Beans
    2,863
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Persistence not working on Live USB

    Plug the flash drive into a running PC,
    Do you see a file named casper-rw?
    If not, persistence is not set up properly.

    Following is how to manually make a Persistent install to flash drive:

    Boot Live CD or Live USB.
    Plug in flash drive.
    Start gparted.

    Create 2 GB FAT32 partition, (on the left side of the bar). (size is optional, extra space can be used for file storage and transfer to Windows machines).

    Create a 4 GB ext2 partition to the right of this, labeled it "casper-rw". (ext3 and ext4 also work).

    Create a partition in the remaining space and label it "home-rw". (optional, creates a separate home partition).

    Close gparted.
    Un-mount and re-mount flash drive.
    Start "Create a live usb startup disk", (usb-creator).
    Select "Discard on shutdown".
    Press "Make Startup Disk.
    When usb-creator finishes, Go to the root folder of your Live USB
    Enter the syslinux directory, (or for UNetbootin the root directory).
    Make the syslinux.cfg file writeable
    Replace the contents of the file syslinux.cfg with:

    Code:
        default persistent
        label persistent
          say Booting a persistent Ubuntu session...
          kernel /casper/vmlinuz
          append  file=/cdrom/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.lz quiet splash noprompt --
    Shutdown, remove CD, reboot.


    First time booting go to users and groups and create an account with yourself up as an Administrator, with password if desired.

    Note:
    The above code will bypass the Try/Install and Language screens.

  7. #7
    Join Date
    Feb 2013
    Beans
    59

    Re: Persistence not working on Live USB

    Wow, thanks, those were amazing instructions, and I finally got it to work! Also, thanks for that extra advice to get rid of the language and install pop-up, that is a really nice touch.

    I think I may have discovered what the problem was, but it is really strange. When I first started following your instructions, I got an error message saying it couldn't move syslinux from the drive. After a little investigating, I found that files from the hidden trash folder on the drive were automatically getting restored during the installation process and those were blocking the new installation. These are files from a previous installation of Puppy, so I'm not sure if it's a problem exclusive to that. I'm also not sure how this could have affected three USB drives, two of which never had Puppy on them. Anyway, I had to log in as root to permanently delete them, and then everything else went perfectly.


    Thanks again!
    Last edited by JLeon85; March 10th, 2013 at 08:47 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •