Problems with GRUB2

Discuss the security implications of the various flavors of linux and unix

Problems with GRUB2

Post by Xabyte on Wed Mar 31, 2010 5:26 pm
([msg=37534]see Problems with GRUB2[/msg])

I have installed Linux Mint on the first partition,the second has Windows XP on it,and I made the third by shrinking the first.The third partition has Windows backup on it.
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.
Xabyte
New User
New User
 
Posts: 29
Joined: Fri Mar 12, 2010 6:08 pm
Blog: View Blog (0)


Return to *nix

Who is online

Users browsing this forum: No registered users and 0 guests