DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23
Rep:
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.
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23
Original Poster
Rep:
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.
Distribution: Windoze Vista x64; Debian 4.0r0 server
Posts: 23
Original Poster
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.