Re: interference of the recent /usr symlinking with the mkinitcpio 'usr' hook?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jun 25, 2013 at 09:08:17AM +0200, Martti Kühne wrote:
> On Mon, Jun 24, 2013 at 5:38 PM, Simon Campese <arch-general@xxxxxxxxxx> wrote:
> > 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"
> >
> 
> Of course. /sbin is a symlink now. You'll have to adjust your disk
> setup and unite /usr and / for /sbin/init -> /usr/bin/systemd to be a
> valid path. [0]

This is simply an issue with mounting your /usr partition correctly. I
don't have experience with using a separate /usr, but mounting it in the
initramfs, you should have no issues finding /usr/bin/init (what
/sbin/init points to). You don't have to merge your / and /usr
partitions.

-- 
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF

Attachment: pgpth8NGaqnjK.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux