[Bug 585742] Re: grub-install /dev/md0 reports "grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.."

Phillip Susi psusi at ubuntu.com
Tue Apr 17 20:34:11 UTC 2012


You are not supposed to install grub to the raid array; install it to
the component disks instead.  It is best to do this with dpkg-
reconfigure grub-pc so that the system will remember what drives need
grub reinstalled when grub is upgraded in the future.


** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/585742

Title:
  grub-install /dev/md0 reports "grub-setup: warn: Attempting to install
  GRUB to a partition instead of the MBR. This is a BAD idea.."

Status in “grub2” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: grub

  In my 10.04 installation I tried to test RAID 1 software
  functionalities. After I removed one of my two disks (I made tests in
  a virtual box machine) I "inserted" a new one and then a synchronized
  my raid partitions. All went ok but when I tried to install grub on
  the new replaced disk with grub-install command I obtain the following
  error:

  $ grub-install /dev/md0
  /usr/sbin/grup-setup: warn: attempting to install GRUB to a partition instead of the MBR. This is a BAD idea
  /usr/sbin/grup-setup: error: embedding is not possibile, but this is required when the root device is on a RAID array or LVM volume

  So the message is clear: when root device is on a RAID array (this is
  my case and it is jsut /dev/md0) the above command is right, but nor
  with --force command I obtain no errors.

  grub version is 1.98-1ubuntu6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/585742/+subscriptions




More information about the foundations-bugs mailing list