The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> Linux Help
|
I'm not getting LILO prompt on boot up
Discuss I'm not getting LILO prompt on boot up in the Linux Help forum on Dev Shed. I'm not getting LILO prompt on boot up Linux Help forum discussing topics including usage, troubleshooting, modules, and distributions. Linux is an open source OS, based on UNIX.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 9th, 2002, 01:45 AM
|
|
Contributing User
|
|
Join Date: Aug 2000
Location: Chennai,TamilNadu,India
Posts: 33
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|
I'm not getting LILO prompt on boot up
Hello Friends
I had dual boot with Red Hat Linux 7.1 and Windows 95 in my machine. Due to some unavoidable reasons, i formatted the Windows 95 and re-installed it.
After re-installing, i'm not getting the LILO prompt. I'm getting directly to the Windows.
Can anyone know how to rectify this problem, so that i can get the LILO prompt again.
Thanks in Advance
Raghuram B.
|

January 9th, 2002, 11:34 AM
|
|
Contributing User
|
|
Join Date: Sep 2001
Location: Svizzera
Posts: 69
Time spent in forums: 1 h 15 m 20 sec
Reputation Power: 12
|
|
|
boot from partition
when your "/boot" is on the partition /dev/hda2, you should activate this partition
probaply you took the default preferences in the linux-Install --> wrote it in the MBR --> win overwrote it
you have to rescue Linux (disc or CD) and write the bootup on /dev/hda2 if your /boot is on hda2
|

January 14th, 2002, 06:20 PM
|
|
Contributing User
|
|
Join Date: Sep 2001
Location: On a screen near you
Posts: 498

Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
This is in the manual, Redhat says any other OS that gets installed over Linux will have default MBR status
I would reinstall Linux over Windows then Linux will have priority
Mark
__________________
100 trillion calculations per nanosecond
Last edited by Marky_Mark : January 14th, 2002 at 06:23 PM.
|

January 15th, 2002, 05:29 AM
|
 |
Wacky hack
|
|
Join Date: Apr 2001
Location: London, England
Posts: 513
Time spent in forums: 1 h 38 m 37 sec
Reputation Power: 13
|
|
|
That is completely unecessary. You should have a boot floppy disk which you can use to boot up Linux. If you do, use that and see if you can find your lilo configuration file (lilo.conf, it should be in /etc). Then run this command: "/usr/sbin/lilo /etc/lilo.conf" and it will reinstate LILO on your MBR.
You may find when you use the boot disk you can't find the partition with your files on (sometimes boot disks just boot up their own mini-Linux OS) then mount the partition to a folder (so mkdir a folder called "stuff" or whatever you like, then do "mount /dev/hdax /stuff" where hdax is the partition with /etc on). Then go into /stuff and you should find your files in there.
Sometimes installation CDs have an option called "boot into installed system" or something along those lines, which will let you boot into your installed RH Linux system. That's really ideal because once in you can just type "lilo" and it'll reinstate your MBR.
Honestly, reinstalling Linux should be a last resort... that's the problem with RH.. it doesn't encourage you to learn a thing about the way Linux works!
|

January 15th, 2002, 09:30 AM
|
|
Contributing User
|
|
Join Date: Sep 2001
Location: On a screen near you
Posts: 498

Time spent in forums: < 1 sec
Reputation Power: 12
|
|
Quote: | You should have a boot floppy disk which you can use to boot up Linux |
You are right about it being unnecessary to reinstall Linux if you have the LILO disk but when i installed Linux on my Windows system as a workstation it didn't give me the option to make a LILO disk it just wrote the bootstrap to the beginning of the MBR so what your saying won't apply to some Linux installations
BTW im refering to a KDE workstation install with Redhat 6.1 (cartman)
Mark
Last edited by Marky_Mark : January 15th, 2002 at 09:37 AM.
|

January 15th, 2002, 10:18 AM
|
 |
Wacky hack
|
|
Join Date: Apr 2001
Location: London, England
Posts: 513
Time spent in forums: 1 h 38 m 37 sec
Reputation Power: 13
|
|
|
You can still use the CD, or make your own bootdisk from any machine (be it Windows or Linux)...
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|