I have Fedora 18 and Windows 7 on my laptop.
I had grub2 bootloader and the default is been set to windows 7.
After I turn on my laptop it just automatically boots into windows 7.
Now I want to set the default to Fedora 18 again, can you help?
what do you mean by saying "default is been set to windows 7 " ?
if you still have GRUB bootloader on your MBR:
you should change the default OS on your system's GRUB configuraton file which is in this path :
in this line :
you can change the num to an integer which shows the menu-entry of Fedora on your Bootloader menu. (the nums begins from zero)
but, as mentioned in "grub.cfg" file:
because any incorrect change will cause your system not boot at the next system startup.
so, the better way is to know the Menu-entry of your Fedora at the bootloader and using this command to change the default OS to Fedora :
for example if Fedora is the first Menu-entry at your bootloader, the command will be :
if you had installed windows bootloader :
insert Fedora DVD and choose "troubleshooting".
then go to "Rescue a fedora system" ,then follow these steps :
then when you accessed the shell, type this command :
then try this command :
by this command, grub2 will be written on the MBR of your first Hard Drive( not first partition) , it is not neccessary to determine the partition because each Hard drive has one unique MBR.
for example if you had two hard drives and you wanted to insert grub2 at the MBR of your second Hard drive, the command would be :
*it is finished and now you can restart the system to see the changes
If this answers your question, please mark this as answered by clicking the gray check icon to the left - it will change to a green icon, thanks.