LinuxQuestions.org
Help answer threads with 0 replies.
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 05-24-2006, 10:54 PM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Change default boot


Right now my default boot is Fedora Core5. How can i change the default boot to Windows? I've installed windows and Fedora in same hard disk.
 
Old 05-24-2006, 10:58 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Edit the file /boot/grub/menu.lst and change the line default 0 to default 1 (or to which ever entry Windows is -- if it is first on the menu, then it would be default 0, if it is second, then default 1, 3rd - default 2, etc)
 
Old 05-24-2006, 11:09 PM   #3
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Ok, i have access the grub folder. But after i double click the menu.lst, it says:

Couldn't display "/boot/grub/menu.lst".
 
Old 05-24-2006, 11:13 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You should have to open it, as root, with gedit.
 
Old 05-24-2006, 11:16 PM   #5
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Talking

Sorry, im a newbie. How to open it with gedit...
 
Old 05-24-2006, 11:31 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'm not actaully sure (I don't use Gnome). Usually on other systems you type su and enter root password. Then do gedit /boot/grub/menu.lst. Or look for something on one of your menus that says "Run As Root" and then enter gedit /boot/grub/menu.lst.

Alternatively, you can try to use a terminal type text editor, but I'm not sure what Fedora installed. You can try su to root and then do nano /boot/grub/menu.lst. Nano is pretty easy to use, the commands at the bottom are like ^C which is Ctrl-C for cancel without saving, etc...

Sorry I can't be more help...
 
Old 05-24-2006, 11:57 PM   #7
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by jojojo
Sorry, im a newbie. How to open it with gedit...
Open Terminal. Type the following:
Code:
su
{enter your password when prompted}
gedit /boot/grub/menu.lst
You will see a new window with your GRUB menu list. Yours will look different, but let's use mine as an example, as the premise is the same:

Code:
# 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,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 5 x86_64 (2.6.15-1.2054_FC5)
	root (hd0,1)
	kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.15-1.2054_FC5.img
title Windows XP Professional x64
	rootnoverify (hd0,0)
	chainloader +1
See that "default=0" line? That tells GRUB to boot Fedora as default. Change it to 1, save the file, and you're done.

Hope that helped.
 
Old 05-25-2006, 12:02 AM   #8
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Oh ok. Thanks. That really help.
 
Old 05-25-2006, 12:18 PM   #9
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by jojojo
Oh ok. Thanks. That really help.
No problem.
 
Old 05-25-2006, 01:04 PM   #10
debsan
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Rep: Reputation: 0
tis easy

Just log in as root.Then find your way to the bootloader option.
Which is most probably in the system/settings tab.
Once that is done click on it and change your default boot option.
check by rebooting
 
  


Reply



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
Change de default boot kernel mr_sarge Linux - Newbie 6 10-10-2005 11:30 AM
Change Default Boot from GRUB lel800 Red Hat 14 08-25-2004 01:32 AM
How to change default boot for Grub? nano_electronix Linux - Software 4 09-01-2003 07:46 AM
How to change default desktop on boot? linuxfond Linux - Newbie 4 02-24-2003 04:14 AM
How do i change Lilo's default boot? kato678 Linux - General 2 02-21-2002 02:41 AM

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

All times are GMT -5. The time now is 02:21 AM.

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