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

Bug#276100: grub installs to wrong drive or is configured incorrectly



reassing 276100 grub-installer
retitle 276100 Should take boot sequence defined in BIOS into account
tags 276100 d-i
thanks

On Tuesday 12 October 2004 02:35, dnk0h@yahoo.com wrote:
> (1) any of the guided partition schemes using largest
> block of free space wanted to create an active primary
> partition for the root filesystem after the extended
> partition.

I'm guessing that the free space started _after_ the end of the extended 
partition. If the free space had been enclosed within the existing extended 
partition it should have created the new partitions as logical.

> (2) first attempt: allowed d-i to install grub on mbr
> of 'first drive' as it did properly detect the
> existing windows install (1 of them, identified as
> 2000/xp probably because of the xp bootloader).
> however, it must have considered the ide drive as the
> 'first drive' as that's where it put grub.
>
> second attempt: knowing the above, manually chose
> /dev/sda to install grub to mbr of the sata drive. it
> installed there as expected, however since d-i saw the
> ide as the 'first drive' and sata as the second it
> configured grub to boot to hd1,0 for windows and hd1,5
> for linux.

> (3) which caused grub to not boot anything. had to
> manually edit grub paramaters to read hd(0,5) to boot
> linux. once to console, had to edit
> /boot/grub/menu.lst to read hd(0,0) for windows and
> hd(0,5) for linux entries.

It looks like the boot sequence definition in your BIOS is different from the 
sequence in which the disks are detected by d-i.
I'll reassign this report to grub-installer, but I'm not sure if we will be 
able to do autodetect this. Maybe we should just add a question which is the 
primairy boot device if different types of disk controller are detected.

> (4) during base-config's tasksel, i chose only manual
> package selection and got a slew of pre-selected
> packages (over 80, totalling 150+mb installed).

This is because these packages are priority 'standard', the definition of 
which is that they will be installed by default.

Cheers,
FJP



Reply to: