On 18.01.2012 03:54, Keshav P R wrote:
Hi,
I tried to manually chainload UEFI shell from grub2 terminal in
x86_64 firmware. I get
insmod part_gpt
insmod fat
chainloader (hd0,gpt1)/shellx64.efi
error: not a valid root device
Setting "root" isn't just for convenience inside GRUB, with some loader
(multiboot, chainloader, bsd) it's actually passed to the payload as its
root. If you forget to set it, it obviously won't work
If I use
set pager=1
set debug=all
chainloader (hd0,gpt1)/shellx64.efi
[long rows of text - but no visible error]
boot
[shell launched]
However a menuentry like
menuentry "UEFI Shell" {
search --fs-uuid --no-floppy --set=root ${_uefi_sys_fs_uuid}
chainloader (${root})/shellx64.efi
}
works. I can reproduce this error everytime I try to manually
chainload from grub2 terminal, but does not occur even once when
loaded via menuentry. Thanks in advance.
Regards.
Keshav
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel