Update btrfs-test.sh
This commit is contained in:
parent
c67caa0157
commit
00f7793352
|
@ -313,7 +313,7 @@ echo
|
|||
|
||||
# Install bootloader.
|
||||
echo "Installing systemd-boot."
|
||||
arch-chroot /mnt bootctl install &&
|
||||
arch-chroot /mnt bootctl --path=/mnt/boot install &&
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
|
@ -325,7 +325,7 @@ linux /vmlinuz-linux-zen
|
|||
#initrd /amd-ucode.img
|
||||
#initrd /intel-ucode.img
|
||||
initrd /initramfs-linux-zen.img
|
||||
options cryptdevice=/dev/$main:allow-discards
|
||||
options cryptdevice=/dev/$main:main
|
||||
options root=/dev/mapper/main rw
|
||||
options rootflags=subvol=root
|
||||
options lang=de locale=de_DE.UTF-8
|
||||
|
@ -338,8 +338,8 @@ cat << EOF > /mnt/boot/loader/entries/arch-fallback.conf &&
|
|||
title Arch Linux Fallback
|
||||
linux /vmlinuz-linux
|
||||
initrd /initramfs-linux-fallback.img
|
||||
options cryptdevice=/dev/$main:lvm
|
||||
options root=/dev/mapper/main-root rw
|
||||
options cryptdevice=/dev/$main:main
|
||||
#options root=/dev/mapper/main-root rw
|
||||
options lang=de locale=de_DE.UTF-8
|
||||
options init=/usr/lib/systemd/systemd
|
||||
EOF
|
||||
|
@ -373,7 +373,7 @@ echo
|
|||
# Unmounting and rebooting.
|
||||
echo "Unmounting system."
|
||||
umount /mnt/boot &&
|
||||
umount /mnt/home &&#
|
||||
umount /mnt/ &&
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
|
|
Loading…
Reference in New Issue