Krolyxon
Commit 2b086eb

Branches

Refs →

arch-install2b086eb

add option to enable os-probing

Author
krolyxon
Date
2026-01-13 23:05 +0530
Parent
98001ef
Commit
2b086eb859803fdae48e93137124b935ed5c03c0

+6 −0

2 files changed

  1. M arch_install.md +2 −0
  2. M arch_install.sh +4 −0
M arch_install.md View
@@ -103,6 +103,8 @@ grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=archl
103103 sed -i 's/quiet/pci=noaer/g' /etc/default/grub
104104 sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
105105
106+echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub
107+
106108 grub-mkconfig -o /boot/grub/grub.cfg
107109 ```
108110
M arch_install.sh View
@@ -58,6 +58,10 @@ if [[ "$confirm" =~ ^[Yy]$ ]]; then
5858 sed -i 's/quiet/pci=noaer/g' /etc/default/grub
5959 sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
6060 fi
61+read -rp "Do you want to enable probing for other operating systems? (y/N): " confirm
62+if [[ "$confirm" =~ ^[Yy]$ ]]; then
63+ echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub
64+fi
6165 grub-mkconfig -o /boot/grub/grub.cfg
6266
6367 pacman -S --noconfirm networkmanager git