Feel free to add grammar corrections and correct any errors.
--Kotuxguy 17:17, 13 February 2010 (UTC)
- Could you probably be more specific with an example how you created such an image? I tried your example to create a floppy image, but it won't boot with qemu for me. It's most likely totaly simple... --Arbaal
- Okay, I found another nice method: "grub-mkrescue --image-type=floppy --modules=multiboot --overlay=floppy/ floppy.img" This will create you a floppy image, which will contain the overlay from the folder "floppy/". When you put a normal grub folder structure in there (like: floppy/boot/grub) and store your kernel.bin and grub.conf in there, it will be loaded fine. You can even create a CD-image. --Arbaal 20:21, 9 March 2010 (UTC)
- Yes, that will work too. Although, I'm not sure if you can have grub.cfg. Which would defeat the purpose of using GRUB 2, as you could not enable/configure VESA, load a Lua script for parsing, etc..
--Kotuxguy 22:44, 13 March 2010 (UTC)
Install GRUB2 to a disk image
It's difficult if not impossible to install GRUB2 to a disk image. If you want to install GRUB2 to a disk image, you can first install GRUB Legacy on the disk image(google this if you don't know how), then generate a core.img, put the core.img and other .mod files into the disk image and use GRUB Legacy's "kernel" command to load core.img, then you got a fully functional GRUB2. -- torshie
- AFAIK, this is a necessary evil :( --Kotuxguy 16:30, 18 March 2010 (UTC)
I can't get grub-mkimage to successfully execute on FreeBSD using any of the examples provided on this page. Is anyone else experiencing this? --Comradeslice 14:34, 10 April 2011 (UTC)
BSD is relatively exotic, and the wiki is the wrong place for asking help since the people who read this can be counted on one pair of hands. Please try the manual for BSD-specific instructions and if that does not get you further ask on the forums with a reference to all things you have tried so far. - Combuster 19:50, 10 April 2011 (UTC)