From cf53152902d1d0ca6ed618f2a39e5999e0c42071 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 20 Apr 2014 19:41:15 +0200 Subject: Fix GRUB 2 example Fixes #1891. --- nixos/modules/system/boot/loader/grub/grub.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index d7f2319975c1..a3b09223cbb8 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -133,11 +133,8 @@ in chainloader (hd0,1)+1 # GRUB 2 example - menuentry "Windows7" { - title Windows7 - insmod ntfs - set root='(hd1,1)' - chainloader +1 + menuentry "Windows 7" { + chainloader (hd0,4)+1 } ''; description = '' -- cgit 1.4.1