Link to home
Start Free TrialLog in
Avatar of pswong
pswong

asked on

HELIP!!!!! Lilo went to wrong sector!!!!

my system containing win98 is crashed after installing linux.  i think the lilo went into my master boot record coz lilo boot shows - linux  dos.  i tried to see the partition table in linux using <p> but it says no such image.  so i cant use linux fdisk to del or uninstall linux.  neither can i use ms-dos fdisk to del this ext. dos partition as it's not recognizing the partition.  i want to do a clean uninstall for both os but i'm stucked.  waiting for a linux white knight to rescue my situation b4 i use a hammer to destroy my harddisk. :(  

Avatar of garisoain
garisoain

look at your /etc/lilo.conf for something like this:
# DOS bootable partition config begins
other = /dev/hda3
  label = win
  table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda1
  label = lin
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

your file must contain a section pretty much like this, exept for the /dev/hdax parts... adapt it to your own partitions, and then run "lilo" again, and restart...

If you want only to take out LILO of the Master Boot Record, try on MS-DOS:
fdisk /MBR
garisoain changed the proposed answer to a comment
and yes, LILO goes into the MBR,
by the way, what hapen if you type "dos"
when LILO shows up?
hi pswong,
do not panic.
try this out:

1. boot your computer and let it come to the lilo:

2. press the TAB key.

3. this will show you all the images that can be started.

4. you should find something like:
    linux    dos    rescue

5. type dos which should look like:
   lilo: dos
6. press enter- your windows should start.

7. if you type linux which looks like:
    lilo: linux

8. press  enter - you should boot to linux and reach the linux login prompt.

try this out and let us know how you fare..
Smiles :))

lilo only cares about boot, so it cares nothing about show your partition table etc. Just follow garisoain's suggestion, type 'dos' at prompt. If LILO is configured properly, you'd boot into win98 by doing so. type 'linux' will boot to your Linux installation.
ASKER CERTIFIED SOLUTION
Avatar of garisoain
garisoain

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial