No way to boot into MS Windows hard disk

Paul Smith phhs80 at gmail.com
Wed Feb 14 13:07:31 UTC 2007


On 2/14/07, kalinix <calin.kalinix.cosma at gmail.com> wrote:
> > > > I have two hard disks in my machine:
> > > >
> > > > * hda --> Fedora Core 6;
> > > > * hdb --> Windows XP.
> > > >
> > > > In grub.conf, I have the following:
> > > >
> > > > title Windows XP
> > > >        rootnoverify (hd1,0)
> > > >        makeactive
> > > >        chainloader +1
> > > >
> > > > but I cannot boot into Windows XP. Any ideas?
> > >
> > > I believe that Win XP does not work on a second drive.  I think your
> > > best bet is to swap drives and install grub in the MBR of the new
> > > /dev/hda (old /dev/hdb).  Linux will happily boot on a second drive.
> >
> > Thanks, Tom, but how can one install grub in the MBR of the new /dev/hda?
>
>
> your XP entry in the grub should look like:
>
> title Windows XP
>                map (hd0) (hd1)
>                map (hd1) (hd0)
>                rootnoverify (hd1,0)
>                chainloader +1
>
>
> Note "map" which fools XP that it boots from the first partition of the
> first harddisk

Yeah, Calin, that works! Thanks.

Paul




More information about the users mailing list