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
signature.asc
Description: OpenPGP digital signature

