Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MacBook rEFIt Bootloader Questions [SOLVED]
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
Kvetch
Guru
Guru


Joined: 29 Apr 2004
Posts: 318
Location: /dev/null, VA

PostPosted: Thu Dec 28, 2006 5:36 pm    Post subject: MacBook rEFIt Bootloader Questions [SOLVED] Reply with quote

I am trying to get Gentoo install on my MacBook but am running into an issue on loading the OS in rEFIt. The Gentoo Macbook Wiki page http://gentoo-wiki.com/HARDWARE_Apple_MacBook states it is best to use LILO but the latest grub works fine too. Since I haven't used LILO in years I first tried grub. Grub failed to install for me stating that /boot needed to be rw. I did not create a separate /boot so I am not sure why it would squawk but I was feeling lazy and didn't care to find out so I installed LILO. LILO installed fine but when I rebooted and re-synced, rEFIt had a GPT section that showed the Linux part as a Legacy OS but had some section stating mbr was Linux for my Linux part. I re-synced but can't boot into Gentoo.
The rEFIt page http://refit.sourceforge.net/doc/c2s2_startos.html states to use ELILO and you need to copy some files over. Is this correct, if so how do you mount that EFI partition to copy the files over? Was I really suppose to use ELILO instead of LILO?

I then wiped my Linux partitions and created a 100M ext2 /boot and the rest ext3 /. Just to see what rEFIt would see I rebooted and the MBR section sees the correct thing but it keeps wanting to resync and use the GPT table which for some reason always states it is FAT32. Why would rEFIt see it as FAT32.
Some sites I have come across which seem older than the Gentoo Wiki state you don't want to create your first partition in BootCamp and you want to bless rEFIt in OSX. I think these articles are older than the automatic rEFIt dmg installation since that blesses for you. How are other people getting rEFIt to see their Linux part?

Thanks,
Nick


Last edited by Kvetch on Fri Dec 29, 2006 5:53 am; edited 1 time in total
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Fri Dec 29, 2006 4:10 am    Post subject: Reply with quote

I have Debian etch amd64 running on my macbook core 2. To get rEFIt to see the Debian partitions properly I did the following:
1.) Installed MacOS X on the entire drive.
2.) Used bootcamp to shrink MacOSX partition, the remaining space to be used by Linux.
3.) Booted from the Debian installation cd.
4.) Created Linux partitions, in my case / and /home.
5.) rebooted.
6.) synced with rEFIt.
7.) rebooted into Debian installation cd.
8.) Finished install. (lilo on sda3, non-active partition)

I tried a similar "partition reboot sync install" process with gentoo but did not have a successful result. My last attempt to install gentoo on the macbook, I used the debian partitioner, rebooted, synced, rebooted into gentoo installation, installed, rebooted and got a kernel panic:
Code:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,3)

It seems others are having a similar problem.

For better explanation of the "partition reboot sync install" process and for reasons why, take a look at http://wiki.debian.org/MacBook
_________________
gentoo good to be true
Back to top
View user's profile Send private message
Kvetch
Guru
Guru


Joined: 29 Apr 2004
Posts: 318
Location: /dev/null, VA

PostPosted: Fri Dec 29, 2006 5:53 am    Post subject: Reply with quote

I think I figured out why. The Gentoo Wiki doesn't seem to mention that you shouldn't use fdisk to create your partitions since fdisk doesn't support GPT. I redid my installation but I used parted to create two partition then used mke2fs to format them. I then reboot into rEFIt and resynced. GPT sees them as FAT32 until the resync where it see the MBR correctly but the GPT as Basic Data. Then I rebooted and installed Gentoo.
Back to top
View user's profile Send private message
DocterD
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2004
Posts: 129

PostPosted: Tue Jan 09, 2007 5:28 pm    Post subject: Reply with quote

I got the same Problem

First it happened randomly on boot, but now i`m stuck. Is there now a clear fix against it or not? I already tried to rebuild my System but nothing changed.
Back to top
View user's profile Send private message
Kvetch
Guru
Guru


Joined: 29 Apr 2004
Posts: 318
Location: /dev/null, VA

PostPosted: Mon Jan 15, 2007 3:15 am    Post subject: Reply with quote

After you installed Gentoo and rebooted, did you go into REFIT and re-sync? If so just boot off the Live-CD again and use fdisk to set the part types back to Linux. Then just reboot.
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