Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-02-2002, 12:50 PM   #1
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, 01:22 PM   #2
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
Old 04-02-2002, 03:17 PM   #3
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
change it
default=Windows (or whatever is label for windows is)
and then run
to make changes effective.


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

All times are GMT -5. The time now is 01:51 AM.

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