Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-17-2004, 04:23 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Rep:
|
Linux on a USB hard drive without USB-FDD BIOS option
I'm interested in buying a USB hard drive for my laptop so that I can run Linux on a separate drive--I have heard that dual boot on the same drive is problematic and furthermore I would have problems freeing up the space.
My BIOS has an option to boot to a USB-FDD, but not USB-HDD, so my questions are the following:
1) Does anybody know if there is a USB hard drive (_not_ a thumb drive) that can be booted using the USB-FDD BIOS option?
2) Otherwise, can I use a boot disk to load whatever pieces of Linux are necessary for USB into memory and just continue from there with the USB drive? If so, how do I set this up?
3) If #2 is possible, am I restricted to a distro like Knoppix?
Thanks a lot for your help.
|
|
|
04-17-2004, 08:44 AM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
You can boot from cd or floppy and then mount any supported hardware. The distro would not matter. Not sure about supported USB boot drives.
One drive is not a problem as far as I know. I have dual booted on a single harddrive many times.
|
|
|
04-17-2004, 12:33 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
Thanks, David
Is it enough just to be able to mount a drive? As I understand it, Linux is best run off a harddrive rather than a CD or floppy--won't I be stuck with a limited subset of my distribution, and won't it run slowly b/c I will be loading it off slow media and will lack swap space? I guess what I'm trying to ask it, is there any way that I can boot off a disk but have (most of) the operating system and swap partition located on a USB hard drive, or is there another way to achieve the same effect?
|
|
|
04-17-2004, 09:49 PM
|
#4
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
The /etc/fstab file tells the system what filesystems to mount at boot. You could also mount filesystems from the file that is run at boot from /etc/inittab. So the filesystem media can be anything that is supported hardware. The boot media should no longer be needed after everything is booted up and mounted USB is fairly slow itself.
|
|
|
04-18-2004, 08:45 PM
|
#5
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
Thanks again. Let me make sure that I have this completely straight: I can put any distribution I want on a USB hard drive and boot from a floppy disk but then mount the drive in time to load most of the operating system from it. The downside is that USB is slow.
Also, is there cd or disk image out there suited to this purpose--one that, in particular, loads the stuff I need for USB?
|
|
|
04-18-2004, 10:17 PM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
A floppy would work fine. In the bootloader you would have the drive partition as root...
root=/dev/???
Some distros have mkbootdisk, or check your distro for howto make a boot disk.
On the usb drive you would have the /boot folder which could be updated. Then your floppy would be updated by Lilo. At boot time the kernel is loaded and the floppy is no longer used until you boot again. In the bootloader config file you would have boot=/dev/fd0 to install the boot loader to the floppy when you run lilo. Lilo might be the best choice for a bootloader. In the bootloader config file you would have boot=/dev/fd0 to install the lilo to the floppy.
Or if you do an update of the kernel use mkbootdisk again, or the same method you used originally.
Last edited by DavidPhillips; 04-18-2004 at 10:24 PM.
|
|
|
05-27-2004, 12:49 PM
|
#7
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
I've been trying to get this working for a while, with no luck. The boot disk that I get after running mkboot won't even boot--all it does is display 01 01 01 01 over and over again on my screen. I tried modifying the boot disk that comes with Knoppix (the image is on the CD) by putting my own kernel on there (I'm using Debian so I hoped it would be compatible on some level) and modifying the linuxrc file to insmod the USB modules but it just hangs.
So how do I go about setting up this /boot folder, and in particular how do I make a disk that will insert the proper modules and then "hand off" control to the harddrive? Why isn't mkboot working?
|
|
|
All times are GMT -5. The time now is 12:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|