LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2002, 11:50 AM   #1
pilotncontrol
LQ Newbie
 
Registered: Mar 2002
Posts: 2

Rep: Reputation: 0
Question lilo changing default boot


I want to change how lilo boots. I want windows to be my default boot.

I ran lilo -t
and the following is displayed:

Added linux *
Added failsafe
Added Windows
Added floppy

How do I edit lilo.conf. I'm a complete newbie so I need help on how to find the file and edit the file.

Thank You
 
Old 04-02-2002, 12:22 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
If you want to edit what lilo does:

cd (change directory) /etc
use an editor like emacs, pico or vi(m) to edit the lilo.conf file.
Just type vim lilo.conf
edit the file to liking
<esc> then :wq to save and quit
rerun lilo by typing lilo or /sbin/lilo
reboot
 
Old 04-02-2002, 02:17 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
When you open the /etc/lilo.conf file for editing one of the first entries would be
default=linux
change it
default=Windows (or whatever is label for windows is)
and then run
/sbin/lilo
to make changes effective.
 
  


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
HELP: changing default OS to boot.... kevingpo Fedora - Installation 4 12-13-2004 01:41 PM
changing Lilo default boot devide Cheechi Mandriva 1 07-12-2004 08:39 PM
Changing default OS in lilo.conf mecister Linux - General 1 06-27-2004 07:14 PM
changing grub default boot sbcdivision63 Red Hat 5 11-09-2003 12:55 AM
changing grub boot default tumnus Linux - Newbie 2 02-04-2003 03:53 PM


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