added example for GRUB 2

svn path=/nixos/trunk/; revision=33448
This commit is contained in:
Joachim Schiele 2012-03-28 10:34:40 +00:00
parent 040042b8a5
commit f4d26eb446

View file

@ -106,8 +106,17 @@ in
extraEntries = mkOption {
default = "";
example = ''
# GRUB 1 example (not GRUB 2 compatible)
title Windows
chainloader (hd0,1)+1
# GRUB 2 example
menuentry "Windows7" {
title Windows7
insmod ntfs
set root='(hd1,1)'
chainloader +1
}
'';
description = ''
Any additional entries you want added to the GRUB boot menu.