mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-21 17:11:34 -05:00
Update install.sh
This commit is contained in:
parent
bb5e850cd2
commit
af306aeb76
@ -191,8 +191,8 @@ sed -i 's/#\(GRUB_ENABLE_CRYPTODISK=y\)/\1/' /mnt/etc/default/grub
|
|||||||
echo "" >> /mnt/etc/default/grub
|
echo "" >> /mnt/etc/default/grub
|
||||||
echo -e "# Booting with BTRFS subvolume\nGRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true" >> /mnt/etc/default/grub
|
echo -e "# Booting with BTRFS subvolume\nGRUB_BTRFS_OVERRIDE_BOOT_PARTITION_DETECTION=true" >> /mnt/etc/default/grub
|
||||||
sed -i 's# part_msdos##g' /mnt/etc/default/grub
|
sed -i 's# part_msdos##g' /mnt/etc/default/grub
|
||||||
sed -i 's#rootflags=subvol=${rootsubvol} ##g' /mnt/etc/grub.d/10_linux
|
sed -i 's#rootflags=subvol=${rootsubvol}##g' /mnt/etc/grub.d/10_linux
|
||||||
sed -i 's#rootflags=subvol=${rootsubvol} ##g' /mnt/etc/grub.d/20_linux_xen
|
sed -i 's#rootflags=subvol=${rootsubvol}##g' /mnt/etc/grub.d/20_linux_xen
|
||||||
|
|
||||||
# Adding keyfile to the initramfs to avoid double password.
|
# Adding keyfile to the initramfs to avoid double password.
|
||||||
dd bs=512 count=4 if=/dev/random of=/mnt/cryptkey/.root.key iflag=fullblock &>/dev/null
|
dd bs=512 count=4 if=/dev/random of=/mnt/cryptkey/.root.key iflag=fullblock &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user