Bug#601974: regression: grub-probe can not find /dev/xvda1 (block device inside XEN)
Vladimir 'φ-coder/phcoder' Serbinenko
phcoder at gmail.com
Sat Nov 6 22:46:43 UTC 2010
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?
>
The case with both device.map entry and fake device removed, this is the
correct way of doing it.
> Csillag
>
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
-------------- 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/20101106/045c611b/attachment.pgp>
More information about the Pkg-grub-devel
mailing list