forked from mirrors/nixpkgs
added example for GRUB 2
svn path=/nixos/trunk/; revision=33448
This commit is contained in:
parent
040042b8a5
commit
f4d26eb446
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue