grub installs to "(hd0)" without asking which can cause data corruption

Bug #512074 reported by Mark Weaver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: debian-installer

Ubuntu 9.10 server install CD, amd64.

I have 7 hard disks which were detected as sda->sdg. sda->f are part of a RAID-5 volume, the entire disk is used and there is no partition table.

I installed to paritions on /dev/sdg, and at the end of the installation grub-install "(hd0)" was run automatically.

grub's device map is:

(hd0)->sda
(hd1)->sdb
...
(hd6)->sdg

this caused:

a) grub not to be installed on the boot disk leaving the system unbootable;
b) data corruption on the RAID set as grub does not like unpartioned disks. It reports:

Attempting to install GRUB to a partitionless disk. This is a BAD idea.

and then continues anyway, scribbling over some random sectors.

Colin Watson (cjwatson)
affects: debian-installer (Ubuntu) → grub-installer (Ubuntu)
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.