intermezzOS / intermezzOS.github.io

The website for intermezzOS
http://intermezzos.github.io/
14 stars 5 forks source link

Problem When Trying to Get/Install Grub (macOS) #35

Open ava-cassiopeia opened 8 years ago

ava-cassiopeia commented 8 years ago

When installing using the install file outlined here, and then later trying to run the grub-mkrescue from here on macOS (Sierra), the grub-mkrescue program does not seem to come as a part of the installation, as far as I can tell. That is, nowhere in ~/opt or ~/src does grub-mkrescue show up.

I ended up just switching to Linux for the remainder of the book, but I'd still like to develop on my Mac if possible. Did I miss something, or was it installed in another area?

steveklabnik commented 8 years ago

So I just did this with @ashleygwilliams , and she has

$ which grub-mkrescue
/Users/../opt/bin/grub-mkresque

So, I wonder what happened here. The script completed? grub is the last bit. I also wonder if

if [ ! -d "grub" ]; then

shouldn't be grub-mkrescue instead...

ava-cassiopeia commented 8 years ago

Alright, upon closer inspection of the log, during the grub installation I get the following:

checking which extra warnings work... 
checking if compiling with clang... yes
checking for options to compile assembly... configure: error: could not compile assembly

And then exits with code 1. I saw this the first time, but upon re-running it every time after that, the program exited with code 0, precisely because of the

if [ ! -d "grub" ]; then

line you mentioned. Googling that "could not compile assembly" error doesn't yield basically any result, so this might be specific to my machine.

SamTebbs33 commented 6 years ago

@aeolingamenfel Did you ever resolve the "could not compile assembly" issue? I'm facing it now

ava-cassiopeia commented 6 years ago

@SamTebbs33 No, sorry. It's bee awhile since I've taken a look at this though. I might try to see if I can still replicate this issue here later.

steveklabnik commented 6 years ago

Note that the second edition version needs no assembly and is FAR easier to get going on macOS, you may want to try that.

On Apr 19, 2018, at 12:26 PM, Ivan Mattie notifications@github.com wrote:

@SamTebbs33 No, sorry. It's bee awhile since I've taken a look at this though. I might try to see if I can still replicate this issue here later.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

SamTebbs33 commented 6 years ago

As @steveklabnik mentioned, installing Grub 2 should work on most macOS systems. I just followed this manual and it worked for me: https://www.gnu.org/software/grub/manual/grub/grub.html#Obtaining-and-Building-GRUB