LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 05-31-2007, 02:44 AM   #1
subigo
LQ Newbie
 
Registered: Jun 2003
Distribution: simplyMEPIS 6.5
Posts: 11

Rep: Reputation: 0
Installing Linux on a USB Flash drive. Question


Okay, this might be a stupid question, but I can't find the answer anywhere.

I have a 4GB usb flash drive and I am planning on following one of the 10 or so tutorials I have bookmarked to install linux on it. The problem is, none of these tutorials tell me what I am getting.

Since a flash drive can be saved to, am I getting a full blown OS that I can save files to, install software on, and make changes in general that will be saved and working the next time I boot?

Or.

Am I getting the same thing that a LiveCD gives me? Will any changes I make be lost after I reboot?
 
Old 05-31-2007, 02:48 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Full OS which is changeable et al.... as if you had installed to a usb hard drive.
 
Old 05-31-2007, 03:09 AM   #3
subigo
LQ Newbie
 
Registered: Jun 2003
Distribution: simplyMEPIS 6.5
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the fast reply

Thanks good news, kind of what I figured, but wanted to be sure.
 
Old 05-31-2007, 09:02 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,158

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
How it works depends on the distribution. There are many designed just for flash drives that work similar to a live CD. The OS runs from memory but configurations are automatically saved at shutdown and restored at boot up. This prevents the flash drive from wearing out due to excessive write/erase cycles i.e having a swap partition on the drive. The OS will run faster since USB throughput is slower compared to an internal hard drive. USB Slax is one example. They are are also stripped down to fit the limited space.

You did not post any links or your choice of distribution so we can not tell what you are getting either. Any "regular" could probably be stripped down to fit but the main precaution would not to use a physical swap partition.
 
Old 05-31-2007, 11:46 AM   #5
subigo
LQ Newbie
 
Registered: Jun 2003
Distribution: simplyMEPIS 6.5
Posts: 11

Original Poster
Rep: Reputation: 0
Ahh... I see. I do remember hearing that flash drives have a limited number of write/erases. I was hoping to put MEPIS 6.5 on the drive, since that's what I am used to. It works with my nvidia card, ethernet card, everything, without any extra work.

Question... Mandriva sells 4GB flash drives with Mandriva installed for like $130. They say you run the entire thing off of the flash drive, like what I was asking. Does this mean that one day those drives are just going to stop working?

Here's the main tutorial I was going to follow: http://www.althack.com/2006/03/10/ho...on-a-usb-drive

People replaced DSL with other distros and it seemed to work. Is there a way to run the swap partition from RAM and everything else from the drive?
 
Old 05-31-2007, 11:50 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Every drive stops working one day..... flash or disk.

I don't know the figures (i'm sure a google will tell you) but it isn't likely to run out that soon.

You could always keep it backed up/imaged and when one drive expires, put it on a new one, you can get 2GB ones in the UK for about 12 i think i saw.

I don't quite understand your question about swap in RAM. Swap effectively handles the overflow from memory, so using the memory as swap is pretty futile.

Last edited by ethics; 05-31-2007 at 11:52 AM.
 
Old 05-31-2007, 11:57 AM   #7
subigo
LQ Newbie
 
Registered: Jun 2003
Distribution: simplyMEPIS 6.5
Posts: 11

Original Poster
Rep: Reputation: 0
I guess what I should have said is.... Is there a way to have things like log files write to ram instead of the flash drive? Only write to the drive when I need a setting changed, etc? I just read that they have about one million writes in them. That doesn't sound like a lot.
 
  


Reply


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
USB flash memory drive question luksch Linux - Newbie 2 01-22-2005 12:58 PM
Installing DSL in a USB Flash Drive GCR DamnSmallLinux 6 11-11-2004 11:40 AM
Installing Linux on a USB Flash Drive spaaarky21 Linux - Distributions 3 11-02-2004 03:17 PM
Installing Linux from a usb flash drive? jck Linux - General 0 08-03-2003 05:35 PM
Installing Linux on a USB flash drive!? delphinus Linux - General 4 03-15-2003 07:32 PM


All times are GMT -5. The time now is 11:41 PM.

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