LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-28-2006, 10:08 PM   #1
Jazzy108
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
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
 
Old 07-28-2006, 10:32 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
Old 07-29-2006, 12:27 AM   #3
Jazzy108
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 07-29-2006, 02:20 AM   #4
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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
 
Old 07-29-2006, 07:48 AM   #5
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
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.
 
Old 07-29-2006, 10:40 AM   #6
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
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.
 
  


Reply

Tags
default, startup, windows



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help required to join ubuntu breezy to windows 2003 active directory manojm Linux - Networking 1 06-10-2006 02:56 PM
Help required I Can connect to Internet through Windows but not through Linux ! Sreecharan Linux - Networking 2 12-18-2005 09:17 AM
default x windows yenonn Slackware 3 11-28-2003 10:03 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration