Grub2 Brilliance

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.

1 Comment

  1. [...] 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

RSS feed for comments on this post· TrackBack URI

Leave a Comment

You must be logged in to post a comment.