Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting External USB from Floppy for Newbies
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NubsMcalichi
n00b
n00b


Joined: 03 Mar 2006
Posts: 9
Location: Richmond, VA USA

PostPosted: Fri Mar 03, 2006 7:46 pm    Post subject: Booting External USB from Floppy for Newbies Reply with quote

I have been trying to install Gentoo on an external USB drive and have realized that my BIOS doesn’t support USB booting. I decided to boot from a floppy to my USB drive using GRUB. I've been looking around the web for a few days now and have a pretty good idea about how to go about getting it running, but I do have a few questions. I know that I need to install Gentoo following the handbook directions, but how do I go about getting GRUB on the floppy? Do I need to install GRUB on the USB drive, copy the needed files to the floppy, then install GRUB to the floppy? Or should I use the grub floppy image and just configure grub.conf correctly?

I may just be completely confused and not making any sense now because I am fairly new to Linux, but any help you could provide will be most appreciated.
Back to top
View user's profile Send private message
01mf02
Veteran
Veteran


Joined: 21 Nov 2004
Posts: 1070
Location: Innsbruck, Austria

PostPosted: Sat Mar 04, 2006 11:57 am    Post subject: Reply with quote

At first, welcome to the forums!

I would at first install GRUB to the floppy, then install another GRUB on the USB drive. The GRUB on the floppy should call the one on the USB drive, which should start your Linux on the USB drive.

Get GRUB on a floppy
Back to top
View user's profile Send private message
NubsMcalichi
n00b
n00b


Joined: 03 Mar 2006
Posts: 9
Location: Richmond, VA USA

PostPosted: Sat Mar 04, 2006 5:49 pm    Post subject: Reply with quote

I'm still a bit confused on how to get grub to point to the sda drive. Would the grub.conf file below work? I realize that I will need to change the (hd0,0) to match the decive.map.
GRUB.CONF:
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2005.0 - Kernel 2.6.11
root (hd0,0)
kernel /kernel<version> root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc
initrd /initrd<version>


Thanks
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Mar 04, 2006 10:12 pm    Post subject: Reply with quote

NubsMcalichi wrote:
I'm still a bit confused on how to get grub to point to the sda drive.

If your BIOS doesn't support USB booting, then GRUB can't access /dev/sda because GRUB uses the BIOS to access the drive you are booting from.

One way around this is to put the kernel on the floppy too. This may be a challenge, because you need to configure a very lean kernel if you want it to actually fit on the floppy.
Back to top
View user's profile Send private message
NubsMcalichi
n00b
n00b


Joined: 03 Mar 2006
Posts: 9
Location: Richmond, VA USA

PostPosted: Sat Mar 04, 2006 11:58 pm    Post subject: Reply with quote

My BIOS actually does see my USB though, it just can't boot from it. The USB drive shows up in the device.map. Here is the print out from it:
[/b]
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sda
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum