Alternatives to grub-mkrescue on OSX?
Alternatives to grub-mkrescue on OSX?
Do any osdevers using OSX know of a replacement for the grub tools for programatically creating disk images for qemu/bochs?
- Combuster
- 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: Alternatives to grub-mkrescue on OSX?
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.
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?
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!