LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-01-2013, 01:11 AM   #1
eufawif
Member
 
Registered: Oct 2013
Distribution: Ubuntu 14.04
Posts: 35

Rep: Reputation: 0
Installing Linux on a flash drive: Possible?


Can you buy a 128 gb flash drive, and install Linux directly to that instead of your hard drive? So every time you want to use Mint, Ubuntu, Debian, e.t.c, you could boot from the flash drive, and all your files and settings would be there?
 
Old 11-01-2013, 01:45 AM   #2
eufawif
Member
 
Registered: Oct 2013
Distribution: Ubuntu 14.04
Posts: 35

Original Poster
Rep: Reputation: 0
I've been having hard drive troubles recently, so this would be a good alternative.
 
Old 11-01-2013, 10:25 AM   #3
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 120

Rep: Reputation: Disabled
Yes it's possible, during installation just select your target drive as your usb flash drive. Let's say if it's /dev/sdb then select /dev/sdb during the installation, but make sure what drive letter is your target usb (/dev/sdb, or /dev/sdc etc). After you finish installation and on subsequent use that USB will be persistent ('files and settings would be there')

A simple google search has given me, for Linux Mint installation on USB:
http://forums.linuxmint.com/viewtopic.php?f=46&t=113309
 
Old 11-01-2013, 12:18 PM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Some distros are actually meant to be used in that way: Knoppix, Puppy, and Slax.
 
Old 11-01-2013, 01:05 PM   #5
metaf5
LQ Newbie
 
Registered: Aug 2011
Distribution: I'm kind of fond of Crunchbang...
Posts: 19

Rep: Reputation: Disabled
You can definitely do it, though there's still computers around that won't boot from usb either because they're pretty old, or sometimees UEFI can be a pain. If you have a computer with UEFI, there's ways to make it work but one of the easiest things you can do is go into the settings and switch it to "Legacy Mode" or "Bios Mode".
 
Old 11-01-2013, 03:57 PM   #6
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Yes, easy to do. Give it a try. All though with the price of USB Sticks these days, I would suggest getting a bigger stick.

http://www.pendrivelinux.com/univers...easy-as-1-2-3/
 
Old 11-01-2013, 04:31 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Almost every modern linux can do that.

I'd suggest you do a normal install just like you'd do to larger internal drives.

Your best bet is to remove internal hard drive to prevent any accident. Then boot to the dvd/cd of your choice and install it to the usb. In some computers you may have to first boot to bios to view usb as a hard drive choice. In almost all newish systems the usb will be a hard drive as opposed to what you'd think is a usb choice.

You don't need 128G. I have many many usb flash drives 16G and under. Just depends how much you need. If you want you can use an external hard drive instead of that expensive usb flash 128G.

Use a 4G flash and you might wish to look at pendrivelinux.com for how to do a live to usb sort of cheat. That pendrive install is good for speed as it has a compressed image to save space too.

I have a good gui distro on 128m (meg) flash.

There are some work arounds for older systems that can't boot to usb.

A system with hardware problems will still need to be fixed.

Last edited by jefro; 11-01-2013 at 04:36 PM.
 
Old 11-01-2013, 05:21 PM   #8
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Oh, I'm sorry, Yes 4GB stick is more than enough. I misread and thought it said 128MB.
 
Old 11-01-2013, 05:38 PM   #9
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
Originally Posted by jmc1987 View Post
Oh, I'm sorry, Yes 4GB stick is more than enough. I misread and thought it said 128MB.
I am the one with a 128MB flash drive install running on a Windows 7 Laptop.

http://forums.solydxk.com/viewtopic.php?f=26&t=1858

Last edited by rokytnji; 11-01-2013 at 05:39 PM.
 
Old 11-01-2013, 08:14 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
"thought it said 128MB." I sort of figured that. No problems.
 
Old 11-02-2013, 12:16 AM   #11
eufawif
Member
 
Registered: Oct 2013
Distribution: Ubuntu 14.04
Posts: 35

Original Poster
Rep: Reputation: 0
Thanks everyone! I'm getting annoyed of possibly damaging my hard drive, so i'll follow your guy's advice.
 
Old 11-02-2013, 12:46 AM   #12
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
Installing Linux doesn't damage your harddrive, is there a reason why you have this concern?
 
  


Reply



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
[SOLVED] Installing linux .iso without dvd disk drive from flash drive on laptop. How? LinuxPadawan1230 Linux - Laptop and Netbook 10 05-30-2012 01:14 PM
Installing Linux on a USB Flash drive. Question subigo Linux - Newbie 6 05-31-2007 10:57 AM
Installing Linux on a USB Flash Drive spaaarky21 Linux - Distributions 3 11-02-2004 02:17 PM
Installing Linux from a usb flash drive? jck Linux - General 0 08-03-2003 04:35 PM
Installing Linux on a USB flash drive!? delphinus Linux - General 4 03-15-2003 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 AM.

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
Open Source Consulting | Domain Registration