GRUB How to, Step no.3 does not work

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
jason7007

GRUB How to, Step no.3 does not work

Post 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.
QuiTeVexat

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

Post by QuiTeVexat »

Unless I'm missing something, step 4 should answer your question.
grasper

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

Post by grasper »

Try download a GRUB image from Bonafide
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

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

Post by Solar »

QuiTeVexat had the right answer. The installation process doesn't create the config file, it just tells GRUB where to expect it.
Every good solution is obvious once you've found it.
jason7007

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

Post 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.
jason7007

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

Post 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.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

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

Post by Solar »

Check out the ready-made floppy images linked here.
Every good solution is obvious once you've found it.
Post Reply