The grub2 script file /etc/grub.d/10_linux is responsible for determining your current Fedora kernel entries in the menu.
The grub2 script file /etc/grub.d/30_os-prober is responsible for pretty much everything else, including Windows and earlier versions of Fedora that might be present.
You can modify the 30_os-prober to exclude adding any or all Windows (NT and up) OS's, like so:
Find the entry, should begin around line 98 in the file:
Code:
if [ -z "${LONGNAME}" ] ; then
LONGNAME="${LABEL}"
fi
And right below it, add the following, where /dev/sdxx is your W7 bootable drive/partition:
Code:
if [ "${DEVICE}" = "/dev/sdxx" ]; then
continue
fi
I do this to good effect to keep a long unused W2K install on one of my 3 hdd's from showing up in the grub2 menu. The only caveat is that by manually editing any of the script files in /etc/grub.d/, when there is an update to grub2, you're edited script file will be preserved as "30_os-prober.rpmsave" and a new "30_os-prober" file, without your edits, will be installed. Both will be executable and so both will run, regardless of the name change, when you subsequently run a "grub2-mkconfig -o /boot/grub2/grub.cfg" command.
To prevent that being a problem, you then need to either apply your edits to the new "30_os-prober" file and either delete or unset the execute bits on the "30_os-prober.rpmsave" file, or unset the execute bits on the new "30_os-prober" file. A minor annoyance, but then, grub2 doesn't get updated all that often, at least not yet.
I can't put my finger on the Ubuntu guide at the moment that gave instructions on how to do what I just described, That guide contains a wealth of information. I thought I had it bookmarked...oh, I'm chrome, it's probably in my FF bookmarks.
Edit: OK.. found the link in my FF bookmarks:
Grub2 Title Tweaks
---------- Post added at 01:11 PM ---------- Previous post was at 11:12 AM ----------
If I may have misunderstood you and what you mean is that Windows is the "default" OS at the grub2 menu (top of the menu list) and you wish to have another OS as default, and NOT to remove the Windows entry completely from the grub2 menu, then ignore the information I gave above.
There are a couple of different methods to make any one of the grub2 menu entries the "default". Please state more clearly which it is you're trying to accomplish.