Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about Grub and a boot floppy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
LOC
n00b
n00b


Joined: 24 Oct 2002
Posts: 3

PostPosted: Fri Oct 25, 2002 5:57 am    Post subject: Question about Grub and a boot floppy Reply with quote

I've read alot of posts from searching about putting grub on a boot floppy and I'm pretty sure I know how to do it now (hah) but one thing I haven't seen is this:
Once grub is installed on the floppy, do I still need to create a menu.lst file or not?
_________________
Coming soon....
Back to top
View user's profile Send private message
gillesg
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2002
Posts: 90

PostPosted: Fri Oct 25, 2002 6:31 am    Post subject: Re: Question about Grub and a boot floppy Reply with quote

LOC wrote:
Once grub is installed on the floppy, do I still need to create a menu.lst file or not?


Yes of course.
The menu.lst should be located on the disk that you declare root

Gilles
Back to top
View user's profile Send private message
zhware
Retired Dev
Retired Dev


Joined: 19 Jun 2002
Posts: 23

PostPosted: Fri Oct 25, 2002 3:03 pm    Post subject: Re: Question about Grub and a boot floppy Reply with quote

LOC wrote:

Once grub is installed on the floppy, do I still need to create a menu.lst file or not?

see this: http://www.gentoo.org/~zhware/grub.txt
Back to top
View user's profile Send private message
LOC
n00b
n00b


Joined: 24 Oct 2002
Posts: 3

PostPosted: Fri Oct 25, 2002 3:19 pm    Post subject: Reply with quote

Alright, so anotherwords I would do:

fdformat /dev/fd0

mke2fs /dev/fd0

mount /dev/fd0 /mnt/floppy

mkdir /mnt/floppy/boot
mkdir /mnt/floppy/boot/grub

cp /usr/share/grub/i386-pc/stage1 /mnt/floppy/boot/grub
cp /usr/share/grub/i386-pc/stage2 /mnt/floppy/boot/grub

Then I would do:

grub>

root (fd0)

setup (fd0)

Now that would set up grub on the floppy, and then I would do:

nano -w /mnt/floppy/boot/grub/menu.lst

And:

default 0
timeout 30
splashimage=(hd1,0) /mnt/floppy/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd1,0)
kernel /boot/bzimage root=/dev/hdb3 hdc=ide-scsi

title=Windows XP
root (hd0,0)
chainloader +1


Would this set it up properly or am I missing something?
And would setting makeactive do anything for me, or being that it's booting from a floppy shouldn't make a differenve with that right?

zhware: That link you posted is just garbled text for me, I'm in Windows so I don't know if that makes a difference or not.
_________________
Coming soon....
Back to top
View user's profile Send private message
LOC
n00b
n00b


Joined: 24 Oct 2002
Posts: 3

PostPosted: Mon Oct 28, 2002 8:38 pm    Post subject: Reply with quote

Alright, I actually got through the install OK believe it or not lol, but I think I screwed up with grub now. I put it on the floppy, but when I created the menu.lst file, I didn't put it on the floppy (duh) and now when I boot to the floppy, I just get a grub> prompt. Is there anyway to fix this, or do I have to restart from scratch again?
_________________
Coming soon....
Back to top
View user's profile Send private message
wmaster
n00b
n00b


Joined: 04 Nov 2002
Posts: 3
Location: South Korea

PostPosted: Tue Nov 05, 2002 2:32 pm    Post subject: A couple of bits... Reply with quote

Thanks for "asking" your question. By answering your own question a couple of posts ago, you resolved an issue that I had created for myself. Here are a few tips that should help you get around your current problem.
You can get in to your current Gentoo installation by just typing in the relevant commands that were contained in your menu.lst file. At your GRUB prompt, type the following commands;

root=(hd1,0)
kernel /boot/bzimage root=/dev/hdb3 hdc=idescsi
boot

And hopefully you'll be cooking with fire. Once you've booted into Gentoo, you'll be able to copy your menu.lst to the floppy.

Good luck!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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