#641848 grub-pc: cannot read /grub/core.img correctly error

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Martin Kourim
Date:
2011-09-16 19:04:34 UTC
Severity:
normal
#641848#5
Date:
2011-09-16 19:02:09 UTC
From:
To:
Hi,

on my computer, grub is installed on /dev/sda1 partition. During upgrade to version 1.99-12 of grub-pc, the following error occured:
Setting up grub-pc (1.99-12) ...
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: cannot read `/grub/core.img' correctly.

Then following dialog is displayed:

"GRUB failed to install to the following devices:
/dev/sda1
Do you want to continue anyway? If you do, your computer may not start up properly.
Writing GRUB to boot device failed - continue?
<Yes> <No>"

If I select "No", the error above and the dialog box is repeated.

The installation run the grub-setup as:
/usr/sbin/grub-setup --force --directory=/boot/grub --device-map=/boot/grub/device.map /dev/sda1

Manual execution of the command above leads to the same error.

Thanks,
Martin Kourim