Bug#506582: grub2 will happily make unbootable systems with /boot on LVM

Jim Studt jim at studt.net
Wed Apr 1 04:37:15 UTC 2009


Sorry, I can't do that. I sold the company that uses these machines  
and no longer have access.

On Mar 31, 2009, at 8:31 PM, Robert Millan wrote:

> On Sat, Nov 22, 2008 at 01:45:15PM -0600, Jim Studt wrote:
>> Package: grub-pc
>> Version: 1.96+20080724-12
>>
>> update-grub will happily work with kernels on an LVM partition even
>> though the lvm module is not installed in the MBR.
>> The fix for this may well be to have...
>> 	GRUB_PRELOAD_MODULES=lvm
>> ... in /etc/default/grub and to do a grub-install, but that option is
>> not documented anywhere and is only discoverable by reading the
>> 00_header script.
>>
>> update-grub should detect if it is putting LVM or RAID mounted  
>> kernels
>> and the corresponding modules are not in GRUB_PRELOAD_MODULES and  
>> print a
>> warning lest it render the system unbootable.
>
> This is already handled by update-grub.  Specifically by
> prepare_grub_to_access_device in util/update-grub_lib.in (now
> grub-mkconfig_lib.in).
>
> Your bug report doesn't contain enough information to diagnose why  
> this
> didn't work for you.  Please provide all the info that is usually
> included by reportbug.
>
> Thanks
>
> -- 
> Robert Millan
>
>  The DRM opt-in fallacy: "Your data belongs to us. We will decide  
> when (and
>  how) you may access your data; but nobody's threatening your  
> freedom: we
>  still allow you to remove your data and not access it at all."






More information about the Pkg-grub-devel mailing list