Author Topic: windows in GRUB  (Read 685 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
windows in GRUB
« on: 14 July 2002, 13:12 »
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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

jtpenrod

  • VIP
  • Member
  • ***
  • Posts: 675
  • Kudos: 105
windows in GRUB
« Reply #1 on: 15 July 2002, 02:13 »
Here is how I did it with my Mandrake set-up:
Code: [Select]
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 ]

Live Free or Die: Linux
If software can be free, why can't dolphins?

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
windows in GRUB
« Reply #2 on: 15 July 2002, 02:44 »
how do i restart grub?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
windows in GRUB
« Reply #3 on: 15 July 2002, 07:39 »
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.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
windows in GRUB
« Reply #4 on: 15 July 2002, 10:53 »
it needs to be 'put' back in the MBR after i installed windows.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
windows in GRUB
« Reply #5 on: 15 July 2002, 17:56 »
I believe I answered this question in a previous thread.  Boot your Linux installation from a boot floppy and run "/sbin/grub-install" (see "man grub-install"). You *did* create a Linux boot floppy before installing Windows right?
Someone please remove this account. Thanks...