grub2 does not properly deal with seperate boot partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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.
I'm running Ubuntu 9.10, and grub2 1.97~beta4-
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)
NonfreeKernelMo
Package: grub2 1.97~beta4-
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: grub2
Uname: Linux 2.6.31-17-generic i686
Thanks for your report. We fixed this in Lucid as bug 478035; I hope to get round to backporting that fix to Karmic at some point ...