mount efi in guix-strap

This commit is contained in:
Freya Murphy 2023-10-09 20:25:57 -04:00
parent 1c7f17ea30
commit 516c7e1ed6
No known key found for this signature in database
GPG key ID: 988032A5638EE799
2 changed files with 13 additions and 1 deletions

View file

@ -61,6 +61,10 @@ EVENT "Setting up EFI vfat"
mkfs.vfat "-F32" "$EFI_PARTITION"
EVENT "Mounting EFI"
mount $EFI_PARTITION /mnt/boot/efi
EVENT "Successfully setup efi vfat and luks"
echo "CRYPT_PARTITION=\"$CRYPT_PARTITION\"" >> ./guix-env

View file

@ -32,12 +32,20 @@ EOF
read -r ANSWER
}
cleanup() {
herd stop cow-store
umount /mnt/boot/efi
umount /mnt
umount /tmp
cryptsetup close cryptroot
}
welcome
./guix-partition
./guix-crypt
./guix-configure
./guix-install
./guix-password
cleanup
echo "GNU Guix has been installed, you can now reboot..."
exit 0