Ubuntu

Cannot save_env on LVM (vg_1-boot)/grub/grubenv

Reported by syscon-hh on 2010-08-27
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: grub2

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

I installed my Lucid Lync inside a LVM-System with seperate (vg_1-boot) and configured the

 * /etc/default/grub

  - GRUB_DEFAULT=saved
  - GRUB_SAVEDEFAULT=true

With these configuration (either others) I cannot save the selected menu item to the file

 * (vg_1-boot)/grub/grubenv

Using a normal formated boot-partition it works as expacted.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: grub-common 1.98-1ubuntu7
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
Architecture: i386
Date: Fri Aug 27 12:22:54 2010
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: grub2

syscon-hh (syscon-kono) wrote :
summary: - Cannot procidesave_env on LVM (vg_1-boot)/grub/grubenv
+ Cannot save_env on LVM (vg_1-boot)/grub/grubenv
Colin Watson (cjwatson) wrote :

Indeed, still true in current trunk:

static grub_err_t
grub_lvm_write (grub_disk_t disk __attribute ((unused)),
                 grub_disk_addr_t sector __attribute ((unused)),
                 grub_size_t size __attribute ((unused)),
                 const char *buf __attribute ((unused)))
{
  return GRUB_ERR_NOT_IMPLEMENTED_YET;
}

This method would need to be implemented (carefully!).

Changed in grub2 (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Colin Watson (cjwatson) wrote :

We won't be applying such a patch for the safety reasons given upstream. Some other method of handling save_env in such environments would have to be invented.

This is still not working in quantal.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.