diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-20 19:41:15 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-20 19:41:15 +0200 |
commit | cf53152902d1d0ca6ed618f2a39e5999e0c42071 (patch) | |
tree | bfd1564e9b63eccb9d7ec705756fbef383df6197 /nixos | |
parent | 4e8c2f0ff91c19065f44fd66c9d869b920631557 (diff) | |
download | nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar.gz nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar.bz2 nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar.lz nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar.xz nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.tar.zst nixlib-cf53152902d1d0ca6ed618f2a39e5999e0c42071.zip |
Fix GRUB 2 example
Fixes #1891.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/grub.nix | 7 |
1 files changed, 2 insertions, 5 deletions
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 = '' |