Lilo Problem

General discussion about Linux, Linux distribution, using Linux etc.
Zaheer
Battalion Havaldaar Major
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
Location: Karachi
Contact:

Lilo Problem

Postby Zaheer » Sun Nov 02, 2003 9:59 pm

AOA,
I have installed Redhat 9 recently with success.Win 2000 was installed before,so I wanted to Use both win and Redhat.But on installation at Lilo screen I made a mistake,I made Windows as default OS.Now When I boot my PC it goes directly to Windows and even not ask for Linux,lilo menu is not shown that what to boot Win or Redhat,so plz kindly tell me how to set lilo menu what to choose(redhat or Win2000) without whole Installation process.My PC is always booting in Win 2000.
Regards
Zaheer
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try Out!!!

Registered Linux user #333501

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Postby LinuxFreaK » Sun Nov 02, 2003 11:37 pm

Dear Zaheer,
Salam,

Sir, When you Starts your computer did you get the Red Hat 9 Menu ? If you got the menu then press ctrl + c and then you see like
lilo:
and when you press tab button then you got the list of installed OS
Linux
dos

if no then try to boot from Linux CD and Choose Rescue... After System has been booted and mounts then system Image then write

chroot /mnt/sysimage

then edit /etc/lilo.conf useing any editor like Pico, joe, vi blah blah...

Example Lilo File
===========
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=Windows ( Change it to Linux ) then your Linux Boot Automatically

image=/boot/vmlinuz-2.2.14-5.0
label=Linux
read-only
root=/dev/hda9

other=/dev/hda8
Label=Windows 98

after editing the file save and exit and run /sbin/lilo and reboot... :)
If it will solve your problem its ok other wise refer to ......
http://www.linuxpakistan.net/forum2x/vi ... .php?t=644

Best Regards.
Farrukh Ahmed


Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests