Public bug reported:

Binary package hint: grub2

I set up my computer with a separate boot partition on /dev/sda1 (in the
hopes of speeding my boot) mounted as /boot.  However, the grub.conf
created by update-grub refers to files relative to the root parition
(/dev/sda8 on my system).  For instance, line 9 states

if [ -s /boot/grub/grubenv ]; then 
  have_grubenv=true
  load_env
fi

the problem is, on the boot partition grub2 boots from, the file is
properly refered to as /grub/grubenv.  Thus grub fails to think it has a
grubenv.  I should note that grub2 actually properly deals with the
partition internally.  Or at least if I comment out the if statement,
leaving

#if [ -s /boot/grub/grubenv ]; then 
  have_grubenv=true
  load_env
#fi

Things work as they should.  (at least as far as my default boot entries
are concerned).  So the problem really lies in /etc/grub.d/00_header,
where the if statement is generated.  But a similar issue might be in
other /etc/grub.d files as well.

I'm running Ubuntu 9.10, and grub2 1.97~beta4-1ubuntu4.1.

ProblemType: Bug
Architecture: i386
Date: Tue Feb  2 20:26:59 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: grub2 1.97~beta4-1ubuntu4.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: grub2
Uname: Linux 2.6.31-17-generic i686

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
grub2 does not properly deal with seperate boot partition
https://bugs.launchpad.net/bugs/516379
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to