From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TqCHJ-0000QI-5l for mharc-grub-devel@gnu.org; Tue, 01 Jan 2013 19:33:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCHE-0000P6-GV for grub-devel@gnu.org; Tue, 01 Jan 2013 19:33:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqCHB-00062L-I7 for grub-devel@gnu.org; Tue, 01 Jan 2013 19:33:48 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:59241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqCHB-00061n-BA for grub-devel@gnu.org; Tue, 01 Jan 2013 19:33:45 -0500 Received: by mail-ee0-f48.google.com with SMTP id b57so6774624eek.35 for ; Tue, 01 Jan 2013 16:33:44 -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=F966WqmIqnS4PeELPbRWwEpgLYoIuIYN69VQT7q7TYY=; b=xbvht0lmT9l+2SiydveKnhue4xZ5w+fRHCx8QHLrlQSYhDlXkFcmV/bKbmWVsu403F klvKERLKRITKRzdE1AVYJNxYhD9nwgOJjGqmKL8bDGZZWQSzs1EMzPSpDqwKlpgW14nT qL6uWCSjNVzgLxImPBGaN+1V2JVcIvqFaSWRFAszNqkQQhsbmhF2gVG3a9b/X1YAkQYl +T2d4/RL3AFKKrMI6FDdTQiM2flA4zGPMnyFD9snN7khS9pE2WcFn0H/SkcXfZL7G6ac rlCC9bSJRWr7TqZm3nAgvTHyjv7A0qJRPW+DutzI3D/+qH8zq7/qSYIAvAOqhJY1b9mD 9Vlg== X-Received: by 10.14.194.195 with SMTP id m43mr121437993een.44.1357086824492; Tue, 01 Jan 2013 16:33:44 -0800 (PST) Received: from debian.x201.phnet (147-157.203-62.cust.bluewin.ch. [62.203.157.147]) by mx.google.com with ESMTPS id v46sm94256439eep.1.2013.01.01.16.33.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Jan 2013 16:33:43 -0800 (PST) Message-ID: <50E38046.7010202@gmail.com> Date: Wed, 02 Jan 2013 01:33:10 +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: grub-devel@gnu.org Subject: Re: Boot windows on external disk : "not a valid root device" References: <50E371C2.7000909@guillemet.org> <20130102001448.GC5547@riva.dynamic.greenend.org.uk> In-Reply-To: <20130102001448.GC5547@riva.dynamic.greenend.org.uk> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig2D048F9F8CF83265BF092716" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.83.48 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 00:33:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2D048F9F8CF83265BF092716 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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 U= SB. >> >> 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" ? >=20 > 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 tha= t > device using UEFI". >=20 > 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=3D(" and then use tab-completion. If the disk i= s > truly only accessible as "usb0", then perhaps efidisk needs some work t= o > support that. >=20 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. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig2D048F9F8CF83265BF092716 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/ iF4EAREKAAYFAlDjgEcACgkQNak7dOguQgmP+AEAwPBYoZ2pjR+VQqUdg+9G++h9 AUhdxBhylXsSf9XrB0YA/ijyrqIaMXLl2pMGd0WvI60Hw+9fvnVmKd79GNfE+xxC =ti2m -----END PGP SIGNATURE----- --------------enig2D048F9F8CF83265BF092716--