diff options
author | Awnrt <roman.levikoff@gmail.com> | 2024-03-30 22:07:26 +0300 |
---|---|---|
committer | Awnrt <roman.levikoff@gmail.com> | 2024-03-30 22:07:26 +0300 |
commit | 9aa91789a16b74b0a42139d89f5f7131a712d6ac (patch) | |
tree | 301ebd712b4c12ca6f391837fae11c52b277a27d /post_chroot.sh | |
parent | e49bab21faa3b0e3344af3b62273767980102d74 (diff) |
root uuid hardcode into grub
Diffstat (limited to 'post_chroot.sh')
-rwxr-xr-x | post_chroot.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/post_chroot.sh b/post_chroot.sh index a061f4d..d9058c1 100755 --- a/post_chroot.sh +++ b/post_chroot.sh @@ -35,6 +35,10 @@ 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"' +sed -i "s/GRUB_CMDLINE_LINUX_DEF\(.*\)/$POWERSMFSUWER/g" /etc/default/grub + grub-mkconfig -o /boot/grub/grub.cfg pacman -S linux-headers --noconfirm |