On Aug 23, Eric BARTHEL wrote:
> Hi,
> I'm Eric BARTHEL living in France and working under Windows 98 SE
> and Linux Mandrake 7.1 on a PC with Abit SL6 (i815) motherboard, a
> Tekram DC390U2w SCSI Adapter and two hard drives : an IBM 10 Go on
> second IDE port, and an IBM 8.5 Go SCSI drive on the adapter
> port. Both are detected with CHS mode, the IDE by the motherboard BIOS
> and the SCSI by the adapter BIOS.
> 
> The IDE drive is the first for Grub, (hd0=/dev/hdd) and contains all
> files. The SCSI drive contains the Windows system on the first
> partition, and the linux kernel on the sixth. (hd1=/dev/sda).
> 
> With the latest 0.5.95 version of grub, trying to reverse the order
> of the drives (hd0) and (hd1) with the map command of the grub shell,
> I did'nt succeed to have SCSI as the virtual first drive. I don't
> understand why! My syntax is  grub > map (hd0) (hd1) and then grub >
> map (hd1) (hd0). The result is that grub find "stage1" file always on
> (hd1)...

map should only be used to boot proprietary OSes that can't be booted
from the second hard disk, like DOS/Windows.  It doesn't work with
grub shell.

Under grub shell you can use the "device" command.  This is especially
useful, if grub shell doesn't put the drives in the same order as the
BIOS.  Or even better, use the --device-map parameter (look in the
manual).  But only do that to match the BIOS disk order.

> Is it the good syntax? May I map the drives at the begin of my
> menu.1st file or only in the part concerning the boot of Windows?

You should only use map in the part where it is necessary,
i.e. booting Windows from second hard disk.

  Jochen

Reply via email to