From owner-freebsd-questions@freebsd.org Tue Aug 4 11:20:56 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 7B1C39B2FA7 for ; Tue, 4 Aug 2015 11:20:56 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm24-vm1.bullet.mail.ir2.yahoo.com (nm24-vm1.bullet.mail.ir2.yahoo.com [212.82.97.25]) (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 CBBC81C41 for ; Tue, 4 Aug 2015 11:20:55 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s2048; t=1438687130; bh=2bZTqLEjzm/pJ5ysmk7rZi+Sa+smhtXACJUG4vV69Gk=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=NZPkceooTO3NoUh0lxxq2qVRTCc82uPdH2jyGSOIKPCRwlyxHBNyoCySVLEUHB2I2w1Qz/6m4qHVr0LweKwCYCcvWKn1iTO6DYrILPjihvSNcgnvyswM5m0BaLI85rCRaJlUdpO/rKCQZHdkY01X631uBBvI5BfeRsmCih08BuUxICbXzloYy2n5yNiTVRkZEb3a0/synWzVrBxnnmYzyWLmMi+2ImH6UrG4BGaLGfpmn2eFksSIl7ZXyZKfr0B7gno3r82rXGSSschInyCFPy5VvF7Bupk8mJst1TtuUFCmpW7jG8LAYfYy7I+yQ+mCXDkgSKGvrYLT/racYpNYZQ== Received: from [212.82.98.58] by nm24.bullet.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:18:50 -0000 Received: from [46.228.39.80] by tm11.bullet.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:18:50 -0000 Received: from [127.0.0.1] by smtp117.mail.ir2.yahoo.com with NNFMP; 04 Aug 2015 11:18:50 -0000 X-Yahoo-Newman-Id: 211715.47437.bm@smtp117.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 4tTd8G0VM1n3Zs1rS3bB0AcM0z6.vsvcA_UDpYdRnphSmxW Je4_QsLlSswjfuRRqw7NnRxEU7SGRg0ukFPgod1Izwb77qYELfNDWE_o9ZDZ elQ5BDaegc4nvrdbMNuu_4Ee1lzjiRPvXPkTzGC6M3XnY7zLVLBx9xivkW_. h2jmj8bUAUYNs0j.lvAE08Y4F8vBDHLvt2YkybWtIFRlSF9Oh_aljUbNU1vn 7LrDrQRV2VBpQlrxumHvLSfTxoOEc4zOWaciskbz1tCMjzyqpoDa6Z9vl3AS co1bOvGLo6bTg3SKc4v1JznJmuDMkW1U2oy8O2llvN02Iy3Fkjo2zyDQxj1G IOkSG4jCbUmSRPUXB9i91_62dk4kAAFrA4Qk.lyIQOvKdCpVctv6cNnO7pdB UUxBGI35qikE4FjupOxxq5_20x79jZLyY30ZBlYLnJdhgJUisu5rGzzVkVq7 hCENRrxD.Y7nSa7gO9No3YfpWCI9c.f9Vd_Lx_JM.F.U_tl.uVHAOHylnWHf JG1wE7n4jrFYP_aEvVJ7rnNEjU15z8A3PxiK5ayw.n9d8lAp.zODNHDsAjUf sGBUo4axj X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Date: Tue, 4 Aug 2015 13:18:49 +0200 From: Ralf Mardorf To: FreeBSD questions Subject: Re: windows entry for grub2 Message-ID: <20150804131849.6407b5c9@archlinux> In-Reply-To: <20150804130722.3ffee235@archlinux> References: <20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG@mail.parts-unknown.org> <20150804130722.3ffee235@archlinux> 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:20:56 -0000 On Tue, 4 Aug 2015 13:07:22 +0200, Ralf Mardorf wrote: >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 Hahaha, sorry, I wasn't aware how trick this is, but there are at least tons of Linux howtos in the web, you'll get hits, even if your search term includes "freebsd" instead of "linux". Did you read those? It's likely more pleasant to run Windows in a VM ;). Regards, Ralf