From: "Hervé Guillemet" <herve@guillemet.org>
To: grub-devel@gnu.org
Subject: Re: Boot windows on external disk : "not a valid root device"
Date: Wed, 02 Jan 2013 02:05:41 +0100 [thread overview]
Message-ID: <50E387E5.8040309@guillemet.org> (raw)
In-Reply-To: <50E38046.7010202@gmail.com>
Le 02/01/2013 01:33, Vladimir 'φ-coder/phcoder' Serbinenko a écrit :
> On 02.01.2013 01:14, Colin Watson wrote:
>
>> On Wed, Jan 02, 2013 at 12:31:14AM +0100, Hervé Guillemet wrote:
>>> I have a new Asus N56VZ laptop and replaced the Windows hard drive by a
>>> SSD with Linux installed. EFI Grub2 successfully launchs Linux.
>>> Now I'd like to boot Windows from the original hard drive mounted by USB.
>>>
>>> No matter what I try, either using grub.cfg or command line, Grub's
>>> chainloader fails :
>>>
>>>> set root=(usb0,gpt1)
>>>> chainloader ($root)/EFI/Microsoft/Boot/bootmgfw.efi
>>> Error: not a valid root device.
>>>
>>> The content of the drive may be seen using "ls".
>>>
>>> What's the exact meaning of "not a valid root device" ?
>>
>> It indicates that either no UEFI device handle corresponding to that
>> device was found, or that no UEFI protocol interface is available for
>> that device handle. In other words, "can't work out how to talk to that
>> device using UEFI".
>>
>> I think your device naming is dubious: as far as I can see, GRUB's
>> efidisk module does not fully support calling a disk "usb0". The "ls"
>> command should show you the list of available disks and partitions, or
>> you can type "set root=(" and then use tab-completion. If the disk is
>> truly only accessible as "usb0", then perhaps efidisk needs some work to
>> support that.
>>
>
> Other than loopback, all devices follow the naming scheme insluding type
> prefix as detailed in manual. "usbN" means that the device is accessed
> using GRUB own modules. To use chainloader on EFI you have to avoid
> loading any USB modules and use hdX names.
Ok, I tried, but then the external disk is not visible and ls only shows
me hd0. Can you see a possible solution ?
--
Hervé
next prev parent reply other threads:[~2013-01-02 1:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-01 23:31 Boot windows on external disk : "not a valid root device" Hervé Guillemet
2013-01-02 0:14 ` Colin Watson
2013-01-02 0:33 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-01-02 1:05 ` Hervé Guillemet [this message]
2013-01-02 1:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-01-02 20:48 ` Hervé Guillemet
2013-01-02 0:36 ` Hervé Guillemet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E387E5.8040309@guillemet.org \
--to=herve@guillemet.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.