Bug#486804: grub-pc: grub.cfg has wrong root device set on LVM with /usr on a different lv than /
Robert Millan
rmh at aybabtu.com
Wed Jun 18 18:03:10 UTC 2008
On Wed, Jun 18, 2008 at 11:01:07AM +0200, florian kriener wrote:
>
> I suspect
>
> set root=(vg-usr)
>
> to be the culprit here.
First of all, I see that you don't have a "insmod lvm" even though it should be
there. I think the attached patch should fix that (please confirm; you can
apply directly to update-grub_lib).
> ### BEGIN /etc/grub.d/05_debian_theme ###
> set root=(vg-usr)
> search --fs-uuid --set b22901d9-92ac-4e02-9b5b-9225451ab970
> insmod png
> if background_image /share/images/desktop-base/debian-blueish-wallpaper-640x480.png ; then
> set color_normal=black/black
> set color_highlight=magenta/black
> else
> set menu_color_normal=cyan/blue
> set menu_color_highlight=white/blue
> fi
> ### END /etc/grub.d/05_debian_theme ###
Then we have 05_debian_theme setting root and not setting it back to what it
should be to access /boot, and I think I know why. Attached patch includes a
hunk to address that, too (please confirm).
Thanks
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prepare_grub_to_access_device.diff
Type: text/x-diff
Size: 1177 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080618/a1f2c781/attachment.diff
More information about the Pkg-grub-devel
mailing list