Skip to content

Instantly share code, notes, and snippets.

@dimhold
Created September 11, 2014 07:44
Show Gist options
  • Save dimhold/69546d64bb8536130221 to your computer and use it in GitHub Desktop.
Save dimhold/69546d64bb8536130221 to your computer and use it in GitHub Desktop.
Grub windows menu
#/etc/grub.d/40_custom
#!/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.
menuentry "Windows 7" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
chainloader +1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment