You are not logged in.

#1 2010-05-06 23:44:48

otisranson
Member
Registered: 2008-01-31
Posts: 33

[Solved] macbook pro help

Macbook Pro 5,1 Updated to the latest firmware, Installed rEFIt on it too.  Grub will not install correctly.  My partition scheme is like so:



/dev/sda1 : EFI
/dev/sda2 : mac os x
/dev/sda3 : swap
/dev/sda4 : /

/dev/sda4 contains all everything.  I don't use a separate boot partition.  I have tried to use a separate one already with no luck.  I get the same grub errors regardless.  I have tried the internet install and the install from cd, no luck.  I tried to automatically install from the install cd, and I get an error that the grub was NOT installed correctly.  So I tried it myself.

grub > device (hd0,3) /dev/sda
grub > root (hd0,3)

This is where I get the error.  Not a valid partition.  I've been trying this for two days. I have followed this link religiously and installed grub on the partition, but I still get the errors.  Macbook

Ubuntu installed successfully, but.. I want Arch. lol
Any help would be great.  Thanks!

Last edited by otisranson (2010-05-10 15:56:41)

Offline

#2 2010-05-07 09:04:19

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: [Solved] macbook pro help

Use GRUB2 from the Ubuntu LiveCD.

Boot into LiveCD, mount /dev/sda4 to /mnt.
Install with grub-install --root-directory=/mnt /dev/sda.

Greets,
demian

Last edited by demian (2011-04-30 15:00:20)


no place like /home
github

Offline

#3 2010-05-07 13:55:39

otisranson
Member
Registered: 2008-01-31
Posts: 33

Re: [Solved] macbook pro help

I'll work on it today.  Thanks!

Offline

#4 2010-05-07 14:40:27

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: [Solved] macbook pro help

demian wrote:

Use GRUB2 from the Ubuntu LiveCD.

Boot into LiveCD, mount /dev/sda4 to /mnt.
Install with grub-install --root-directory=/mnt /dev/sda.

Greets,
mikar

Do NOT install GRUB on /dev/sda, install it rather on /dev/sda4, the partition where linux is on. Maybe this is what went wrong in the first place ?

Offline

#5 2010-05-10 14:18:11

otisranson
Member
Registered: 2008-01-31
Posts: 33

Re: [Solved] macbook pro help

geniuz wrote:
demian wrote:

Use GRUB2 from the Ubuntu LiveCD.

Boot into LiveCD, mount /dev/sda4 to /mnt.
Install with grub-install --root-directory=/mnt /dev/sda.

Greets,
mikar

Do NOT install GRUB on /dev/sda, install it rather on /dev/sda4, the partition where linux is on. Maybe this is what went wrong in the first place ?

I tried multiple times to install on the partition.  It wouldn't even recognize the hard drive on the commands above.  I didn't even get to the install stage.  I tried the automated install in the arch install, no dice.  Trying to install using an Ubuntu disc.

Offline

#6 2010-05-10 15:56:26

otisranson
Member
Registered: 2008-01-31
Posts: 33

Re: [Solved] macbook pro help

I ended up chrooting into arch, then installing grub2 from the testing repo.  Thanks for the help!

Offline

Board footer

Powered by FluxBB