Results 1 to 8 of 8

Thread: Can't permanently save things on Ubuntu running off a flash drive

  1. #1
    Join Date
    Dec 2012
    Beans
    3

    Can't permanently save things on Ubuntu running off a flash drive

    So I have an old, broken, Windows XP laptop, and I stuck my Ubuntu flash drive into it and it booted up perfectly when choosing "Boot from USB device" in the boot menu. But the problem is, when I turn off the computer completely, (not just sleep mode or hibernate) EVERYTHING resets! Like my desktop goes back to normal, all my installed programs go away, everything is just set back to default! Do you know why this is happening? As of now, I can't install Ubuntu on the old pre-installed Hard Drive (which still works fine, and I would like to)because I have all my old files still on it. What can I do to keep all of my data when I turn off my computer without installing Ubuntu on my Hard Drive? I don't have a problem using the free space on my old Hard Drive to store everything either, I just can't wipe it and install a whole new OS on it. Thanks.

    (If you are wondering what is wrong with my laptop (Windows side) is it blue screens every single time about 5 minutes after booting it up, unless I'm in safe mode, where I can't do any of the features I need to do).

  2. #2
    Rebelli0us is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Feb 2008
    Beans
    722

    Re: Can't permanently save things on Ubuntu running off a flash drive

    Follow this thread, you'll find the answer in there.

  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't permanently save things on Ubuntu running off a flash drive

    How big is flash drive? You may just need to turn persistence on to allow it to store some data. Or convert to a full install where you can save everything but needs 8GB flash drive.

    Pros & cons of persistent install over direct install to flashdrives - C.S.Cameron
    http://ubuntuforums.org/showthread.php?t=1655412

    https://help.ubuntu.com/community/LiveCD/Persistence
    https://wiki.ubuntu.com/LiveUsbPendrivePersistent
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Nov 2012
    Beans
    6

    Re: Can't permanently save things on Ubuntu running off a flash drive

    You will have to install Ubuntu to run along side Windows in order to save things. When you try to save things without installing, the system cannot access the hard drive to save them to.

  5. #5
    Join Date
    Dec 2012
    Beans
    3

    Re: Can't permanently save things on Ubuntu running off a flash drive

    Quote Originally Posted by oldfred View Post
    How big is flash drive? You may just need to turn persistence on to allow it to store some data. Or convert to a full install where you can save everything but needs 8GB flash drive.

    Pros & cons of persistent install over direct install to flashdrives - C.S.Cameron
    http://ubuntuforums.org/showthread.php?t=1655412

    https://help.ubuntu.com/community/LiveCD/Persistence
    https://wiki.ubuntu.com/LiveUsbPendrivePersistent
    It's just 1 gb. I didn't want to use my 16gb. Is there a way to set the paths of the Ubuntu Home folder to the Hard Drive somehow?

  6. #6
    Join Date
    Apr 2009
    Location
    Utah, USA
    Beans
    37
    Distro
    Kubuntu 12.10 Quantal Quetzal

    Re: Can't permanently save things on Ubuntu running off a flash drive

    Yes, but you'll need to manually mount the appropriate partition each time you boot. I would recommend checking out the links provided above to set up a persistent install.

    If you're just trying to make it by temporarily, and you're not aware of how to mount drives, check out the documentation for explanation and examples: https://help.ubuntu.com/community/Mount

  7. #7
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Can't permanently save things on Ubuntu running off a flash drive

    You can place a ext2, 3 or 4 partition on your hard drive named casper-rw and if you wish a separate home folder, an ext partition named home-rw.

    These will take president over casper-rw files or partitions on the USB drive.

    But what is the problem installing to the 16GB drive?

    If you do a persistent install with 4GB "extra space", you will still have 11GB space to use for file transfers etc.
    (When booting the pendrive you need to access filesystem/cdrom as root to see these files).

    Or you can do a full install to the drive leaving up to 11GB FAT32 or NTFS in the first partition that can be accessed by Windows or Linux.

  8. #8
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Can't permanently save things on Ubuntu running off a flash drive

    If you are still interested and following this thread let me know and I will write you a step by step for placing a persistent partition on your hard drive for use when booting a flash drive.

Tags for this Thread

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
  •