LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-01-2004, 08:55 AM   #1
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Rep: Reputation: 15
LILO question


Is it possible to re-configure LILO to make windows the default OS again?
 
Old 06-01-2004, 09:05 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
It depends on which flavour of Linux you are running, but most distros have some kind of gui to do this, or you can edit /etc/lilo.conf by hand. For example, my lilo.conf as follows:
Code:
boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
	label="linux"
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="devfs=mount hdd=ide-scsi acpi=off quiet"
	vga=788
	read-only
image=/boot/vmlinuz
	label="linux-nonfb"
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="devfs=mount hdd=ide-scsi acpi=off"
	read-only
image=/boot/vmlinuz
	label="failsafe"
	root=/dev/hdb1
	initrd=/boot/initrd.img
	append="devfs=nomount hdd=ide-scsi acpi=off failsafe"
	read-only
other=/dev/hda1
	label="windows"
	table=/dev/hda
other=/dev/fd0
	label="floppy"
	unsafe
As you can see, i've highlighted the relevant labels. In my case, I would change the default="linux" to default="windows"

Just remember you can only edit this file as root, and you must run /sbin/lilo to effect changes

Baldrick
 
Old 06-01-2004, 09:05 AM   #3
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
if i'm not mistaken, lilo defaults to the first one that is listed in lilo.conf if not specified by a default= option. take a look at this file, and if there is a line that says default=0 then it boots to the first os listed (which is the default lilo option i think) if it says default=1 then it would boot into the second one listed, etc...(this keeps with the computer science convention of counting starting with 0).

hope this helps.
 
Old 06-01-2004, 10:29 AM   #4
DiscoBiscuit
Member
 
Registered: May 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks
 
  


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
LILO question elyk Linux - Newbie 5 07-18-2004 07:35 PM
LILO question Arbitor Mandriva 3 04-13-2004 01:54 PM
Question about LILO Bandhel Linux - Newbie 1 03-14-2004 02:42 AM
Lilo question log Linux - Software 2 08-31-2003 10:19 PM
Lilo/kernel question & font question phek Linux - General 9 09-18-2001 01:20 PM

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

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