windows entry for grub2

Robison, Dave david.robison at
Tue Aug 4 17:31:10 UTC 2015

Here is my 40_custom file. I keep it in my homedir since it often gets overwritten during PCBSD updates.

Put it into /usr/local/etc/grub.d/ and then run

grub-mkconfig /boot/grub/grub.cfg

"Works for me"(tm)

[lefty] ~% cat 40_custom 
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 7" {
insmod ntfs
set root=(hd0,2)
chainloader +1

Dave Robison
Sales Solution Architect II
FIS Banking Solutions
510/621-2089 (w)
530/518-5194 (c)
510/621-2020 (f)
daver at
david.robison at

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

More information about the freebsd-questions mailing list