Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 13:07:22 +0200
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
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>

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



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