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
}

-- 
savedefault not default in update-grub
https://bugs.launchpad.net/bugs/216178
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to