Bug#601974: grub-probe can not find /dev/xvda1 (block device inside XEN)
Claudius Peschke
C.Peschke at gsi.de
Wed Jun 1 17:24:39 UTC 2011
Hello,
to solve the problem for me, i have copied a few lines from grub2 version 1.99
to the old squeeze version 1.98+20100804-14 and applied the patch
(hostdisk.diff) from Vladimir 'φ-coder/phcoder' Serbinenko to it. With the
attached patch applied, the grub-probe command returns:
# grub-probe -t abstraction --device /dev/xvda1 -v
grub-probe: info: Cannot stat `/dev/xvda', skipping.
grub-probe: info: /dev/xvda1 starts from 0.
grub-probe: info: opening the device /dev/xvda.
grub-probe: warn: disk does not exist, so falling back to partition device
/dev/xvda1.
grub-probe: info: opening /dev/xvda1.
grub-probe: info: the size of /dev/xvda1 is 12582912.
and update-grub works without error.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen_raw_disk.patch
Type: text/x-patch
Size: 1955 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110601/6eb733e1/attachment.bin>
More information about the Pkg-grub-devel
mailing list