LinuxQuestions.org
Visit Jeremy's Blog.
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 09-18-2012, 10:47 PM   #1
chusuf
LQ Newbie
 
Registered: Sep 2012
Posts: 8

Rep: Reputation: Disabled
Can i install fedora to a flash drive?


I know i can put the .iso on to run a live image, but can i install everything to a large (32 gig) flash drive? So it saves all the files, configurations, etc and it won't just be the live image?

Anyone have a a guide to this?
 
Old 09-19-2012, 07:16 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I've done it many times. It works like installing to a hard drive. Just select the flash drive as the target of the installation.
 
Old 09-19-2012, 03:37 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
There are three common ways to install a modern linux to a usb.

One is using a hybrid iso and the command dd to copy the image to the drive. You don't want that in this case.

Second is the many how to's and tools at www.pendrivelinux.com. I don't think that is what you want either.

For you on a 32G, I'd suggest that you power down your system and remove the power to the hard drives. Install your usb and power up to bios. Be sure that usb shows up in bios as a hard drive choice and first in order or hard drives. Be sure that cd/dvd is selected as boot device over hard drive device. Then boot to Fedora and install it as normal to the usb. It will not be as if it were the only drive and should work normally when booted directly on any supported computer.


My way is to use a virtual machine. Create a blank vm without a hard drive. Boot to iso image and attach usb then install. You can't reboot on a vm yet easily to a usb to you have to use real system.
 
Old 09-19-2012, 04:27 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Jefro - why the extra work disconnecting the hard drive(s) for the flash drive install? It's just a normal install with a flash drive as the target instead of the hard drive. I do it all the time with the LXDE spin dd'd to a 1GB flash drive or a CD-RW as the installation source and a 4GB flash drive as the installation target.
 
Old 09-19-2012, 05:00 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
The reason is only to protect the users data from an accidental mistake. I suggest that to newbies to help protect them from themselves. Once in a while I get too wild and bork an install but I either don't chance it or can fix my mistakes. That is why I use a VM. So far I haven't messed up a system that way. I used to blame bad installers and it was true at one time. Now I just play it safe. On systems I need, I still never trust it. I play with a production system once in a while and I can fix it anytime but the drive is on a cart so I always still remove it.


Yes, a trained person who knows their OS and installer and knows when to read the instructions can easily install to a usb and never create any issue.

Last edited by jefro; 09-19-2012 at 05:03 PM.
 
  


Reply

Tags
fedora, flash, install



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
Need help to install fedora 9 using USB flash drive ajujoseph Fedora - Installation 3 04-27-2012 03:27 AM
[SOLVED] Install fedora 16 to 8 gb flash drive (from windows 7). hewjr1000 Linux - General 7 02-29-2012 01:06 PM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 08:58 AM
Need help for usb flash drive using Fedora 2 matrim Fedora 13 03-20-2007 10:10 PM
Can I download Fedora to a flash drive to install via USB port maxscorp Fedora - Installation 1 01-19-2007 01:35 PM

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

All times are GMT -5. The time now is 07:18 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