LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-30-2002, 03:35 PM   #1
dominique
LQ Newbie
 
Registered: Sep 2001
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
RH 7.3 & Lilo


I upgraded to Red Hat 7.3 from 7.1, now Linux is the default OS in Lilo. How do I change it back to Windows?
 
Old 06-30-2002, 04:40 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
edit your /etc/lilo.conf file and change the default to the image of your windows image.. usually referred to as DOS.
 
Old 06-30-2002, 08:33 PM   #3
dominique
LQ Newbie
 
Registered: Sep 2001
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
I tried that already, it doesn't work.

This is the contents of my lilo.conf file:
Code:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=DOS

other=/dev/hda1
	optional
	label=windows

image=/boot/vmlinuz-2.4.18-3
	label=linux.bak
	initrd=/boot/initrd-2.4.18-3.img
	read-only
	root=/dev/hdb5
	append="hdd=ide-scsi"

other=/dev/hda1
	optional
	label=DOS

image=/boot/vmlinuz-2.4.18-5
	label=linux
	root=/dev/hdb5
	append="hdd=ide-scsi"
	read-only
	initrd=/boot/initrd-2.4.18-5.img
What is wrong with it?
 
Old 06-30-2002, 08:38 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
are you running lilo after making changes..

/sbin/lilo
 
Old 07-02-2002, 06:45 PM   #5
dominique
LQ Newbie
 
Registered: Sep 2001
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Ahh, the missing link. Thank you, it worked.
 
  


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
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
What this command do? lilo -v -v -v && lilo blackzone Linux - General 1 07-06-2004 03:15 AM
LILO & USB under XP loopgru Linux - Newbie 2 03-10-2004 02:42 PM
how to uninstall lilo & install grub without using gui & linuxconf? prav_284 Red Hat 1 11-28-2003 05:45 AM
linux & win98 & LILO Jasper33 Linux - Newbie 15 05-11-2001 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:43 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
Open Source Consulting | Domain Registration