Bug#427289: more LVM stuff (Re: Bug#427289: grub-probe: error: unknown device when / is an encrypted LVM)

Robert Millan rmh at aybabtu.com
Wed Jun 6 18:14:39 UTC 2007


On Mon, Jun 04, 2007 at 11:05:05PM +0200, Jeroen Dekkers wrote:
> 
> GRUB shouldn't load anything from any other partition than /boot. The
> whole reason that we have /boot partitions is that it might be
> possible that the rest isn't readable by GRUB.
> 
> The reason we have grub-probe is to find out which modules need to be
> in core.img. You're currently using grub-probe for other things and
> that isn't always going to work. Grub-probe won't be able to parse
> encrypted LVM volumes for example, and thus grub-probe --target=fs /
> is never going to work if your / is encrypted.

I've arranged update-grub (see my last commit) to make it tollerant to
unreadable /, and just disable non-critical features when this happens,
instead of aborting.

But, AFAICT the LVM readability issue I forwarded is still a problem, since
it could apply to /boot as well.

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list