bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grub and XP


From: Alban Crequy
Subject: Re: Grub and XP
Date: Sun, 6 Apr 2003 23:37:41 +0200
User-agent: KMail/1.4.3

Le Dimanche 6 Avril 2003 20:02, Matty Free a écrit :
> I'm trying to run Red Hat and XP, one on each disk.  XP, for imaginable
> reasons, insists on being on my first disk, 0x80.  With lilo I can modify
> my /etc/lilo.conf file to look like this:
>
> other=/dev/hdb1
>      label=dos
>      table=/dev/hdb
>      map-drive = 0x80
>      to = 0x81
>      map-drive = 0x81
>      to = 0x80
>
> This tricks Windows into thinking it's on the first disk.  I can't seem to
> find out how to do this with GRUB.  Any advice?

The "info grub" pages says:
<<
   If you have installed DOS (or Windows) on a non-first hard disk, you
have to use the disk swapping technique, because that OS cannot boot
from any disks but the first one. The workaround used in GRUB is the
command `map' (*note map::), like this:

     grub> map (hd0) (hd1)
     grub> map (hd1) (hd0)
>>

Try to put this in your grub config file:
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnonverify (hd1,0)
        chainloader +1

Hope this helps,

Alban Crequy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]