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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running Linux Mint live distro off a USB drive. How do I save files to the USB drive for later use? (PS, I didn't allocate any space for "persistence" when creating the bootable USB from ISO. If I recreate the USB with "persistence", will Mint load newly installed programs the next time it boots?)
I don't have much experience with casper, but if you have enough room left over on the drive, try creating a file called casper-rw (I think it's called) in the root directory of the USB drive. Add "persistent" to the kernel boot command line.
1. Recreate the drive, saving room for persistence (probably your easiest).
2. Create an additional partition on the drive, and save files to that partition before you exit.
3. Create an additional partition and bind mount it to your home directory. This would have to be done every time you boot, and can be a PITA.
Casper makes me appreciate Debian's persistence. Create a partition, label it persistence, add a .conf and done. It also provides more control.
Creating the bootable flash with unetbootin or pendrivelinux and adding persistence would probably be easiest.
You could also create an additional partition on the flash for persistence. From a GParted CD or a Linux system which contains GParted, open gparted and resize the first partition to just over the iso file size, create a second ext2 partition with the rest of the flash and make sure the Label is casper-rw. Click the partition to highlight it in the main GParted window, click on the Partition tab and then click Label and enter casper-rw.
How did you do it? With unetbootin, it should have been done automatically, but make sure that "persistent" is included on the kernel command line at boot (highlight the selection, press Tab, add it if necessary).
Yeah... I don't remember which bootloader unetbootin uses, I think it's syslinux (?).
Look at the files in /boot/syslinux on the USB drive. The files you're interested in end in .cfg, check syslinux.cfg then look for something like live.cfg. You're looking for a section that starts with the menu entry you select to boot the live system; so if you choose "Linux Mint", look for a line similar to "label Linux Mint", etc.. Now, find the first line following that starts with "append" and at the end of that line, add "persistent" to the end. Save, and boot.
A more detailed explanation of what I suggested in my last post is at the link below. It is at the Ubuntu site but applies equally to Mint. You need to post a little more detail on how you are trying to accomplish this. I've used this on a number of different Ubuntu derivatives including Mint and it works.