Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

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

Open
ava-cassiopeia opened this issue Sep 26, 2016 · 6 comments
Open

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

ava-cassiopeia opened this issue Sep 26, 2016 · 6 comments
Labels

Comments

@ava-cassiopeia
Copy link

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
Copy link
Member

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
Copy link
Author

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
Copy link

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

@ava-cassiopeia
Copy link
Author

@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
Copy link
Member

steveklabnik commented Apr 19, 2018 via email

@SamTebbs33
Copy link

SamTebbs33 commented Apr 20, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants