artix + arch + gentoo
This commit is contained in:
11
artix_scripts/re-chroot.sh
Normal file
11
artix_scripts/re-chroot.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
source env.sh
|
||||
|
||||
cryptsetup open $DISK\2 lvm-system && \
|
||||
lvchange -ay $LVM_N/volHome && \
|
||||
lvchange -ay $LVM_N/volRoot && \
|
||||
mount /dev/$LVM_N/volRoot /mnt && \
|
||||
mount /dev/$LVM_N/volHome /mnt/home && \
|
||||
mount /dev/$DISK\1 /mnt/boot/efi && \
|
||||
artix-chroot /mnt /bin/bash
|
||||
Reference in New Issue
Block a user