You are not logged in.

#1 2011-08-03 22:49:14

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Unable to boot ArchLinux on Macbook Pro 7.1 - drops to recovery shell

My MBP fails to boot Arch.
This is what I did to install ArchLinux.

    Install rEFIT.
    Partition using disk utility such that first one is Mac partition, second is Arch & the third ie the last one is windows.
    Then put Windows 7 CD, select it from rEFIT and install it.
    Similar, install ArchLinux just as I did for windows.
    Then finally to install the GRUB, I issued the command $grub-install --root-directory=/mnt/arch --recheck /dev/sda3 (after mounting my /dev/sda3 to /mnt/arch).


This is the exact error and then it drops to recovery.
Error after typing exit. I have tried rootfstype too. No success.
My menu.lst (I have tried /dev/sda3 too).


What can be the reason? Is there a problem with the ramdisk?
I have tried manually mounting the partition /dev/sda3. Fails to recognize that there is a partition like that.

Last edited by shadyabhi (2011-08-04 06:32:08)

Offline

#2 2011-08-04 07:10:21

shadyabhi
Member
From: Bangalore
Registered: 2010-05-23
Posts: 262
Website

Re: Unable to boot ArchLinux on Macbook Pro 7.1 - drops to recovery shell

Ah. Problem solved by removing autodetect hook.

mkdir /mnt/chroot
mount /dev/disk/[YOUR ROOT PARTITION] /mnt/chroot
cd /mnt/chroot
mkdir boot
mount /dev/disk/[YOUR BOOT PARTITION] boot
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/

chroot . /bin/bash

#now remove autodetect hook.
mkinitcpio -p kernel26


Can somebody throw some light as to how this solved the problem?

Last edited by shadyabhi (2011-08-04 07:13:18)

Offline

Board footer

Powered by FluxBB