Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I booted computer from a USB stick using UNetBootin and Damn Small Linux. Now I want to include some files on the stick such that they'll be available to me once the computer is booted up in Linux. I tried copying them into a directory at the top level of the stick's directory structure, but can't figure out how to access them from within Damn Small Linux.

How do I copy files onto my bootable stick such that I can access them?

Note: I'm open to using other tools from creating the bootable USB, so long as they'll help me access my files which are also on the USB.

share|improve this question
    
Have you not just tried putting them in the 'Desktop' folder? –  ekaj May 25 '12 at 1:30
    
How do I put them in my Desktop? When I look at my USB stick, the only directories I see are boot/isolinux, KNOPPIX, and lost+found. None of these contain a "Desktop" directory for me to copy my files into. –  Asher Walther May 25 '12 at 1:50

1 Answer 1

up vote 4 down vote accepted

In order to store files on a bootable USB stick with an OS you need to setup persistent storage when you originally create it then each time you boot into the USB OS files and settings from the previous session should be saved. See these instructions on how to accomplish persistent storage on many different Linux distros.

You can also mount the hard drive (on most Linux distros) from the computer that you are using to run the USB OS and store them to a folder on the hard drive. So the next time you boot into the normal computer OS the files should be where you stored them and can grab them whenever you boot into the USB OS. However this option is not portable like the persistent storage option.

share|improve this answer
    
I'm not willing/able to use the hard drive from the computer as storage. Where can I find instructions telling me how to setup the persistent storage on the stick and get my files into persistent storage in the first place? –  Asher Walther May 25 '12 at 0:44
    
See edits above. –  Nick May 25 '12 at 0:46
    
That's close to what I'm looking for. I was hoping to find something that would let me initialize the persistent storage with a set of files at USB creation time. Now that I have a better idea what I'm searching for (thanks to your help) I'll try Google to see if I can find something like that. –  Asher Walther May 25 '12 at 0:52
    
If it helped please don't forget to check the answer as accepted. –  Nick May 25 '12 at 0:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.