Talk:GRUB: Difference between revisions

From OSDev.wiki
Latest comment: 14 years ago by Kotuxguy
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 6: Line 6:
** 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. --[[User:Arbaal|Arbaal]] 20:21, 9 March 2010 (UTC)
** 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. --[[User:Arbaal|Arbaal]] 20:21, 9 March 2010 (UTC)



Yes that will work too. Although, I'm not sure if you can have <tt>grub.cfg</tt>.
Which would defeat the purpose of using GRUB 2, as you could not enable/configure VESA, load a Lua script for parsing, etc..
* Yes, that will work too. Although, I'm not sure if you can have <tt>grub.cfg</tt>. Which would defeat the purpose of using GRUB 2, as you could not enable/configure VESA, load a Lua script for parsing, etc..

--[[User:Kotuxguy|Kotuxguy]] 22:44, 13 March 2010 (UTC)

Revision as of 22:44, 13 March 2010

Feel free to add grammar corrections and correct any errors.

--Kotuxguy 17:17, 13 February 2010 (UTC)Reply[reply]

  • 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)Reply[reply]


  • 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)Reply[reply]