Linux.com

Another alternative... (grub)

Posted by: Anonymous Coward on February 25, 2005 07:37 PM
I too have left Linux on hda and Windows on hdb, but use grub as bootloader.

These are the Windows-specific lines in my grub.conf:
<TT>title Windows
  map (hd0) (hd1)      # Tell the first hard drive to pretend to be the second
  map (hd1) (hd0)      # Tell the second hard drive to pretend to be the first
  root (hd1,0)         # Tell GRUB Windows is on<nobr> <wbr></nobr>/dev/hdb1 (No pretending here)
  rootnoverify (hd1,0) # GRUB won't attempt to mount the Windows drive
  makeactive           # Sets the partition to active
  chainloader +1       # Tells GRUB to load the Windows bootloader when done</TT>
(Credits to <A HREF="http://forums.gentoo.org/viewtopic.php?t=18319" title="gentoo.org">http://forums.gentoo.org/viewtopic.php?t=18319</a gentoo.org> for this one.)

#

Return to Convert a Windows system to dual-boot Linux on a second drive