Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # You will need this if you forgot to add LVM2 on systemd LVM arch/manjaro installation
- # My own installation chroot procedure for Manjaro/Arch Linux. Replace UUIDs according to yours.
- sudo mount -U 9d2ece4c-ec48-42a3-b4b1-25725d79d574 /mnt
- sudo mount -U e66d4d27-5b78-4057-9c1b-7b12025e42ab /mnt/boot
- cd /mnt
- sudo mount -t proc proc proc/
- sudo mount --rbind /sys sys/
- sudo mount --rbind /dev dev/
- sudo mount --rbind /run run/
- sudo cp /etc/resolv.conf etc/resolv.conf
- sudo chroot /mnt /bin/bash
- # Here I should fix the lvm2 (sd-lvm2) hook at mkinitcpio and recreate the image:
- # Edit mkinitcpio to add "lvm2" or "sd-lvm2" hook if using systemd
- sudo nano /etc/mkinitcpio.conf
- # Add lvm2 word after "resume" in HOOKS= row
- # Close the file
- sudo mkinitcpio -p linux41
- # Your system should boot now. I hope so... Good luck.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement