You are not logged in.

#1 2016-04-16 20:24:40

L2
Member
Registered: 2016-04-16
Posts: 2

[Solved] Unable to Boot on MacBook Pro with USB HDD

[EDIT 2016/4/17]
How stupid of me!
The mistake I made was a misspelling in arch.conf, wrote "option" instead of "options".



I installed Arch on removable USB HDD.
My computer is MacBook Pro (13-inch, Mid2012).

On installation, I made partition in HDD like this:

(assume HDD is on /dev/sda)
/dev/sda1 : EFI Special Partition
/dev/sda2 : LVM Physical Partition
└─ VG0-main : ext4 root partition (logical partition)

Since I'm using LVM and USB device, hook of mkinitcpio is like this:

HOOKS="base udev block lvm2 filesystems autodetect modconf keyboard fsck"

(according to wiki,  lvm2 should be between block and filesystem when use LVM,
and block should be right after udev when use USB device as root)

I'm using systemd-boot as bootloader, and configuration is like this:

/boot/loader/entries/arch.conf

title   Arch Linux
linux   /vmlinuz-linux-zen
initrd  /initramfs-linux-zen.img
option  root=/dev/mapper/VG0-main

/boot/loader/loader.conf

default arch
editor 0

with this setup, boot will fail with message:

ERROR: device '' not found. Skipping fsck.
ERROR: Unable to find root device ''.
You are being dropped to a recovery shell
    Type 'exit' to try and continue booting

When I use this setup in virtualbox installation, everything seems to be good.
However, the setup didn't work on USB HDD installation, so I guess this is hardware-specific problem.

Feel free to tell me if another information needed.

Last edited by L2 (2016-04-17 19:58:13)

Offline

Board footer

Powered by FluxBB