Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-28-2006, 10:08 PM
|
#1
|
LQ Newbie
Registered: Jul 2006
Posts: 2
Rep:
|
Default Windows required
I have loaded fedora Core 5 but i want windows XP to run by default i.e the home user should not know if there is any change in system.
I was able to get to windows XP by pressing down arrow but could not find where to set default loading OS.
Please help ASAP other wise i have to remove Fedora Core
Thanks in advance
Jazzy
|
|
|
07-28-2006, 10:32 PM
|
#2
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
are you using grub? in /boot/grub/grub.conf you can change the value of 'default' to the entry number of windows minus 1.
for example if the windows entry is in the second, you'll change it to 'default 1'
/boot/grub/grub.conf can be also /boot/grub/menu.lst. that depends only on the install.
|
|
|
07-29-2006, 12:27 AM
|
#3
|
LQ Newbie
Registered: Jul 2006
Posts: 2
Original Poster
Rep:
|
I am getting permission denied for the both.
I tried changing value +1 in Windows XP then editing it and Changing value for Chain loader +1 to Chainloader -1. This also does not work
|
|
|
07-29-2006, 02:20 AM
|
#4
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Quote:
Originally Posted by Jazzy108
I am getting permission denied for the both.
|
try to be a super user:
Code:
su
[enter username and password]
vi /boot/grub/menu.lst
|
|
|
07-29-2006, 07:48 AM
|
#5
|
Member
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347
Rep:
|
NO, don't change the chainloader number!!!!! That's got nothing to do with the boot order!
Here's the start of my /boot/grub/grub.conf file.
# grub.conf generated by anaconda
#
# 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,4)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=9
splashimage=(hd0,4)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core 4
The line that says default=0 is the one you need to change. 0 is the number of the first title, in this case Fedora Core 4. If your second entry is windows, you need to change the 0 to 1. If windows is the 3rd entry you need to change the 0 to 3.
When you update the kernel this number may change, as yum doesn't delete the old kernel, just stacks them on top of each other, so the first time you do that do a reboot and check.
|
|
|
07-29-2006, 10:40 AM
|
#6
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
|
Quote:
Originally Posted by Jazzy108
I tried changing value +1 in Windows XP then editing it and Changing value for Chain loader +1 to Chainloader -1. This also does not work
|
btw why are you trying to change the value of chainloader?
anyway if doing su won't work for you, you can always boot the system with a livecd then modify menu.lst there.
|
|
|
All times are GMT -5. The time now is 05:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|