GRUB Floppy Image Problem

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
Puffy
Member
Member
Posts: 26
Joined: Mon May 26, 2008 7:00 am

GRUB Floppy Image Problem

Post by Puffy »

Hello,

I've asked a few times around these parts about making a floppy image which uses grub to boot my kernel using a loopback device. I've always got responses but I've still never been able to achieve what I want. I want to create a bootable floppy image, using grub, which displays the grub OS chooser menu (like the floppy image which is avaliable at the end of Bran's Kernel Development Tutorial).

I've tried following the wiki tutorial and I've tried following this http://sig9.com/bochs-grub tutorial. I can't get either to work. I'm really stuck. Can someone take me through (in baby steps) how to get this working?

Thank you,

Puff
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: GRUB Floppy Image Problem

Post by Combuster »

1) write a floppy image with grub preinstalled to the loopback device
2) mount the loopback device as a FAT filesystem
3) copy the kernel
4) unmount
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply