summaryrefslogtreecommitdiffstats
path: root/40_custom
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2014-08-16 21:44:13 -0500
committerKyle K <kylek389@gmail.com>2014-08-16 21:45:24 -0500
commit293818e6ec0ef677c50985fc0386ff4bb12aa306 (patch)
treed940f68abde42178f75a2bdb1ed0794b25d4bcfb /40_custom
parent165b7c9af161c76c5ee45111e3104f79f6168142 (diff)
downloadconfigs-293818e6ec0ef677c50985fc0386ff4bb12aa306.tar.gz
configs-293818e6ec0ef677c50985fc0386ff4bb12aa306.tar.bz2
configs-293818e6ec0ef677c50985fc0386ff4bb12aa306.zip
winblows grub entry
Diffstat (limited to '40_custom')
-rwxr-xr-x40_custom16
1 files changed, 16 insertions, 0 deletions
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