Tips for install archlinux with LVM & XFS
Just follow the archwiki install guidelines with few notices:
- Add
lvm
toGRUB_PRELOAD_MODULES
in/etc/default/grub
and regenerategrub.cfg
: https://wiki.archlinux.org/index.php/GRUB#LVM - configure mkinitcpio then generate initramfs image: https://wiki.archlinux.org/index.php/LVM#Configure_mkinitcpio
Otherwise you will meet a boot error like this:
mount: mount(2) failed: /new_root: No such file or directory
You are no being dropped into an emergency shell
sh: can't access tty; job control turned off