hi.

i have 500gb HDD, first i install window 7(64-bit) then after fedora14 on separate partition using Fedora-14-i686-Live-Desktop cd.

so when my laptop is booting it shows a boot screen with two option, fedora OS(as default) and win7 as other.After 3 second, Fedora is automatically starting. I just want to make window7 as my automatic booting OS.

so how to make win7 as my default or primary OS at boot time by which i can load it automatically ?.

any help would be appreciated.

regards
mundvawala

Dani AI

Generated

Short summary: the behavior you saw is normal — when Fedora is installed after Windows it places its bootloader in charge, so Fedora became the default. Editing the GRUB boot menu to change the default entry (as suggested and confirmed) is the simplest, safest fix for a Fedora 14 install. (fedoraproject.org)

Notes and what to watch for: check which GRUB variant you actually have (legacy GRUB vs GRUB2) because the configuration file and the exact procedure differ. In general the boot menu’s “default” is an index (counting from zero) or a saved entry; the GRUB manual explains how the default and timeout behave and why numbering matters when you pick which entry boots automatically. Back up the bootloader config before editing and make a one-line note of which menu entry number corresponds to Windows so changes are repeatable. (gnu.org)

If you prefer to make Windows the primary boot manager instead, restore the Windows MBR/BCD with the Windows repair environment and then add Fedora as a secondary entry (GUI tools like EasyBCD simplify this). On Windows 7 you can use the Windows recovery command bootrec (for example /fixmbr and /RebuildBcd) to restore Windows’ bootloader, then re-add Linux as a menu item. Keep the Windows install/repair media handy before you change the MBR. (support.microsoft.com)

Practical tips: always keep a recovery/rescue disk (Windows repair disc and a Fedora/live USB). If an edit breaks booting, a live USB lets you restore the bootloader config or reinstall GRUB; the Windows DVD lets you restore the Windows boot manager. For newer Fedora releases (post‑F16) GRUB2 is the default and the update steps differ, so follow the distro docs if you ever upgrade.

Recommended Answers

All 4 Replies

Some systems will give an option of pressing F12 (i think it is) to show the boot menu. Otherwise try F8, if that fails grab a Free Boot manager app, burn to CD or USB and choose the Windows 7.

thnx for reply

bt it shows boot option ...bt in that boot option my first OS is fedora which is booting after 3 second by default .so my question is that how could i make window7 as my first OS.. by which i can boot it automatically.

regards
mundvawala

http://fedoraforum.org/forum/showthread.php?t=245738
This might help

I don't know if ubuntu is any different with GRUB, but I have ubuntu and this is what I did:
Get the startup Manager Application
Assuming this is the GRUB bootloader
Boot ubuntu, and type: "sudo gedit /boot/grub/grub.cfg" into the console(no quotes)
(enter password)

You should get something that looks like this in the text editor:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="1"

If the text file is blank, try "sudo gedit /boot/grub/menu.lst"

This last line, set default="1" is the thing that you need to change.
The count starts at 0 so to boot the very first option in the menu, put 0, for the second option put 1, third option put 2, etc...

Then save+close. Reboot and it should change the default. (Be sure not to change anything else or it could cause boot problems)

thnk u.makman99..thnk u very much for yr help.

for fedora 14, "sudo gedit /boot/grub/menu.lst" ..i jst executed this command and chaged the default value of it as per my requirements...and it works !!...

thnnx once again ...

commented: thank u dude....... +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.