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