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

Bug#583200: cdrom: installing GRUB on second disk of a two-disk system overwrites the wrong MBR

Package: cdrom
Severity: important

A fresh install on the second disk of a two-disk system fails to choose
the correct MBR and overwrites MBR of first disk.

How to reproduce:
SDA with something installed
SDB ready for new install

If you repartition /dev/sdb and include / on this disk. On the final step of
installation the installer asks if you want to install on the MBR. If you
choose YES, MBR of /dev/sda is written and not /dev/sdb.

When manually repaired, there is another issue with grub installation:
menu.lst is configured to have root partition at (hd1,X) and it should be
(hd0,X) for proper boot on this disk.

So, when installing on a multiple disk system and not on first disk the
installer show do one of this three things:
- complain about and refuse installing on a disk different than first one
- warn that first disk MBR will be overwritten to let user decide
- (preferred) install on MBR of disk containig root partition (/) and
  configure menu.lst so it has (hd0) as GRUB root -- device (hd0) /dev/sdX --


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Reply to: