Installer installs grub to wrong hard disk

Bug #32382 reported by Janne Kalliomäki
14
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Tested on Dapper Flight 4 Kubuntu install CD. As the installation progressed to installing bootloader, the installed informed me that should be safe to install the boot loader to the master boot record of your first hard drive. As I confirmed the installation, it flashed in the screen that installing grub to (hd0).

After the boot, the computer was left in unbootable stage. I had to manually install grub to /dev/hdb (although the / partition is in /dev/hda (!)) to be able to boot the computer.

The installer text was misleading and/or there should be another way to configure the bootloader. Additionally, it is not clear to me why grub thinks that my hard first hard drive is /dev/hdb.

Motherboard used: ASUS A8N7X Deluxe (NForce 2 chipset)

Please ask for more information if needed.

Revision history for this message
Björn Röder (overgee) wrote :

I don't know if it is the same kind of bug, but whenever grub is updated it will set bootable flag to the wrong partition.
It should be set to hda1. Instead I'll have to switch it manually from hda4 (Windows partition) to hda1.

Revision history for this message
IbeeX (ibrkanac) wrote :

Hi I filled simillar bug here

https://launchpad.net/malone/bugs/32357

Revision history for this message
Simon Law (sfllaw) wrote :

Janne,

Could you please provide more information about your system?

How many hard disks are in your computer?

Is your BIOS set to boot from the primary slave disk? That would be /dev/hdb.

Could you please attach the output of the `dmesg` command, soon after you
boot your computer?

Thanks.

Changed in debian-installer:
status: Unconfirmed → Needs Info
Revision history for this message
IbeeX (ibrkanac) wrote :
Download full text (24.9 KiB)

Here is dmsg from my PC

and my boot disk in BIOS is /dev/sda1

[ 0.000000] Bootdata ok (command line is root=/dev/sda3 ro quiet splash)
[ 0.000000] Linux version 2.6.15-21-amd64-generic (buildd@crested) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Fri Apr 21 16:42:20 UTC 2006
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
[ 0.000000] BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] ACPI: RSDP (v000 Nvidia ) @ 0x00000000000f8320
[ 0.000000] ACPI: RSDT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fff3040
[ 0.000000] ACPI: FADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fff30c0
[ 0.000000] ACPI: SSDT (v001 PTLTD POWERNOW 0x00000001 LTP 0x00000001) @ 0x000000007fff98c0
[ 0.000000] ACPI: SRAT (v001 AMD HAMMER 0x00000001 AMD 0x00000001) @ 0x000000007fff9a00
[ 0.000000] ACPI: MCFG (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fff9b00
[ 0.000000] ACPI: MADT (v001 Nvidia AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007fff9800
[ 0.000000] ACPI: DSDT (v001 NVIDIA AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x0000000000000000
[ 0.000000] SRAT: PXM 0 -> APIC 0 -> Node 0
[ 0.000000] SRAT: Node 0 PXM 0 0-a0000
[ 0.000000] SRAT: Node 0 PXM 0 0-80000000
[ 0.000000] Using 63 for the hash shift.
[ 0.000000] Bootmem setup node 0 0000000000000000-000000007fff0000
[ 0.000000] On node 0 totalpages: 516085
[ 0.000000] DMA zone: 3020 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 513065 pages, LIFO batch:31
[ 0.000000] Normal zone: 0 pages, LIFO batch:0
[ 0.000000] HighMem zone: 0 pages, LIFO batch:0
[ 0.000000] Nvidia board detected. Ignoring ACPI timer override.
[ 0.000000] ACPI: PM-Timer IO Port: 0x4008
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 15:15 APIC version 16
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] disabled)
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: BIOS IRQ0 pin2 override ignored.
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
[ 0.000000] ACPI: INT_SRC_O...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debian-installer (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.