prefix is not set correctly in grub2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Invalid
|
High
|
Ara Pulido | ||
grub |
New
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This bug report based on lp:1097570 .
An $prefix was introduced to fix grub2-signed can not find the right device when there are two filesystems containing the file '.disk/info'.
But after dig, I had an recovery partition(hd0,1) which had '.disk/info', and when start the daily-live image or 13.10 image from DVD we found the prefix is '(hd0,1)/boot/grub' , so it means the prefix was set by 'search' command or the $prefix is zero or do not exist.
grub> cat (memdisk)/grub.cfg
if [ -z "$prefix" -o ! -e "$prefix" ]; then
if ! search --file --set=root /.disk/info; then
fi
set prefix=
fi
if [ -e $prefix/
source $prefix/
else
source $prefix/grub.cfg
fi
And it's a little hard for me to debug it, if any idea which I can help to locate the reason, feel free let me know.
Thanks a lot!
Changed in oem-priority: | |
assignee: | nobody → Ara Pulido (apulido) |
importance: | Undecided → High |
We will keep tracking this bug with https:/ /bugs.launchpad .net/oem- priority/ +bug/1097570