LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 06-17-2004, 11:45 AM   #1
gfischer
LQ Newbie
 
Registered: Aug 2003
Location: India
Distribution: RedHat 9.0
Posts: 7

Rep: Reputation: 0
Booting RH 9 Linux from a FlashDrive


Hi,

Several weeks ago I put up a post looking for advice on how to boot RH Linux 9 from a flashdrive. The reason was that I could neither get LILO nor GRUB to work as bootloaders in a system that already had WIN 98SE and Win XP installed and during several RH 9 installation attempts I kept getting the same warning that I will need a boot diskette. I do not really like using diskettes and I wanted a faster boot but I was quite disappointed with the responses I got; they were very few and there wasn't a single useful one!

However, after reading a description in the book "RH Linux 7 Unleashed" of how one can boot Linux from a DOS command line I figured out a simple way by myself. I reckoned that if you can do that, why not put DOS on the flashdrive and use loadlin.exe from there? I formatted my flashdrive with a Win98 utility that came with it as a USB-ZIP drive (for some strange reason I could not format it as USB-HDD, which I think it really is) and then copied vmlinuz from my RH 9 boot diskette to it. Loadlin.exe was in the /dosutils directory of my RH 9 installation CD and I copied that, too.

Next I wrote an autoexec.bat with just one line:

loadlin vmlinuz root=/dev/hdb3 ro

Substitute hdb3 with whatever your root partition is. I then set my BIOS to USB-ZIP as the 1st and HDD-0 as the 2nd boot device; but if your BIOS does not support these choices you're out of luck.

Now I simply stick the stick in when I want to boot Linux and of course it's much faster than with the diskette. And if I don't, I get my usual Win XP loader giving me a choice between XP Professional and 98SE, which loads from the MBR on C:\.

Since the solution is so simple I really wonder (being a newbie) why none of the "gurus" told me about it!

Regards
George
 
Old 06-17-2004, 05:23 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Because most people would just fix the problem and install the bootloader on the MBR as it is supposed to, instead of spending all their time trying to figure out how to waste a USB FlashDrive.
 
Old 06-18-2004, 12:32 AM   #3
gfischer
LQ Newbie
 
Registered: Aug 2003
Location: India
Distribution: RedHat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
I do not see the need for such an arrogant reply but MS3FGX’s message is unfortunately typical for some of you “experienced” guys. Some of you seem to have forgotten that once there was a time when you also started out with zero knowledge about Linux, so how come you are now making it a habit to ridicule newbies?

Incidentally, I already did try to fix the bootloader problem as Mr. Smartass has suggested and ended up having to re-install all 3 OS’s! Thereafter I also tried a 3rd party bootloader (OSL 2000) and even that could not pick up RH 9. So much for spending all my time trying to figure out how to “waste” a USB FlashDrive. The boot files take up only 1.5 MB and I still have over 126 MB for data storage, I think that’s hardly a waste.

In any case, after the previous disaster I’m now happy that my solution works without having to mess with the MBR again.

George
 
  


Reply



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
flashdrive on MDK 10.0 Trio3b Linux - Hardware 2 08-22-2005 03:18 AM
I need help mounting my flashdrive BajaNick Linux - Hardware 5 04-16-2005 01:59 PM
flashdrive misbehaving linmix Linux - Hardware 9 02-06-2005 04:32 AM
USB flashdrive problems endfx Linux - Hardware 11 01-01-2005 05:40 PM
USB FlashDrive -- Again kadalz Linux - Newbie 1 10-12-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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