Bug#673573: grub-probe: error: no such disk. when probing LVM device (problem with symbolic links)

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Tue May 22 20:24:58 UTC 2012


On 22.05.2012 21:58, Witold Baryluk wrote:

> On 05-21 21:59, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>>
>>>
>>> I also doesn't understand why grub-probe even touches /dev/sda , sda1 and sda2!
>>> It was asked explicitly for /dev/something other (like /dev/dm-1), and it still
>>> is the last thing it does. Even more, /dev/sda sda1 and sda2 are opened
>>> multiple times according to strace.
>>
>> GRUB accesses LVM through underlying devices since it's the only way to
>> do so on boot.
>> Could you try with 2.00~beta5?
>> -- 
>> Regards
>> Vladimir 'φ-coder/phcoder' Serbinenko
>>
> 
> 
> GRUB doesn't need access to any of LVM devices in my case! /boot with
> kernel and initrd is on the separate partition (/dev/sda1 using ext3).
> I'm talking about grub-probe an userland Linux program, which just
> searches for filesystem type and uuid of the root and swap partitions.
> This informations are used by update-grub Debian script and passed to
> Linux kernel using root= and resume= kernel parameters on boot. Grub
> doesn't need to interprete or read them in any way or access them in any
> way on boot.

We use the same code for simplicity of these both cases.

> 
> 
> 



-- 
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/20120522/9ac7ac7f/attachment.pgp>


More information about the Pkg-grub-devel mailing list