Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Booting Gentoo on a late 2007 macbook does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
k_klunz
n00b
n00b


Joined: 03 Dec 2004
Posts: 36
Location: Kaiserslautern, Rheinland-Pfalz, Germany, Europe

PostPosted: Wed May 02, 2012 11:15 pm    Post subject: Booting Gentoo on a late 2007 macbook does not work Reply with quote

Hello everyone,

because I got tired of my rather old OSX 10.5, this weekend I started to read into installing Gentoo on my old macbook.
Its a late 2007 model.
I want to do a gentoo only install, so no multi-booting required.
As I did not find a guide, i searched around a bit and finally did the following steps:

1.) I followed the instructions provided by david-e in this thread: https://forums.gentoo.org/viewtopic-t-697296-start-0.html
-delete the whole disk with diskutils and make it mbr
-bless it

2.) Following the instructions in the gentoo handbook.
I used fdisk to partition the disks in exactly the same way as described there and also did everything else as described there.
The only thing I did different was, that when installing grub I did not do
Code:
grub> root (hd0,0)    (Specify where your /boot partition resides)
grub> setup (hd0)     (Install GRUB in the MBR)
grub> quit            (Exit the GRUB shell)

but rather
Code:
grub> root (hd0,0)    (Specify where your /boot partition resides)
grub> setup (hd0,0)     (Install GRUB in the MBR)
grub> quit            (Exit the GRUB shell)

as it is described in this guide https://wiki.archlinux.org/index.php/MacBook#Installation.
This made sense to me, as, as far as I understood, the macbook is basically chain-loading into grub, which therefore should not be installed in the mbr but rather in the boot partition.

However, when rebooting I only get
Quote:
No bootable device -- insert boot disk and press any key


Just to be sure, I did everything again, this time installing grub into the mbr, but with the same result.

I have no clue what I did wrong. I already did a couple of gentoo installations a couple of years ago which went rather smooth, but this EFI-crap is really annoying.

As fdisk is working (which does not support gpt) I am fairly sure that the hdd has an mbr. I am a little out of ideas

Any help or a link to a useful guide is greatly appreciated.

Thank you all very much in advance

Greetings
tobe
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Thu May 03, 2012 5:46 am    Post subject: Reply with quote

with the macbooks certain years have certain qwirks that you have to research

looks like you probably have your MBR messed up
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
k_klunz
n00b
n00b


Joined: 03 Dec 2004
Posts: 36
Location: Kaiserslautern, Rheinland-Pfalz, Germany, Europe

PostPosted: Thu May 03, 2012 8:19 am    Post subject: Reply with quote

Thank you very much for your response.

Apparently what I did wrong was to alter the mbr when creating the partitions with fdisk. However, mbr and gpt were out of sync after that, as fdisk doesnt know about the gpt.
As the macbook always looks at the gpt, it could not find my boot-partition, which was only known to the mbr.

So I guess what i will try next is to create all necessary partitions with the OSX-dvd diskutil, which will write synced gpt and mbr.
During the installation I will then not touch the partition table anymore and only reformat the drives to the needed filesystems....

Hopefully this will work, otherwise I guess I will just have to do some more researching ...

Greetings
tobe
Back to top
View user's profile Send private message
k_klunz
n00b
n00b


Joined: 03 Dec 2004
Posts: 36
Location: Kaiserslautern, Rheinland-Pfalz, Germany, Europe

PostPosted: Fri May 04, 2012 7:35 am    Post subject: Reply with quote

Just as a small update:

After tinkering around for 2 more nights and not getting a bit closer to simply getting the system to boot, I am afraid I have to give up.
So the next try will be to install Ubuntu on a small partition, see if that works for itself, then installing Gentoo on the rest of the HDD and let ubunt handle the grub /boot stuff.

UPDATE:
With the described setup everything now works flawlessly (except of course, that I know have a 10GB Ubuntu partition :roll: ).
Still no idea why I could not get it running before.....
UPDATE END

Over the years I have done at least 10 gentoo installations on many different systems, with and without dual-boot. Of course there were problems, but they were allways traceable and solveable.
It absolutly amazes me that 8 years after my first experience with gentoo stuff has actually gotten way more complicated.
As it seems, this is mostly due to incredibly stuipd developments in the industry in general (EFI) and hardware manufacturers complicating stuff for no reason at all (Apple) ....

Sorry for the rant, just a little frustrated atm....

Greetings
tobe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum