From 293818e6ec0ef677c50985fc0386ff4bb12aa306 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sat, 16 Aug 2014 21:44:13 -0500 Subject: winblows grub entry --- 40_custom | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 40_custom (limited to '40_custom') diff --git a/40_custom b/40_custom new file mode 100755 index 0000000..406fd11 --- /dev/null +++ b/40_custom @@ -0,0 +1,16 @@ +#!/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. + +if [ "${grub_platform}" == "pc" ]; then + menuentry "Microsoft Windows Vista/7/8/8.1 BIOS-MBR" { + insmod part_msdos + insmod ntfs + insmod search_fs_uuid + insmod ntldr + search --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 621203AF120386EF + ntldr /bootmgr + } +fi -- cgit v1.2.3