You are not logged in.
Hi, there!
I'm trying to install an arch linux on my Acer Aspire One like so:
/ resides in a LVM container and is btrfs, mount options: rw, relatime,compress=lzo,space_cache,
/boot is ext4-formatted,
/usr btrfs, mount options: rw, relatime,compress=lzo,space_cache
In the installation steps, everything went just fine, I set the hooks for mkinitcpio as written in the tutorials.
Now, when I'm booting, there's the following problem:
The hooks 'encrypt' and 'btrfs_advanced' are started, but then, the output is like:
Waiting 10 seconds for device /dev/mapper/<top secret name>-root ...
:: performing fsck on '/dev/mapper/<top secret name>-root'
Unknown option: -a
usage: btrfs [--help] [--version] <group> [<group>...] <command> [<args>]
ERROR: fatal error invoking fsck
**** WARNING ***
* The root device is not configured to be mounted
* read-write! It may be fsck'd again later
****
:: mounting '/dev/mapper/<top secret name>-root' on real root
:: running clean-up hook [lvm2]
:: running clean-up hook [udev]
ERROR: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good luck.
sh: can't access tty; job control turned off
'mount' shows that /new_root is mounted an ls informs me that a '/sbin/init' exists, but 'exec /sbin/init' fails with 'sh: can't access tty: job control turned off'
However, if I'm using a live usb stick to boot, I can without any problems mount the encrypted and not encrypted devices and use my installation.
Anyone can help me?
Offline
Are you sure you are mounting subvolume containing your root?
Offline
So the initramfs is mounting root, but I don't see it mounting /usr. Are you using the usr hook for mkinitcpio?
Offline
In addition to ^^, you will also need the shutdown hook.
You don't mention using encryption but you've included the encrypt hook?
Also, why are you trying to fsck btrfs volumes?
Last edited by cfr (2013-08-06 01:35:16)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline