windows entry for grub2

Ralf Mardorf ralf.mardorf at rocketmail.com
Tue Aug 4 11:20:56 UTC 2015


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 at 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 at 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


More information about the freebsd-questions mailing list