commit 59cf45e8af008140066ecdb78676c9de15139aa4
parent 6d697ecd6fdb47b09f4594fa77f71fb42c653851
Author: Awnrt <roman.levikoff@gmail.com>
Date: Sat, 30 Mar 2024 22:23:18 +0300
partuuid error at boot fix
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh
@@ -26,8 +26,6 @@ echo $_username:$_userpasswd | chpasswd
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers
echo "Defaults rootpw" >> /etc/sudoers
-
-
echo "[lib32]" >> /etc/pacman.conf
echo "Include = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf
pacman -Sy --noconfirm
@@ -38,7 +36,7 @@ rc-update add connmand
pacman -S intel-ucode --noconfirm
SMFSUWER=$(blkid -s PARTUUID -o value /dev/$root_drive)
-POWERSMFSUWER='GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet options root='$SMFSUWER' rw nvidia-drm.modeset=1 intel_iommu=on"'
+POWERSMFSUWER='GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet options root=PARTUUID='$SMFSUWER' rw nvidia-drm.modeset=1 intel_iommu=on"'
sed -i "s/GRUB_CMDLINE_LINUX_DEF\(.*\)/$POWERSMFSUWER/g" /etc/default/grub
grub-mkconfig -o /boot/grub/grub.cfg