commit 64a19bf675e477ba63e20f61bbea3c4d513efbd9 parent 6c52012f88f11994e9fc03301f7c0da039e8e7d5 Author: awy <awy@tutamail.com> Date: Thu, 1 Aug 2024 03:21:43 +0300 grub fix Diffstat:
M | post_chroot.sh | | | 7 | +++++-- |
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -18,6 +18,9 @@ export LC_COLLATE="C" echo $_hostname > /etc/hostname +pacman -S grub os-prober efibootmgr --noconfirm +grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub + useradd -m -g users -G wheel,storage,power -s /bin/bash $_username echo root:$_rootpasswd | chpasswd @@ -44,9 +47,9 @@ POWERSMFSUWER='GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet options root=PARTUUI sed -i "s/GRUB_CMDLINE_LINUX_DEF\(.*\)/$POWERSMFSUWER/g" /etc/default/grub pacman -S linux-zen-headers --noconfirm -pacman -S nvidia-open-dkms intel-ucode trizen grub os-prober efibootmgr --noconfirm +pacman -S nvidia-open-dkms nvidia-utils intel-ucode trizen --noconfirm sed -i -e 's/MODULES=()/MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)/g' /etc/mkinitcpio.conf -grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub + grub-mkconfig -o /boot/grub/grub.cfg rm /post_chroot.sh