* "not a valid root device" error in UEFI chainloader command
@ 2012-01-18 2:54 Keshav P R
2012-01-18 12:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 3+ messages in thread
From: Keshav P R @ 2012-01-18 2:54 UTC (permalink / raw)
To: grub-devel
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
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: "not a valid root device" error in UEFI chainloader command
2012-01-18 2:54 "not a valid root device" error in UEFI chainloader command Keshav P R
@ 2012-01-18 12:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-18 13:02 ` Keshav P R
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2012-01-18 12:38 UTC (permalink / raw)
To: The development of GNU GRUB
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: "not a valid root device" error in UEFI chainloader command
2012-01-18 12:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2012-01-18 13:02 ` Keshav P R
0 siblings, 0 replies; 3+ messages in thread
From: Keshav P R @ 2012-01-18 13:02 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko
Cc: The development of GNU GRUB
2012/1/18 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>:
> 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
>
So what you are saying is I have to set the root variable before
calling chainloader?
- Keshav
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-18 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 2:54 "not a valid root device" error in UEFI chainloader command Keshav P R
2012-01-18 12:38 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-18 13:02 ` Keshav P R
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.