You are not logged in.

#1 2014-07-05 01:39:41

ryukiri
Member
Registered: 2014-06-27
Posts: 9

[SOLVED] Macbook Pro: Won't boot, enters recovery shell

Hello, I've already installed Arch many times on my old Lenovo PC for practice but now when I try to install it on my Macbook as a dual boot. I'm running into some troubles.

So here's what I did to install:

cgdisk /dev/sda

#Made partitions ext4
mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sda4

#mount partitions
mount /dev/sda3 /mnt
mkdir /mnt/home && mount /dev/sda4 /mnt/home
mkdir /mnt/boot && mount /dev/sda1 /mnt/boot

#installed base system
pacstrap -i /mnt base base-devel

#generate fstab
genfstab -U -p /mnt >> /mnt/etc/fstab

then I set up the locale, timezone, and clock. Skipped kernel modules part of the beginner's guide. When I got to bootloader, I did

pacman -S grub efibootmgr

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck

grub-mkconfig -o /boot/grub/grub.cfg

the first command (downloading grub) gave me "efi variables are not supported on this system" but it downloaded fine.

Now here's my error when I boot. It goes past the grub menu fine.

ERROR: device 'UUID=9141766b-a411-42fb-9973-9ab1031a3ff6' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=9141766b-a411-42fb-9973-9ab1031a3ff6'.
You are being dropped to a recovery shell
     Type 'exit' to try and continue booting
sh: can't access tty; job control turned off.
[rootfs /]#

Here is my fstab:

#
# /etc/fstab: static file system information
#
# <file system> <dir>            <type> <options>       <dump> <pass>
# /dev/sda3
UUID=9141766b-a411-42fb-9973-9ab1031a3ff6         /                        /ext2           rw,relatime         0,2

# /dev/sda4
UUID=4caa0c79-33db-407e-a77f-94e11cd10786       /home                /ext4           rw,relatime,data=ordered           0,2

# /dev/sda1 LABEL=EFI
UUID=67E3-17ED                  /boot              vfat             rw,relatime,fmask=22, dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

(hopefully I didn't make any typs typing out the fstab here)

My computer is a Macbook Pro 8 1 (late 2011, 13 inch). Intel i7 2.8 Ghz.

I have attempted to install Arch 3 times on this Macbook because I thought I did something wrong during the installation, but each time it gives me the error above after I pass the grub page. Hope someone can point out what's wrong. Thanks in advance!

Last edited by ryukiri (2014-07-05 17:41:33)

Offline

#2 2014-07-05 17:41:19

ryukiri
Member
Registered: 2014-06-27
Posts: 9

Re: [SOLVED] Macbook Pro: Won't boot, enters recovery shell

Fixed. I went under advanced settings on grub and executed these commands:

pacman -Syy
pacman -Syu
pacman -S udev
pacman -S mkinitcpio
pacman -S linux
mkinitcpio -p linux
grub-mkconfig -o /tmp/testgrub.cfg

I already had everything installed but for some reason I needed to reinstall them.

Offline

Board footer

Powered by FluxBB