Lilo Problem

General discussion about Linux, Linux distribution, using Linux etc.

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
Zaheer
Battalion Havaldaar Major
 
Posts: 284
Joined: Fri Oct 17, 2003 12:15 am
WLM: zaheermb20@hotmail.com
Yahoo Messenger: zaheermb2002@yahoo.com
Location: Karachi

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
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest

cron