LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-08-2003, 03:33 AM   #1
csnow33
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Question lilo, howto boot to windows by default


How do I set lilo to boot to windows by default? I tried editing the lilo.conf file and changing the default="linux" to "win" , should I have made that "windows" ? The page I found on the web that described it had it as win.

I have winme on the c: drive hda, and mandrake 9.1 on the d: hdb or whatever... still getting used to these new terms.
 
Old 09-08-2003, 03:37 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
For every partition, there should be a section called label... see what your label is for windows (eg. label="Windows")... use that value for your default section (eg. for my previous example... it will be default="Windows").

The settings are cAsE sEnSiTiVe... and don't forget to run lilo after changing the settings
 
Old 09-08-2003, 03:40 AM   #3
csnow33
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
thanks

Will go try that, thanks for the quick response.
 
Old 09-08-2003, 03:40 AM   #4
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
Here is my grub.conf, maybe is similar.
# 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,12)
# kernel /vmlinuz-version ro root=/dev/hda12
# initrd /initrd-version.img
#boot=/dev/hda13
default=0
timeout=10
splashimage=(hd0,12)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,12)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux (2.4.7-10)
root (hd0,12)
kernel /vmlinuz-2.4.20-8 ro root=hda11
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1


default=0 means the default booting OS is the first entry.
It is Red Hat Linux (2.4.20-8) in this file.
If I modify it to default=1, then the default booting OS will be changed to Red Hat Linux (2.4.7-10).

Last edited by Xiangbuilder; 09-08-2003 at 03:41 AM.
 
Old 09-08-2003, 03:42 AM   #5
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Re: thanks

Quote:
Originally posted by csnow33
Will go try that, thanks for the quick response.
No prob

And Xiangbuilder... csnow33 did mention he's using LILO, not grub
 
Old 09-08-2003, 03:45 AM   #6
Xiangbuilder
Member
 
Registered: Apr 2003
Location: Shandong province China
Distribution: fedora core 1.0
Posts: 206

Rep: Reputation: 30
Thank you point out this.
 
Old 09-08-2003, 03:58 AM   #7
csnow33
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Smile Worked

Thanks again. It worked. Now I don't have to worry about my wife getting lost in linux.
 
Old 09-08-2003, 04:04 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Re: Worked

Quote:
Originally posted by csnow33
Thanks again. It worked. Now I don't have to worry about my wife getting lost in linux.
You're most welcome.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Howto add Lilo to boot XP / umsdosZIPSLACK? minike Slackware 7 05-02-2005 11:42 PM
howto no scan /dev/hdg on boot with lilo stearic Slackware 2 03-19-2005 06:49 PM
Howto get lilo to boot a cdrom? kinasz Linux - General 2 05-17-2004 02:46 AM
Why does LILO boot Linux by default? Kramer Linux - Hardware 4 11-11-2003 08:03 PM
lilo changing default boot pilotncontrol Linux - Software 2 04-02-2002 03:17 PM


All times are GMT -5. The time now is 05:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration