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
Building grub-mkrescue on OS X Maverics
-
- Member
- Posts: 307
- Joined: Wed Oct 30, 2013 1:57 pm
- Libera.chat IRC: no92
- Location: Germany
- Contact:
Re: Building grub-mkrescue on OS X Maverics
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.
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
Yes I tried to compile it myself, but seems like a lot of people get into trouble doing it. Thx for your answerno92 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.
Re: Building grub-mkrescue on OS X Maverics
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!
- max
- Member
- Posts: 616
- Joined: Mon Mar 05, 2012 11:23 am
- Libera.chat IRC: maxdev
- Location: Germany
- Contact:
Re: Building grub-mkrescue on OS X Maverics
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..no92 wrote:Last tip: stop OSdeving on systems without any tools for that (Windows and OS X). Go for Linux or FreeBSD.
@hazy: have you tried to build it? once you have, either tell us what errors you encountered or about the success/what you did