Now,when I turn my computer on,it says GRUB loading...,and doesn't show the boot menu,just boots Mint.
I tried this so far:
1.Made a new text file with the following lines:
- Code: Select all
#! /bin/sh -e
echo "Adding Windows">&2
cat<<EOF
menuentry "Windows XP"{
set root=(hd1,1)
chainloader +1
}
EOF
2.Saved it as Windows_11 to the folder etc/grub.d.
3.Ran chmod a+x /etc/grub.d/11_Windows
4.Tried every combination of set root
5.Ran update-grub and update-grub2 every time after changing the "set root" values.
I changed the line GRUB_HIDDEN_TIMEOUT=0 to GRUB_HIDDEN_TIMEOUT=10 in the file etc/default/grub,so I can open the menu by pressing Shift.XP is in the menu,but it doesn't boot.
Now,how can I make Windows boot,and access the boot menu without having to press Shift?
Thank you.

