You are not logged in.

#1 2013-02-17 00:36:00

Third3ye
Member
Registered: 2013-02-17
Posts: 5

Installing on MacBook7.1

Hey there folks, first-time post here, and it's related to the bane of your existence: an Apple product.

So anyways, I've tried to follow the MacBook install guide and standard installation guide. I've booted through rEFInd which is installed on the OS X partition and the Arch kernel does boot via Grub or by loading the vmlinuz and initramfs from the OS X partition. However: when booting, the the kernel is unable to mount the root partition with read/write options and the rest of the booting fails.

I've got a MacBook7,1 which is a mid-2010 model Here's the output of hwinfo without any filters for those who think it might be relevant.
http://sebsauvage.net/paste/?924efe1434 … w0yaNQJVo=

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>

# /dev/sda5
UUID=829ced36-e0ec-48cc-83d6-32969b8e2058	/         	ext4      	default,relatime	0 1

# /dev/sda4
UUID=7245-C108      	/boot/efi 	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro	0 2

It should be noted that the vfat partition does mount with read-write permission, but only after the boot fails and I mount it manually in maintenance mode. Here is the output of errors from journalctl.

-- Logs begin at sø. 2013-02-17 00:38:41 CET, end at sø. 2013-02-17 00:40:10 CET. --
feb. 17 00:38:41 3yeland kernel: i8042: No controller found
feb. 17 00:38:41 3yeland kernel: EXT4-fs (sda5): Unrecognized mount option "default" or missing value
feb. 17 00:38:41 3yeland systemd-random-seed[136]: Failed to open random seed: No such file or directory
feb. 17 00:38:41 3yeland systemd-remount-fs[110]: /bin/mount for / exited with exit status 32.
feb. 17 00:40:10 3yeland systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-7245\x2dC108.device.
-- Subject: Unit dev-disk-by\x2duuid-7245\x2dC108.device has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit dev-disk-by\x2duuid-7245\x2dC108.device has failed.
-- 
-- The result is timeout.
feb. 17 00:40:10 3yeland systemd[1]: Dependency failed for /boot/efi.
-- Subject: Unit boot-efi.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit boot-efi.mount has failed.
-- 
-- The result is dependency.
feb. 17 00:40:10 3yeland systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit local-fs.target has failed.
-- 
-- The result is dependency.
feb. 17 00:40:10 3yeland systemd[896]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
-- Subject: Process /bin/plymouth could not be executed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/641257651c1b4ec9a8624d7a40a9e1e7
-- 
-- The process /bin/plymouth could not be executed and failed.
-- 
-- The error number returned while executing this process is 2.

I want to boot via EFI but if it's not dooable I can boot via BIOS compatibility or try to bless the grub-efi. If you need more information, setting files or logs just let me know what information might be helpful. Thanks in advance for the concern.

Offline

#2 2013-02-17 00:48:01

Third3ye
Member
Registered: 2013-02-17
Posts: 5

Re: Installing on MacBook7.1

I found that genfstab had outputted a spelling error, which was that "default" was supposed to be "defaults". This has not fixed the booting issue. Mounting /boot/efi still times out.

Offline

#3 2013-02-17 01:02:00

Third3ye
Member
Registered: 2013-02-17
Posts: 5

Re: Installing on MacBook7.1

aaand I changed the entry for the /dev/sda4 partition in /etc/fstab to the PARTUUID, which didn't do anything...

Offline

#4 2013-07-01 21:59:04

BMS
Member
From: Oslo
Registered: 2012-11-30
Posts: 8
Website

Re: Installing on MacBook7.1

Shot in the dark here, probably wrong since you've already checked fstab, but is your root partition being mounted to the right mountpoint? genfstab made mine mount to /mnt (of course, that's where it was when I installed), and just changing it to / got rid of the error for me.


Developer
Dell XPS 15 9500
Will eventually get around to reviving brbcoffee

Offline

#5 2013-07-02 06:12:31

archolith
Member
Registered: 2013-06-17
Posts: 8

Re: Installing on MacBook7.1

This is the output of my fstab:

/dev/sda5 / ext4 rw,relatime,data=ordered 0 1
/dev/sda4 /boot ext2 rw,relatime,stripe=4 0 2
/dev/sda7 /home/ ext4 rw,relatime,data=ordered 0 2
/dev/sda6 none swap defaults 0 0 

I mounted my disks in this order:

# mount /dev/sda5 /mnt
# mkdir /mnt/boot 
# mount /dev/sda4 /mnt/boot
# mkdir /mnt/home
# mount /dev/sda7 /mnt/home

where /dev/sda4 was formatted to ext2, /dev/sda5 to ext4 and /dev/sda7 to ext4. Before I created my initial ram disk environment I made sure to install any missing modules that was listed during the boot, in my case aic94xx and bfa. Then I followed these instructions https://wiki.archlinux.org/index.php/Ma … Bootloader. Here you mount /dev/sda1 to /boot/efi after generating fstab.

Hope this helps.

Last edited by archolith (2013-07-02 06:23:02)

Offline

#6 2013-07-03 11:50:00

Third3ye
Member
Registered: 2013-02-17
Posts: 5

Re: Installing on MacBook7.1

Ancient history, my friend smile Actually, for some reason genfstab didn't generate the proper UUID codes. After adding them manually it worked. Haven't had the problem again when I've installed on a macbook, so it might've been something i did wrong tongue

Thanks for the concern, though!

Offline

#7 2013-07-03 11:59:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Installing on MacBook7.1

Third3ye, is this solved then?  If so can you mark it as such by editing your first post.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB