Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 13:18:49 +0200
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150804131849.6407b5c9>