Page 1 of 1

Alternatives to grub-mkrescue on OSX?

Posted: Thu May 29, 2014 12:30 am
by mango
Do any osdevers using OSX know of a replacement for the grub tools for programatically creating disk images for qemu/bochs?

Re: Alternatives to grub-mkrescue on OSX?

Posted: Thu May 29, 2014 5:37 am
by Combuster
The quick and dirty way on any non-linux OS is to grab an existing image from somewhere, clear the owner's files from it, and then save that image with your project so you can use it as a base to construct the rest of your harddisk from it later in a similar fashion.

The advantage of this is that you only need one tool: something that can read and write the filesystem - for FAT systems, mtools is a portable tool that does exactly that.

Re: Alternatives to grub-mkrescue on OSX?

Posted: Sat Jun 07, 2014 9:36 am
by vtsman
I made a shell script that compiles my OS and turns it into a bootable iso with GRUB. It's pretty well commented, so just take out the part that is helpful to you! Best of luck!
build.sh.txt
The forum won't allow me to upload a shell script, hence the .sh.txt
(6.96 KiB) Downloaded 257 times