Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 10:31:19 -0700
From:      "Robison, Dave" <david.robison@fisglobal.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: windows entry for grub2
Message-ID:  <55C0F6E7.8080603@fisglobal.com>
In-Reply-To: <20150804054948.Horde.eTUxo9WEBbZWC3ekOhhgbya@mail.parts-unknown.org>
References:  <20150804034108.Horde._OTrFyjhdRQUM4x9GSp-yLG@mail.parts-unknown.org> <CAFYkXjm9eJVdVFkbzR9esVf8D9qeF5aLZ3Hj8rGRN2HRAb3Etg@mail.gmail.com> <20150804054948.Horde.eTUxo9WEBbZWC3ekOhhgbya@mail.parts-unknown.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 
#!/bin/sh
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@vicor.com
david.robison@fisglobal.com

_____________
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.



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