LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2004, 09:49 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
How do I change the default boot from Windows to Linux?


How do I change the default boot from Windows to Linux? I am not sure what bootloader I have but I think it is grub. I am running dual boot with Fedora Core 1 and Windows but the windows does not work anyway so I just want to boot Fedora only.
 
Old 04-23-2004, 09:59 PM   #2
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
If you are using grub edit grub.conf in /etc folder. It its lilo u r using, edit lilo.conf in /etc folder. I'm not sure about grub, but in lilo make default=fedora_label_name.

Good luck
D
 
Old 04-23-2004, 10:19 PM   #3
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
Should I set the parameter 'default' to 0? Fedora is listed first then DOS. Here is the 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,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title DOS
rootnoverify (hd1,0)
chainloader +1
 
Old 04-24-2004, 03:48 AM   #4
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
I think here u should change Default=1. I'm not a grub user, but this should be right. Give it a go and post the result.

Good Luck
D
 
Old 04-26-2004, 06:50 PM   #5
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
For those looking at this post for a solution:

I ended up changing the default to "0". Appartently in Linux the keywork "title" causes Linux to see any words up to the next "title" keywork as a desciption of an OS to load. I changed the title of the Windows, the descriptions, the default, and the timeout and all worked fine. The file now look like this:

default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,1)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title DOS
rootnoverify (hd1,0)
chainloader +1
 
  


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
How to change default boot? (from linux to linux-up) namgor Linux - Software 4 07-09-2004 03:41 PM
change default login from linux to windows ashesh Linux - General 7 03-13-2003 10:00 PM
How to change default desktop on boot? linuxfond Linux - Newbie 4 02-24-2003 04:14 AM
How to change default OS to Windows arraman Linux - General 1 06-11-2001 09:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 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