Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-24-2009, 12:29 PM   #1
LQ Newbie
Registered: May 2009
Posts: 27

Rep: Reputation: 16
Understanding what 'persistent' really means...

Firstly, I'm a complete newbie at this so I'm probably missing something blindly obvious only a muppet wouldn't know this - but I would really appreciate being nudged in the correct direction on this one.

Basically, I've created a minimal install of Debian onto a USB key and duly followed the instructions here -> . Now that works fine and I'm pretty happy with the results and negiotated the various problems ok. But with my minimal install I want install say fluxbox and some other odds and ends. I do this using 'sudo aptitude update' and 'sudo aptitude install fluxbox wdm xorg' and this works great. The problem is that when I turn the machine off these features / libraries / binaries are no longer on the machine although I'm explictly setting the 'persistent' flag in the Grub boot list thingie.

Do I have to download these libraries separately and place them onto the USB image (and if so, how and where) or I am missing something about the Grub Boot loader, how the 'persistent' flag is used, or something else?

Thank you in advance
Old 06-24-2009, 12:53 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
I haven't tried installing on a thumb drive before (maybe I will now), but it appears that this type of install has two types of persistent: persistent /home and persistent /.

If you only set it up with persistent /home, then any program installs you do will be lost. The only things that will keep are changes to configurations and files in the /home directory.

If you set up a persistent /, then the entire filesystem is mounted read-write and your changes to installed programs should also be saved.
Old 06-24-2009, 02:50 PM   #3
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
This should help.

The Debian Custom install you used, discusses different persistent modes as well as the use of the casper-rw file.. which is touched on a bit in the links I've posted as well..

Hope that helps.

Last edited by farslayer; 06-24-2009 at 02:54 PM.
Old 06-25-2009, 07:00 AM   #4
LQ Newbie
Registered: May 2009
Posts: 27

Original Poster
Rep: Reputation: 16
Firstly thanks to you both - it seems that the problem was that I wasn't setting the label 'live-rw' to the partition in order to make it persistable. Apparantly 'home-rw' can also be used to just make the /home dir persistable.

Things you learn huh?

Without wishing to threadjack - I'm pretty established Windows Developer (C# / VB.NET) and looking on using Linux as an alternative and more flexible platform - apart from the obvious move of going to Mono is that a particular wise idea and do any of you have any experiences or suggested learning routes either on Mono or say Python?



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
persistent something-or-other... catworld Linux - Networking 1 05-01-2007 10:27 AM
persistent static routes, not so persistent Hewson Linux - Networking 4 04-27-2007 06:09 PM
Need 4 a persistent link lucky6969b Programming 1 02-12-2006 10:04 PM
apt-get persistent t2701 Debian 8 07-25-2004 03:01 PM
Persistent Error hubergeek Linux - Software 2 03-27-2002 01:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 PM.

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