Bug#601974: regression: grub-probe can not find /dev/xvda1 (block device inside XEN)
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Wed Nov 17 09:45:16 UTC 2010
Please keep the bug CC'ed.
Please test the attached patch
On 11/01/2010 11:30 PM, Csillag Kristof wrote:
> 2010-11-01 18:26 keltezéssel, Vladimir 'φ-coder/phcoder' Serbinenko írta:
>
>> [...]
>>
>>> With new grub, this returns:
>>>
>>> # grub-probe -t abstraction --device /dev/xvda1 -v
>>> grub-probe: info: /dev/xvda1 starts from 0.
>>> grub-probe: info: opening the device hd0.
>>> grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your
>>> device.map.
>>>
>>> As I have already shown, device.map contains this:
>>>
>>> (hd0) /dev/xvda
>>>
>>> so it might try to open /dev/xvda, which is a fake device, it does not
>>> exist.
>>> Only xvda1 and xvda2 exists.
>>> Old grub could cope with this.
>>>
>>>
>>>
>>>
>>>
>> Could you try removing this entry?
>>
>>
> With line from device.map removed:
>
> # grub-probe -t abstraction --device /dev/xvda1 -v
> grub-probe: info: /dev/xvda1 starts from 0.
> grub-probe: info: opening the device /dev/xvda.
> grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your
> device.map.
>
> The result is different, but still does not work.
>
> I have also tried to remove the (fake) /dev/xvda device. The result is:
>
> # grub-probe -t abstraction --device /dev/xvda1 -v
> grub-probe: info: /dev/xvda1 starts from 0.
> grub-probe: info: opening the device /dev/xvda.
> grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your
> device.map.
>
> When testing with devices.map entry, but fake xvda removed:
>
> # 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: error: cannot find a GRUB drive for /dev/xvda1. Check your
> device.map.
>
> * * *
>
> Anything else to test?
>
> Csillag
>
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostdisk.diff
Type: text/x-diff
Size: 601 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101117/fe33ad8c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101117/fe33ad8c/attachment.pgp>
More information about the Pkg-grub-devel
mailing list