From f9516d9a778a70fd42d5e5264830fb8498e36b5b Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Sun, 4 Aug 2024 21:04:06 -0400 Subject: [PATCH] Overwrite fstab not append initially --- gentoo-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gentoo-install.sh b/gentoo-install.sh index 2b2c498..1fb37c7 100755 --- a/gentoo-install.sh +++ b/gentoo-install.sh @@ -240,9 +240,9 @@ function stage_step() { #FIXME post stage extraction: if [[ "$DEBUG" ]]; then - echo "genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab" + echo "genfstab -U /mnt/gentoo > /mnt/gentoo/etc/fstab" else - genfstab -U /mnt/gentoo >> /mnt/gentoo/etc/fstab + genfstab -U /mnt/gentoo > /mnt/gentoo/etc/fstab fi if [[ "$ENCRYPTION" ]]; then @@ -267,7 +267,7 @@ function stage_step() { arch-chroot /mnt/gentoo emerge --sync arch-chroot /mnt/gentoo grub-install --efi-directory=/efi - arch-chroot /mnt/gentoo dracut --host-only + #arch-chroot /mnt/gentoo dracut --host-only arch-chroot /mnt/gentoo grub-mkconfig -o /boot/grub/grub.cfg }