Page 1 of 1

GRUB How to, Step no.3 does not work

Posted: Tue Jan 03, 2006 10:18 pm
by jason7007
Hi,

I am learning how to write GRUB into floppy, I went to this link
http://www.osdev.org/osfaq2/index.php/GRUB

On step no. 3 it has this statement:
install (fd0)/boot/stage1 (fd0) (fd0)/boot/stage2 (fd0)/boot/menu.cfg

But when I checked the boot disk, the file menu.cfg is not there.

What's wrong here?

Thanks in advance.

Re:GRUB How to, Step no.3 does not work

Posted: Tue Jan 03, 2006 10:21 pm
by QuiTeVexat
Unless I'm missing something, step 4 should answer your question.

Re:GRUB How to, Step no.3 does not work

Posted: Wed Jan 04, 2006 7:16 am
by grasper
Try download a GRUB image from Bonafide

Re:GRUB How to, Step no.3 does not work

Posted: Wed Jan 04, 2006 7:41 am
by Solar
QuiTeVexat had the right answer. The installation process doesn't create the config file, it just tells GRUB where to expect it.

Re:GRUB How to, Step no.3 does not work

Posted: Wed Jan 04, 2006 8:06 pm
by jason7007
Hi,

Ahhhh, the tutorial did not tell to create manually the menu.cfg.

Anyway I am done with this.

Thank you very much.

Re:GRUB How to, Step no.3 does not work

Posted: Wed Jan 04, 2006 9:08 pm
by jason7007
Hi,
I am successfull in running GRUB and my kernel from real floppy disk. But now I tried to run it in Bochs, it did not work.
I used WinImage to create an image from my floppy.

Can someone tell how to make an image for Bochs from a real floppy.
Inside my boot floppy disk I have this directory and files.
Dir : boot
Files inside boot:
stage1
stage2
menu.cfg
kernel.bin


Thank you.

Re:GRUB How to, Step no.3 does not work

Posted: Wed Jan 04, 2006 10:33 pm
by Solar
Check out the ready-made floppy images linked here.