[Bug 216178] Re: savedefault not default in update-grub
totzo
tim at morozzo.co.uk
Sat Sep 5 12:25:04 UTC 2009
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
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list