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

Bug#249049: INSTALL REPORT



> The grub-installer is quite confused about hdc being the first BIOS
> disk, but that is to be expected I guess.

I don't think having hc as the first disk is that uncommon, so we
should try to make this work.  What problems did you encounter
exactly?

Onboard PATA controller:
Primary master == hda: Maxtor 4D080H4, ATA DISK drive
Primary slave == hdb: JLMS XJ-HD166S, ATAPI CD/DVD-ROM drive
Secondary master == hdc: Maxtor 6Y120L0, ATA DISK drive

The disk on SM is set to boot in BIOS.

If I answer the "install in MBR" question with a yes, it executes grub-install (hd0) --> the boot sector lands on the wrong disk. If I chose no, and chose (hd1) I get a grub prompt, but the "root disk" is set to (hd1,1), where there isn't even a partition. Easily fixed by editing menu.list, but ...

grub-install can use device nodes as arguments, so the default call could be:
grub-install /dev/??? (node of disk on which /boot resides)
and the 'root' entry in menu list set to
(hd0,?). ? being the partition numer of the partition that has /boot

That way the boot sector should land on the right disk, and grubs 'root' entry, since (hd0) at boot-time seems to be the disk that was booted from in all cases. Or not?

Cheers

C




Reply to: