[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "not a valid root device" error in UEFI chainloader command

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: "not a valid root device" error in UEFI chainloader command
Date: Wed, 18 Jan 2012 13:38:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

On 18.01.2012 03:54, Keshav P R wrote:
      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]
[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.



Grub-devel mailing list

Vladimir 'φ-coder/phcoder' Serbinenko

reply via email to

[Prev in Thread] Current Thread [Next in Thread]