diff options
author | Awnrt <roman.levikoff@gmail.com> | 2024-03-30 22:23:18 +0300 |
---|---|---|
committer | Awnrt <roman.levikoff@gmail.com> | 2024-03-30 22:23:18 +0300 |
commit | 59cf45e8af008140066ecdb78676c9de15139aa4 (patch) | |
tree | 994a80d9ef490819a7abf6f62d4489256bea5b93 /post_chroot.sh | |
parent | 6d697ecd6fdb47b09f4594fa77f71fb42c653851 (diff) |
partuuid error at boot fix
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-x | post_chroot.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/post_chroot.sh b/post_chroot.sh index 8bed0a7..b5992f2 100755 --- 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 |