Page 1 of 1
Building grub-mkrescue on OS X Maverics
Posted: Sun Mar 30, 2014 10:17 am
by hazy
Had anyone managed to normally build grub from sources on Mac OX 10.9
I'm going through Bare Bones tutorial, managed to compile a kernel normally, but just can't figure out where to get
grub-mkrescue, are you supposed to build it? There are not to many information on the net about it either
so I would appreciate any help
Re: Building grub-mkrescue on OS X Maverics
Posted: Sun Mar 30, 2014 11:54 am
by no92
I don't know if it is possible.
You could try to compile GRUB from source. This probably won't work (and you should've tried this before asking).
The way I would do it (and the only other way if you want to generate it by yourself) is to set up a Linux VM and to create a GRUB disk there. After that, you can mount the disk as a loopback device (use hdiutil) and simply copy your grub.cfg (or menu.lst for GRUB legacy) and your kernel over.
Last tip: stop OSdeving on systems without any tools for that (Windows and OS X). Go for Linux or FreeBSD.
Re: Building grub-mkrescue on OS X Maverics
Posted: Sun Mar 30, 2014 1:17 pm
by hazy
no92 wrote:I don't know if it is possible.
You could try to compile GRUB from source. This probably won't work (and you should've tried this before asking).
The way I would do it (and the only other way if you want to generate it by yourself) is to set up a Linux VM and to create a GRUB disk there. After that, you can mount the disk as a loopback device (use hdiutil) and simply copy your grub.cfg (or menu.lst for GRUB legacy) and your kernel over.
Last tip: stop OSdeving on systems without any tools for that (Windows and OS X). Go for Linux or FreeBSD.
Yes I tried to compile it myself, but seems like a lot of people get into trouble doing it. Thx for your answer
Re: Building grub-mkrescue on OS X Maverics
Posted: Sat Jun 07, 2014 9:49 am
by vtsman
I've made a script for compiling, committing and making my OS into a bootable iso with GRUB. It's pretty well commented, so just use the parts you need! Best of luck!
- build.sh.txt
- The forum understandably won't allow me to upload a .sh, hence the .sh.txt
- (6.96 KiB) Downloaded 262 times
Re: Building grub-mkrescue on OS X Maverics
Posted: Sun Jun 08, 2014 3:01 pm
by max
no92 wrote:Last tip: stop OSdeving on systems without any tools for that (Windows and OS X). Go for Linux or FreeBSD.
Please dude. Windows is really not very suitable (yet its possible). But if you're using OS X there is no reason to switch to Linux at all, all the tools are there..
@hazy: have you tried to build it? once you have, either tell us what errors you encountered or about the success/what you did