Bug#601974: regression: grub-probe can not find /dev/xvda1 (block device inside XEN)

Csillag Kristof csillag.kristof at gmail.com
Wed Nov 17 17:11:59 UTC 2010


2010-11-17 17:07 keltezéssel, Vladimir 'φ-coder/phcoder' Serbinenko írta:
>
> Hmm looks like Debian lags behind more than I thought. The version in
> question is upstream trunk available as bzr checkout from
> http://bzr.savannah.gnu.org/r/grub/trunk/grub/
> Perhaps it needs no patching at all. Could you test? If upstream works
> it will be more of a question of propagating relevant upstream commit.
>   

Compiling the trunk version was not smooth: it failed on a warning
because of compiler directives. Needed to override this manually.

Results:

intranet:~/g/grub# ./grub-probe  -t fs -v /
./grub-probe: info: changing current directory to /dev.
./grub-probe: info: changing current directory to story.
./grub-probe: info: changing current directory to snd.
./grub-probe: info: changing current directory to net.
./grub-probe: info: changing current directory to shm.
./grub-probe: info: changing current directory to network.
./grub-probe: info: changing current directory to pts.
./grub-probe: info: changing current directory to mapper.
./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 20971520.
ext2

So, yes, trunk version works.

Best wishes:

    Kristof





More information about the Pkg-grub-devel mailing list