Package: grub-pc
Version: 1.96+20080724-1

Hi, I've been able to reproduce this bug with the most recent version in sid.

This is from a fresh VMware Fusion VM, installed via netinst of sid
using the Lenny Beta 2 d-i images.

grub-install fails when it hits grub-setup with:

grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: error: Cannot read `/boot/grub/core.img' correctly

Disk info and a full log are attached.

Thanks,
-Dan
# Output of grub-setup -v '(hd0,1)' with Grub2 on Debian Sid, version 
1.96+20080724-1
# /dev/sda1 (hd0,1) is an XFS volume holding /boot.
# /dev/sda2 (hd0,2) is LVM, and holds the rest of the system.
# /dev/sdb1 (hd1,1) is LVM, and holds miscellaneous files.

grub-setup: info: `/dev/fd0' looks like a floppy drive, skipping
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: opening the device `/dev/sda2'
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: opening the device `/dev/sdb'
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: opening the device `/dev/sdb1'
grub-setup: info: the size of hd1 is 41943040
grub-setup: info: changing current directory to /dev/mapper
grub-setup: info: changing current directory to /dev
grub-setup: info: changing current directory to storage
grub-setup: info: changing current directory to system
grub-setup: info: /dev/sda1 starts from 63
grub-setup: info: opening the device hd0
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: DOS partition 0 starts from 63
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: setting the root device to `hd0,1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: dos partition is 0, bsd partition is -1
grub-setup: info: will leave the core image on the filesystem
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from 
GRUB
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from 
GRUB again
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from 
GRUB again
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from 
GRUB again
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from 
GRUB again
grub-setup: info: the size of hd0 is 16777216
grub-setup: info: opening the device `/dev/sda'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: opening the device `/dev/sda1'
grub-setup: info: couldn't open the core image
grub-setup: info: error message = out of partition
grub-setup: error: Cannot read `/boot/grub/core.img' correctly

Reply via email to