Installation to second disk confuses drive numbering
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
Performing a Dapper Flight 7 install to a secondary hard disc seems to confuse the installer. I already had a Dapper install on my computer's original 6.4GB hard disc (primary master). Bought a new 160GB hard disc, secondary master. BIOS detects this disc in the right place (note: has trouble with drive parameters - could be relevant?).
Running the Flight 7 install CD on this disc seems to work (partitioned into ReiserFS
and swap) until grub-install - it detects my install on the first disc and talks about installing to the first disc's MBR. This could be right still, provided the entry is added correctly to boot to the second disk without altering options for the first. However, on reboot grub stage 1.5 gets an error code 17 and halts.
I ran the CD in rescue mode, which seems to get the drives the wrong way round (new, big, secondary master as 0; old, small primary master as 1). Re-installing to MBR of old disc allows booting of old dapper install, so something clearly was mucked up when doing this. But cannot boot to second disk as far as I can tell. Removing drives and making just the new disk the primary master doesn't work. Attempting to re-write the MBR under this configuration leads to an error code 20 from the grub-install part of the rescue section of the CD.
Re-installing to a second disk seems like a reasonable upgrade path either OS-wise or hardware-wise (like me). And at the moment this causes the machine to be unbootable.
Changed in grub-installer: | |
status: | New → Confirmed |
I should clarify that I think there are three bugs here:
1) Installation to a second hard disk shouldn't default to installing grub to the first without any alternatives.
2) If anything is written to the first hard disc's MBR (e.g. updating MBR to say boot from second disc so BIOS boot order doesn't need to be changed by user?), it shouldn't make it non-bootable.
3) Writing to a second hard disc's MBR should work if chosen/in rescue mode. Even playing with grub-installer manually I can't make the second disk boot.
Using --recheck lists the drives in the right order.