Operating Systems > Linux and UNIX
windows in GRUB
Master of Reality:
what do i need to do in order to add windows to my GRUB bootloader? Windows 9 is on hda3.
I am only in windows until i get an answer so time is of the essence before i eat my entire computer and then regurgitate it into an industrial blender.
[ July 14, 2002: Message edited by: Master of Reality / Bob ]
jtpenrod:
Here is how I did it with my Mandrake set-up:
--- Code: ---
--- End code ---
You add these lines to the /boot/grub/menu.lst file. Grub uses a slightly different numbering system to refer to the various parts, as the numbering begins with zero, not one. "hd0" referrs to hda. The "0" after the comma would refer to the first primary part. The numbers are one less than the part nos. Since 'Drake has its root part on /dev/hda5, the corresponding menu item is "root (hd0,4)". Thus, to boot Winders on your rig, try: "root (hd0,2)". You can get a good idea as to what to add to your menu.lst file by studying what's there already. Also, be sure to make a backup copy before you start hacking on it. I've never had anything go wrong, but you can't be too careful where system-critical files are concerned.
_________________________________________
Live Free or Die: Linux
"There: now you'll never have to look at those dirty Windows anymore" -- Daffy Duck :D
[ July 14, 2002: Message edited by: jtpenrod ]
Master of Reality:
how do i restart grub?
voidmain:
You don't have to restart GRUB or rerun the grub command like you do with LILO. You just change the menu file and reboot and the changes should be there.
Master of Reality:
it needs to be 'put' back in the MBR after i installed windows.
Navigation
[0] Message Index
[#] Next page
Go to full version