Comment 5 for bug 216178

Revision history for this message
totzo (tim) wrote :

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
}