From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TqCyP-0006vE-7X for mharc-grub-devel@gnu.org; Tue, 01 Jan 2013 20:18:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCyL-0006uT-Ok for grub-devel@gnu.org; Tue, 01 Jan 2013 20:18:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqCyK-0000zd-IX for grub-devel@gnu.org; Tue, 01 Jan 2013 20:18:21 -0500 Received: from mail-ea0-f173.google.com ([209.85.215.173]:48879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCyK-0000zP-Ak for grub-devel@gnu.org; Tue, 01 Jan 2013 20:18:20 -0500 Received: by mail-ea0-f173.google.com with SMTP id i13so5523444eaa.18 for ; Tue, 01 Jan 2013 17:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=bx8iPcH2qB5mQK51vrHaJpF0M/+DlqZGd74TJh+viws=; b=yeZxZeIE54Qm/YUvKAK1SBw9bzV0kOoBuabxBduCQXfWtvuwnnxmRhWnGqbu7SF0ot tC6TxELlAdheCi8U7FKqrYFgSSP+Tlrt6uFCczXHpgONUSA5eNq6P+C4rUE4s8FR0wje F1wrO69CtzTmH1QSoqJDeBL4FQOAHf1E/Wd6IEHhHKRpkK6arTkNXQL8tzKtGgFevNT7 j0TDbJ5AaAv1hGkyDwE6FVIYl73N4zhAufZGll5oC6r2dXbmbzQbGDDoXieX5nuefSyC H9+nvpJtFJLyCwjbu8bNIBRGGpVkeCByM6RZ2Q/tJv3TiUxldRLh1uYzLpYhfrE+gbRA Tb6Q== X-Received: by 10.14.208.137 with SMTP id q9mr120513868eeo.28.1357089498203; Tue, 01 Jan 2013 17:18:18 -0800 (PST) Received: from debian.x201.phnet (55-9.62-81.cust.bluewin.ch. [81.62.9.55]) by mx.google.com with ESMTPS id q44sm94418135eep.5.2013.01.01.17.18.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Jan 2013 17:18:16 -0800 (PST) Message-ID: <50E38AC9.4050102@gmail.com> Date: Wed, 02 Jan 2013 02:18:01 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Boot windows on external disk : "not a valid root device" References: <50E371C2.7000909@guillemet.org> <20130102001448.GC5547@riva.dynamic.greenend.org.uk> <50E38046.7010202@gmail.com> <50E387E5.8040309@guillemet.org> In-Reply-To: <50E387E5.8040309@guillemet.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig69C89FB72B2FE91C71C0E8AF" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.215.173 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 01:18:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig69C89FB72B2FE91C71C0E8AF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02.01.2013 02:05, Herv=C3=A9 Guillemet wrote: > Le 02/01/2013 01:33, Vladimir '=CF=86-coder/phcoder' Serbinenko a =C3=A9= crit : >> On 02.01.2013 01:14, Colin Watson wrote: >> >>> On Wed, Jan 02, 2013 at 12:31:14AM +0100, Herv=C3=A9 Guillemet wrote:= >>>> I have a new Asus N56VZ laptop and replaced the Windows hard drive b= y 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=3D(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 t= hat >>> 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, o= r >>> you can type "set root=3D(" 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 ty= pe >> 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. >=20 > Ok, I tried, but then the external disk is not visible and ls only show= s > me hd0. Can you see a possible solution ? >=20 It probably means that EFI doesn't see you USB disk. Be sure that it's connected on poweron and be sure to use recent GRUB. If still doesn't help look if it's seen through EFI shell. For using chainloader you need disk to be visible through EFI, otherwise bootmgfw.ef won't be able to find rest of the files. If the EFI doesn't see the USB disk in shell and/or in boot device selection you should contact your manufacturer. >=20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig69C89FB72B2FE91C71C0E8AF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlDjiskACgkQNak7dOguQglrWAD/eHdsJqFOcjxRU3M/xAdDXwCm adI5b4R1DLilum0KWHAA/1LQcIuecnShy5/C7SV1ne0ADhwqak0cdzm4uagH3z42 =RuVD -----END PGP SIGNATURE----- --------------enig69C89FB72B2FE91C71C0E8AF--