This is what update-grub outputs (I keep typing grub-update because it just seems more logical):
$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.31-16-generic […] Found Windows 7 (loader) on /dev/sda1 […] done
This is what /etc/default/grub wants to set the default boot entry:
GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda1)"
Thanks. That really made things so much simpler.
[…] update-grub. Things like default boot entry can be set in /etc/default/grub. Don’t forget to add parentheses. Recovering is horribly complicated compared to ye olde […]
March 10, 2010 @ 8:47Permalink
Ubuntu/Linux Tips That I Can’t Do Without | The One with the Thoughts of Frans
[…] you love the consistency there as much as I do? Anyway, notice that you need to run update-grub manually since grub-install doesn’t do it […]
July 20, 2012 @ 16:47Permalink
Copy Your Linux Install Without Using DD | The One with the Thoughts of Frans