Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.