[Wylug-help] grub loader
Don Magee
don at donsnet.dyndns.org
Sat May 22 10:16:16 BST 2004
I've got this to work with the following grub.conf entry, more by trial
and error than intellect.
title windows XP
map (hd1) (hd0)
root (hd1,0)
chainloader +1
The disk setup is
hda1 windows
hdb dvd drive
hdc1 ntfs data partition
hdd1 /boot
hdd4 / linux opsys
The bios is a 2003 amibios on a soltek motherboard set to boot from hdd.
The best theory so far is that the bios ignores the dvd drive and
presents grub with
primary master ide0 (hd0)
secondary master ide1 (hd1)
secondary slave ide2 (hd2)
if set to boot from the primary master
but remaps to boot from the secondary slave
primary master ide1 (hd1)
secondary master ide2 (hd2)
secondary slave ide0 (hd0)
Does this make sense?
It isn't very satisfactory getting things to work by poking around in
the dark. Does anyone know how you to get this to work without using
trial and error?
Don Magee
On Thu, 2004-05-20 at 00:36, Don Magee wrote:
>
> Any grub experts out there?
>
> I have a machine with the /boot partition on /dev/hdd1 and boot it by
> selecting the secondary slave as the boot device from the bios.
>
> The entry in grub.conf that boots linux from hdd4 looks like:
>
> root (hd0,0) # even though the partition is on hdd (hd3)
> kernel /vmlinuz-2.4.22-1 ro root=/dev/hdd4
> initrd /initrd-2.4.22-1.img
>
> I want to boot windows from the primary master. But no combination of
> root and map commands seems to work in grub.conf.
>
> rootnoverify (hd0,0)
> chainloader +1
>
> just crashes the machine. So does hd1, hd2 and hd3.
>
> If the boot partition is on the first drive then booting from other
> partitions is fairly straight forward. But the bios seems to have
> already remapped the drives.
>
> Anyone know how to do it?
>
>
>
>
> Don Magee
>
>
>
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> http://list.wylug.org.uk/mailman/listinfo/wylug-help
More information about the Wylug-help
mailing list