LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-14-2013, 12:46 PM   #1
villmatic
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Rep: Reputation: Disabled
Problem with persistence with Ubuntu from USB.


So this has been troubling me for a few days. I want to use Ubuntu from a live USB with persistence but I can ever get anything to actually persist when I boot up again. I have tried a combination of things. I have tried Ubuntu 12.04 and 12.10. I tried with Unetbootin and Universal USB Installer each time setting the persistence around 2GB. I wanted to use it for my Windows 8 laptop so I was using the 64bit version as Ubuntu suggested. I am able to boot from the USB and use Ubuntu fine. But when I reboot everything is gone. I tried setting up administrator account hoping everything would save to that. But I reboot it doesn't even recognize my account name or password. I then tried this on another laptop with Windows 7 and persistence still does not work. I do not know what I am doing wrong. Any idea of what could be the problem would be greatly appreciated. Thanks!
 
Old 04-14-2013, 02:17 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
have you tried installing ubuntu on usb stick, I mean running installer from another usb/cd and select usb key as it would be hard drive?
 
Old 04-14-2013, 02:30 PM   #3
villmatic
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. And no I actually have not tried that yet. I heard that makes Ubuntu run very slow. I was going to try this as a last resort because I really just wanted it to be a live USB and I also do not have another USB on me. When I get to the store I will buy another USB and try it.
 
Old 04-14-2013, 02:30 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,973

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Is the cd or dvd still in the computer?

In most cases an application works quite well to create a pendrive sort of install. The option to add in a persistent file is also useful.

It seems that your install was somehow wrong. I can't guess as to what the issue could be. Things like bad startup config that doesn't properly include casper file (virtual file added to live cd files to make it persistent). Another idea may be that you didn't have enough room on flash drive. If you tell us the size we might guess. Maybe bad format. Could be a black market drive and it really doesn't have the amount of flash as sold. Could be odd filesystem.

See www.pendrivelinux.com for some good examples and maybe some other tools.

Did you start out the installer with Ubuntu's usb creator?
 
Old 04-14-2013, 02:41 PM   #5
villmatic
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I didn't have a cd or dvd. My flash drive is a PNY 8GB and I used 4GB for the persistence. I thought too maybe it is juts not a good flash drive.
 
Old 04-15-2013, 10:31 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
You should certainly be able to create a persistent live usb with Ubuntu. Unetbootin states on the window the persistence is for Ubuntu only although it does work with other systems. What filesystem type is on the flash? FAT32? You might check the ubuntu site to see if there are limits other than the 4GB for FAT. I used the Fedora liveusb-creator and their site says the maximum is 2047MB, not sure if Ubuntu has similar restrictions but I would try first making 2GB or less persistent if you haven't tried that already. If you want a larger file, you would have to use a Linux filesystem, ext2 or 3.

When you mount the flash in another Linux OS, do you see the casper-rw file? Check to see the size. Is it the size you set? Does the syslinux.cfg file on the flash show 'persistent' on the append line?
 
Old 04-15-2013, 10:44 PM   #7
villmatic
LQ Newbie
 
Registered: Apr 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Yes I had FAT32 on the flash drive. I was setting the persistence to 2GB originally but I will try it again with maybe 1GB and see if that works. The casper-rw does say the same size and there is the word persistent on the syslinux.cfg. Very mind boggling. I will report back if the smaller persistence works.
 
Old 04-16-2013, 11:43 AM   #8
joe_2000
Senior Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,016

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Quote:
Originally Posted by yooy View Post
have you tried installing ubuntu on usb stick, I mean running installer from another usb/cd and select usb key as it would be hard drive?
Tried that with Linux Mint recently and it was veeery slow.

villmatic, if you are not fixed on using Ubuntu you may want to give Puppy Linux a try. I installed this on a pendrive, the persistence works like a charm and it's very snappy. I cannot tell any difference in performance to a normal hard drive install.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to boot from USB with persistence | Having Issues s2005 Linux - Newbie 7 03-25-2013 08:40 PM
Live usb help; Persistence abcde597 Ubuntu 4 10-23-2012 07:27 PM
persistence in debian live usb ciden Linux - Desktop 0 09-09-2007 12:18 PM
Persistence problem on USB key LAF Ubuntu 3 04-27-2007 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration