Booting from USB Drive - How to retain WiFi password
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you are running a live USB version without persistence then nothing is saved upon shutdown.
I've never tried this but to add persistence you would need to create a second partition using ext2 as the file system type and set the Label to casper-rw.
You can also install Mint to the USB drive as a regular installation instead of a live version.
A live version even though it was installed on a USB drive runs from memory. Some live versions have the capability of saving settings and installed programs to a file or partition and that is called persistence.
Space used to preserve files across reboots is shown when you open unetbootin. See the second image at the unetbootin home page below. Since Mint is derived from Ubuntu, this works for Mint. This just creates a file up to a maximum of 4GB. If you want more, you need to create a casper-rw partition with a Linux filesystem.
Unetbootin is a good newbie way to start learning. While the persistence file (casper) is a good way to make it appear that you are saving data there is a slight downside to this. The original data is in a compressed file. Things that may need to be updated can't be properly updated. These compressed files have an advantage in speed.
Your next step may be to create a usb drive that has linux installed just as if it were a real hard drive. It would act and function like a normal hard drive on many modern systems. You should buy a very fast usb flash drive for a normal install.
I'd look in to puppy Linux and all of the little puppies that came out of it. their is many to pick from, 32bit to 64bit that where created just for this type of usage.
Unetbootin is a good newbie way to start learning. While the persistence file (casper) is a good way to make it appear that you are saving data there is a slight downside to this. The original data is in a compressed file. Things that may need to be updated can't be properly updated. These compressed files have an advantage in speed.
Your next step may be to create a usb drive that has linux installed just as if it were a real hard drive. It would act and function like a normal hard drive on many modern systems. You should buy a very fast usb flash drive for a normal install.
Thanks for that advice. In my ignorance I thought using Unetbootin would install Linux Mint onto the USB drive and it would act as you describe. Quite a learning curve for this old-timer.
I'd look in to puppy Linux and all of the little puppies that came out of it. their is many to pick from, 32bit to 64bit that where created just for this type of usage.
What would be the advantage as I am quite happy with Linux Mint at present.
What would be the advantage as I am quite happy with Linux Mint at present.
not one lousy bit forget I suggest it...
viva la MINT
figure out a work around if you cannot get persistent to work. a file with your password on it that you can get to so all you have to do is copy paste it instead of having to write out out every time perhaps.
What would be the advantage as I am quite happy with Linux Mint at present.
Not necessarily an advantage (that's up to you to decide), but here's what makes Puppy different:
Puppy runs entirely out of RAM. In fact, once booted, you can remove the USB stick altogether and run with NO disks attached! This makes it run much faster than other distros as well. When you shutdown/reboot, Puppy gives you the option to save an image of RAM, including any changes you made (like storing the WiFi password). Next time you boot, it picks up where you left off. You can choose not to save as well, in which case all your changes go away. You can decide whether to save/not save for every session. Puppy can also be installed in the conventional way to a hard disk like all other distros, but its uniqueness is in the run-from-RAM functionality.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.