LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-21-2006, 11:50 AM   #1
Vegetarian Smoker
LQ Newbie
 
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Rep: Reputation: 15
I'd Like To Install Debian on a USB Flash Stick


I'd like to install Debian 3.1 (sarge) or 4.0 (etch) on to a USB flash stick. The idea is that I'd set up a bootable system that could be used in nearly any computer. I would be willing to accept certain constraints, such as SVGA+ graphics and 128MB+ RAM, or constraints that most computers currently in use fulfill. I'd also be willing to use a boot floppy to load from USB if the computer isn't new enough. The idea is like the good old DOS floppy with utilities, only it's Linux and on USB.

One constraint that I cannot negotiate is the ability to run without swap, as that's bad for flash.

I've never done this before, so I'm kind of in the dark. I've seen instructions for other distributions, but I like Debian the best and it's what I have the most experience with, so if at all possible (surely it must be), I'd like to use Debian. I don't care if it's a little complicated. I suppose some place on the Internet might sell it, but that's no fun. Unless it's necessary hardware, I don't want to buy anything.

Is it possible to use the net-inst install method, but install to the USB flash instead of one of the hard disks?

Right now I'm going to try using VMWare and the net-inst method as I described in the last paragraph, but I have a feeling that's not going to work.


Ben
 
Old 12-21-2006, 12:06 PM   #2
Vegetarian Smoker
LQ Newbie
 
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Original Poster
Rep: Reputation: 15
Update

OK, I tried the net-inst/USB Flash instead of HD method. It didn't work, I got a message that says: "Failed to Create a file system."

I don't want to give up yet though.


Ben
 
Old 12-22-2006, 08:10 PM   #3
amocjr
Member
 
Registered: Aug 2003
Location: Connecticut
Distribution: Mandrake, Debian
Posts: 39

Rep: Reputation: 15
I haven't tried it, but the article at the following URL seems like it's right on point for you.

http://www.debian-administration.org/articles/179

Good luck. Please post the solution if this article doesn't do it and you figure it out.
 
Old 12-23-2006, 09:56 AM   #4
Vegetarian Smoker
LQ Newbie
 
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Original Poster
Rep: Reputation: 15
USB Booting from Floppy?

Thanks for the article link. I'll try it (thank god for VMWare!).

Another question:

Is there a place where I can download some files to make a boot floppy that will, in turn, boot from USB storage? This is of interest because sometimes, for whatever reason, you can't boot directly from USB.

This sadly includes VMWare VM machines. The VM seems like an ideal place to test the device, but it doesn't natively support USB booting. Also, while possible, it'll be difficult for me to do that on my primary PC. It's a long story, but it's a pain in the butt.

I tried searching for such files but I haven't found what I'm looking for.


Ben
 
Old 12-23-2006, 10:58 AM   #5
Vegetarian Smoker
LQ Newbie
 
Registered: Dec 2005
Location: St. Louis Area
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23

Original Poster
Rep: Reputation: 15
I discovered that if I boot from the "net-install" Debian CD I can type something like linux root=/dev/<device name>. It's a step in the right direction, though I don't think the net-install loads USB drivers as that wasn't the intended purpose. Plus I doubt it'd work for non-Linux OSes. I have other goals, such as Windows on USB. Unless there's a way to load the USB storage drivers before the "Linux root" thing?

Ben


Quote:
Originally Posted by Vegetarian Smoker
Thanks for the article link. I'll try it (thank god for VMWare!).

Another question:

Is there a place where I can download some files to make a boot floppy that will, in turn, boot from USB storage? This is of interest because sometimes, for whatever reason, you can't boot directly from USB.

This sadly includes VMWare VM machines. The VM seems like an ideal place to test the device, but it doesn't natively support USB booting. Also, while possible, it'll be difficult for me to do that on my primary PC. It's a long story, but it's a pain in the butt.

I tried searching for such files but I haven't found what I'm looking for.


Ben
 
  


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 stick HeyAZ Fedora 2 08-21-2006 10:34 PM
usb memory stick in debian jimjamjahaa Debian 8 01-24-2006 03:16 PM
Help - USB flash memory stick and hard drive munkus.agb Suse/Novell 3 12-15-2004 06:51 AM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 03:49 PM
USB flash pen/stick/card cannot access mudelf Linux - Hardware 5 09-26-2003 06:58 AM


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