From owner-freebsd-questions@freebsd.org Tue Aug 4 11:09:28 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA9639B2937 for ; Tue, 4 Aug 2015 11:09:28 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm14-vm1.bullet.mail.ir2.yahoo.com (nm14-vm1.bullet.mail.ir2.yahoo.com [212.82.96.189]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48C64147D for ; Tue, 4 Aug 2015 11:09:27 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1438686443; bh=vHjv4k2FHkN86lmRCG34rRoO1JpVTkFV/S/LhXFaolo=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=qeReynYsJxM4Mkosw23wcYSdZsD3sTBuHXuA1IPpmCBeahs8Fs8uKeLY0x4HivooGPZlXRhQQJ6gnBtXQONRO8RZXrUFa+ns1u0Qwp7pfIdB+G++hvLWN2ST6pUjao10irw1PsZcAuduPCU9zv2xEErYZDxVUYMZ7qwvfAZ979xo6KG85ETSqSprjN1eNcTpv+/+SLK2MZQP2nBcylJQvHQqrup0VIpNJEQrqDZl5hktdSyMmH35LMfx0C1PO/VHnTy7SbsTD2+9cVCvsGizwWL1ede5dZBtd/JmKiyReOKa3HuVuztYONq0jQp0qh3zS2JmSjcsVBxO4sGx2bq5wg== Received: from [212.82.98.63] by nm14.bullet.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:07:23 -0000 Received: from [46.228.39.80] by tm16.bullet.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:07:23 -0000 Received: from [127.0.0.1] by smtp117.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:07:23 -0000 X-Yahoo-Newman-Id: 488841.91416.bm@smtp117.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: hBb_e_8VM1nMzuMj1QGSCMgPczr3Jot6O.QbY7oun64jclv 67zhUaYJOTlVKg1odaaTQvYXm7L9M2gq9Qv1KnGNPVEz3Y.c8UQme5n8NF6O dPF9m027rACB..BPZt80s0yx0tJ.xj5BfBNFmp9.i7OKwhK6ha.TXs1HbjPE Vb2Lake_SJYbrZnTBSDB.jipqHEMflhhnGnMyawkoVcDlshH6wGRGiUx4tOK 0h2PT484_PMFf4_zqeIKORAoRqMtWPFst.zKavsM9NwoMWYQJJHwnBizVyBA gUqobnW2pa3t4XmSlFZsrFyZLVtcF2lE4dNrJ8SmUedi_OzJ6EBdo9nMfn3w 1MVkmD.FLiWoJqry5SZGG4VJB8CUL0AB7Icj5awDzkkjZEGCdQF2Gb2EAvuZ qSgPafkgLgZqu4b9heEd9xpLeaHNgPMZXk1UPHsSUnmCQyqFxUEY_KxNemcK aIosOFIMhWLuzbP3uL8aQVEyji1z7H3O4KvWueTMX6LhoHof6VovO7TItrt_ nbNWDvMfnPtjnQMfSZ8F9g4Tt.Q_87Wkl X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Tue, 4 Aug 2015 13:07:22 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: windows entry for grub2 Message-ID: <20150804130722.3ffee235@archlinux> In-Reply-To: <20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG@mail.parts-unknown.org> References: <20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG@mail.parts-unknown.org> X-Mailer: Claws Mail 3.12.0-37-g8d1abd7 (GTK+ 2.24.28; x86_64-arch-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 11:09:29 -0000 On Tue, 04 Aug 2015 03:41:08 -0700, David Benfell wrote: >Windows lives on ada0p5. The EFI partition, presently marked so >grub-install will write to it, is /dev/ada0p1. What is the >incantation for telling grub2 to do Windows? Perhaps menuentry "Win"{ set root=(hd0,5) chainloader +1 } This is how I edited my grub.cfg: [rocketmouse@archlinux ~]$ grep -B3 -A2 chainloader /mnt/debi386/boot/grub/grub.cfg menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } menuentry "XP"{ set root=(hd1,1) drivemap -s hd0 hd1 chainloader +1 } [rocketmouse@archlinux ~]$ No EFI involved. Can't it be done this way? Regards, Ralf