On Tuesday 01 January 2008 16:00:51 BRM wrote:

> I got it working by setting up grub.conf to focus on hd0, while at the
> grub prompt I referred to it as hd1. That is, imho, just weird, and
> another reason why LILO wins out in my book as LILO matches Linux's device
> names pretty well. 

I suggest that you create /boot/grub/device.map with the bootable devices 
listed in the order in which the BIOS presents them to grub at boot time*. 
This will cause the run-time grub to use them in the same order as the 
boot-time grub. The grub manual tells you how to create and use this file. 
Here's mine:

$ cat /boot/grub/device.map
(hd0)   /dev/hda
(hd1)   /dev/sda
(hd2)   /dev/sdb
(hd3)   /dev/sdc
(hd4)   /dev/sdd

Note also that you can play various tunes on the boot-order theme by setting 
values in your BIOS. In my case I can select IDE or SATA to boot first, and 
separately I get a list of connected bootable devices to put in my 
preferred order. That setting seems to override the first one, so it's the 
only one I use nowadays. I think I have another setting as well, but I 
don't want to reboot the machine just to find out.

You should be able to get realities to match by judicious use of these 
settings.

* This is an advantage of grub's naming convention. If you interrupt the 
boot sequence and use grub to show the partitions on each drive in turn 
(hd0, hd1, ...), regardless of their interface types, you can thenceforward 
be confident of whether, say, hda or sda is presented first. If you had to 
specify each type separately, you still wouldn't know that.

-- 
Rgds
Peter
-- 
[EMAIL PROTECTED] mailing list

Reply via email to