Public bug reported:

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
                search --file --set=root /.disk/mini-info
        fi
        set prefix=($root)/boot/grub
fi
if [ -e $prefix/$platform/grub.cfg ]; then
        source $prefix/$platform/grub.cfg
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!

** Affects: grub
     Importance: Undecided
         Status: New

** Affects: oem-priority
     Importance: Undecided
         Status: New

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

** Also affects: grub
   Importance: Undecided
       Status: New

** Also affects: oem-priority
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1263129

Title:
  prefix is not set correctly in grub2

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1263129/+subscriptions

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

Reply via email to