Bug#673573: grub-probe: error: no such disk. when probing LVM device (problem with symbolic links)
Witold Baryluk
baryluk at smp.if.uj.edu.pl
Tue May 22 20:34:18 UTC 2012
On 05-22 22:24, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> 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.
Ah, sorry then.
Clarly something is wrong with symlink resolving algorithm, because when
I ask for /dev/dm-1 it works, but when I use
/dev/mapper/sredniczarny-root it doesn't. :(
I will try newer version.
Regards,
Witek
--
Witold Baryluk
More information about the Pkg-grub-devel
mailing list