Results 1 to 10 of 11
My boot order has automatically changed, before I was booting Windows XP/ Vista as the default OS, now all of the sudden Fedora has become the default OS. So plz ...
- 03-19-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 11
Changing boot order, and make XP as the default OS
My boot order has automatically changed, before I was booting Windows XP/ Vista as the default OS, now all of the sudden Fedora has become the default OS. So plz help me change the boot order. These are my grub settings at the moment. Thanksss
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=3
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.19-170.2.35.fc10.i686)
root (hd0,2)
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,2)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=4200feca-2d99-45d3-a8b3-6acfbc65dae9 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
title Windows XP/ Vista
rootnoverify (hd0,0)
chainloader +1
- 03-19-2009 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,942
If you just have Fedora and your xp/vista on the computer and boot with Grub, change this line in the menu.lst file:
default 0
to:
default 2
- 03-19-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 11
Can you please tell me step by step how to do that. I don't even have basic knowledge of Fedora. This is how I was doing, plz correct me if there's a different method to configure this. Applications and then System Tools, Terminal. Then I typed, su. then the paswd, then I typed "sudo gedit /boot/grub/grub.conf" at root.
Then when I try to change default from 0 to 2 it gives me the following error message:
** (gedit:3292): WARNING **: Could not write gedit state file: Failed to create file '/root/.gnome2/gedit-2.GWPKRU': No such file or directory
I/O error : No such file or directory
I/O error : No such file or directory
So for now i've left the boot order as is. Plz help me boot XP/Vista from grub. Thanksss.
- 03-19-2009 #4
Open Terminal and execute this
Set default=2. Press Ctrl+X, Y and hit Enter key to save file.Code:su - nano /boot/grub/grub.conf
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-19-2009 #5
When you type su and give the root password, your prompt changes from '$' to '#'. Have you observed it? We use 'su' to change to root (administrator). No need to use 'sudo' when you are root.
Once you have done 'su', just tryEdit as told and save it. Nano may be little difficult for you.Code:gedit /boot/grub/grub.conf
If you are wondering why all of a sudden it changed form XP to Fedora, here is the clue.
Fedora upgraded itself and in doing so rewrote the grub file. And by default the 'dafault' value is '0'.
Casper, is it grub.conf in Fedora and not menu.lst? I have always used Debian to boot anything else on my system.
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 03-19-2009 #6Hi !
Originally Posted by saivin
RedHat based distros uses grub.conf file only. There is a symlinked menu.lst file too in a few RH based distros though.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-20-2009 #7Just Joined!
- Join Date
- Feb 2009
- Posts
- 11
Thank you guys!!!! u guys are great.
But can i prevent this from happening, so when next time Fedora upgrades itself, it doesn't override my boot order . Thanksss!!!!
- 03-20-2009 #8I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 03-20-2009 #9
GRUB upgrade will not change boot order.
You have two kernel versions now. If latest kernel working fine then I would suggest to un-install earlier version.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-20-2009 #10Just Joined!
- Join Date
- Feb 2009
- Posts
- 11
But Savin who replied on this thread says fedora upgrade caused the grub to be changed.


Reply With Quote
