From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1TqC8G-0007mk-1H for mharc-grub-devel@gnu.org; Tue, 01 Jan 2013 19:24:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqC8D-0007mY-QC for grub-devel@gnu.org; Tue, 01 Jan 2013 19:24:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqC8C-0003Ow-GU for grub-devel@gnu.org; Tue, 01 Jan 2013 19:24:29 -0500 Received: from v6.chiark.greenend.org.uk ([2001:ba8:1e3::]:43527 helo=chiark.greenend.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqBzU-0001QR-Fh for grub-devel@gnu.org; Tue, 01 Jan 2013 19:15:28 -0500 Received: from [172.20.153.9] (helo=riva.pelham.vpn.ucam.org) by chiark.greenend.org.uk (Debian Exim 4.72 #1) with esmtps (return-path cjwatson@ubuntu.com) id 1TqBzT-0007Ch-MI for grub-devel@gnu.org; Wed, 02 Jan 2013 00:15:27 +0000 Received: from localhost ([127.0.0.1] helo=sarantium.pelham.vpn.ucam.org) by riva.pelham.vpn.ucam.org with esmtp (Exim 4.72) (envelope-from ) id 1TqBzS-0001Qu-2L for grub-devel@gnu.org; Wed, 02 Jan 2013 00:15:26 +0000 Received: from riva.dynamic.greenend.org.uk (localhost [127.0.0.1]) by sarantium.pelham.vpn.ucam.org (Postfix) with ESMTPS id 5B0F73E5015 for ; Wed, 2 Jan 2013 00:14:49 +0000 (GMT) Date: Wed, 2 Jan 2013 00:14:48 +0000 From: Colin Watson To: grub-devel@gnu.org Subject: Re: Boot windows on external disk : "not a valid root device" Message-ID: <20130102001448.GC5547@riva.dynamic.greenend.org.uk> References: <50E371C2.7000909@guillemet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <50E371C2.7000909@guillemet.org> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:ba8:1e3:: 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:24:30 -0000 On Wed, Jan 02, 2013 at 12:31:14AM +0100, Herv=E9 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 US= B. >=20 > No matter what I try, either using grub.cfg or command line, Grub's > chainloader fails : >=20 > > set root=3D(usb0,gpt1) > > chainloader ($root)/EFI/Microsoft/Boot/bootmgfw.efi > Error: not a valid root device. >=20 > The content of the drive may be seen using "ls". >=20 > 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=3D(" and then use tab-completion. If the disk is truly only accessible as "usb0", then perhaps efidisk needs some work to support that. --=20 Colin Watson [cjwatson@ubuntu.com]