artix

desc
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit 9aa91789a16b74b0a42139d89f5f7131a712d6ac
parent e49bab21faa3b0e3344af3b62273767980102d74
Author: Awnrt <roman.levikoff@gmail.com>
Date:   Sat, 30 Mar 2024 22:07:26 +0300

root uuid hardcode into grub

Diffstat:
Mpost_chroot.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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