LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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: 80

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
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 3,120

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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
Posts: 866

Rep: Reputation: 110Reputation: 110
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
Guru
 
Registered: Mar 2008
Posts: 11,711

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
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
Posts: 866

Rep: Reputation: 110Reputation: 110
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
Senior Member
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 13 , MacPup,Linux-Lite 2.0, SaliX
Posts: 2,701
Blog Entries: 18

Rep: Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868
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
Guru
 
Registered: Mar 2008
Posts: 11,711

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
"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
Posts: 866

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


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
[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


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

Main Menu
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