Changing Boot Sequence in Grub2



I just loaded Fedora 16.  I have this odd Dell Inspiron with a WinTV Express Card, the only card ever built for this slot.  To simplify my life I run Windows 7 for TV and Linux for everything else.

Where was I?  How to alter the boot sequence in grub2

# cat /boot/grub2/grub.cfg |grep Windows


# menuentry “Windows 7 (loader) (on /dev/sda3)” …

Set this menuentry as default

# grub2-set-default “Windows 7 (loader) (on /dev/sda3)”

You can see the default entry with

# grub2-editenv list

And this worked.

I have since found that I should have generated an updated grub.cfg

# grub2-mkconfig -o /boot/grub2/grub.cfg