You are not logged in.
Pages: 1
Hello. I have installed Arch with LVM on LUKS
mkfs.xfs /dev/mapper/myvol-home
mkfs.ext4 /dev/mapper/myvol-root
mkswap /dev/mapper/myvol-swap
mkfs.ext2 /dev/sda1
fstab, hooks, grub. All right. The installation was successful.
But when I have installed in the same way xfs root partition, the system does not boot
mkfs.xfs /dev/mapper/myvol-home
mkfs.xfs /dev/mapper/myvol-root
mkswap /dev/mapper/myvol-swap
mkfs.ext2 /dev/sda1
Waiting 10 seconds for device /dev/mapper/vol-root ...
ERROR: device '/dev/mapper/vol-root' not found. Skipping fsck.
:: mounting '/dev/mapper/vol-root' on real root
mount: /new_root: no filesystem type specified.
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs ]# _
I followed the installation guide and more, but I found nothing.
Thank you for ideas. Best regards.
PD: Sorry my english ._.
Last edited by 6PM (2017-11-12 12:42:04)
Offline
Post your mkinitcpio.conf
Offline
# vim:set ft=sh
MODULES=()
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap consolefont modconf block encrypt lvm2 filesystems fsck)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Add the xfs module to your conf and rebuild the initramfs.
Offline
Thank you jasonwryan for your help. The system can boot.
But then I installed mate desktop and the problem arises again. On this occasion with both filesystem xfs and ext4
Waiting 10 seconds for device /dev/mapper...
I reconfigured hooks, modules again,
rebuilding the initramfs, generating grub.cfg, etc and nothing.
So after a lot of reading and searching I found it.
I changed /etc/lvm/lvm.conf to "use_lvmetad = 1"
Generating initramfs one more time.
Finally it works!
I write to thank you and to help another users if they have the same problem.
Offline
Cool. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
I changed /etc/lvm/lvm.conf to "use_lvmetad = 1"
That is, you restored the default value.
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
Pages: 1