Cheers! I've got it working now.
For anyone who chances upon this thread, my 40_custom looks like this, I don't know if this is correct but it seems to work fine for now:
#! /bin/sh -e
prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib . ${libdir}/grub/grub-mkconfig_lib echo "Adding My Custom Entries" >&2 cat << EOF menuentry "Windows" { EOF save_default_entry | sed -e "s/^/\t/" cat << EOF insmod ntfs set root=(hd1,1) search --no-floppy --fs-uuid --set c73e96cf907ef733 chainloader +1 }
Cheers! I've got it working now.
For anyone who chances upon this thread, my 40_custom looks like this, I don't know if this is correct but it seems to work fine for now:
#! /bin/sh -e
prefix=/usr ${prefix} ${exec_ prefix} /lib /grub/grub- mkconfig_ lib default_ entry | sed -e "s/^/\t/"
exec_prefix=
libdir=
. ${libdir}
echo "Adding My Custom Entries" >&2
cat << EOF
menuentry "Windows" {
EOF
save_
cat << EOF
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set c73e96cf907ef733
chainloader +1
}