[arch-general] interference of the recent /usr symlinking with the mkinitcpio 'usr' hook?

Simon Campese arch-general at campese.de
Mon Jun 24 11:38:49 EDT 2013


Hello,

I just did a fresh install of archlinux based off the most recent
install cd. I've setup an encrypted root filesystem (btrfs) with
separate subvolumes for /, /usr, /var, /home and /etc. All subvolumes
are entered with the correct mount options (subvol=...) in
/etc/fstab. In particular, the lines for the / and /usr mounts look 
identical, except for different arguments to the 'subvol' mount option. 

In my /etc/mkinitcpio.conf, I have the following HOOKS line:  

HOOKS="base udev autodetect block keymap keyboard encrypt filesystems
fsck usr shutdown"

At bootup, right after entering my luks password, I get the following
error message:

"Error: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good Luck"

Checking in the emergency shell, it turns out that the root subvolume
has been mounted correctly but usr has not. Interchanging the order of the
'filesystems', 'fsck' and 'usr' hooks (I've tried all six possibilities)
doesn't resolve this problem.  

Could this be related to the recent symlinking of /sbin to /usr/bin?

My other explanations would be the 'subvol' mount option or the missing
fsck.btrfs tool, but in the latter case the root subvolume shouldn't
have been mounted as well. 

Any ideas? 


Thanks in advance, 

Simon


More information about the arch-general mailing list