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 19:58:32 UTC 2012


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.



-- 
Witold Baryluk





More information about the Pkg-grub-devel mailing list