Solved

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

Posted on 2000-04-23
6
247 Views
Last Modified: 2010-04-20
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. :(  

0
Comment
Question by:pswong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 4

Expert Comment

by:garisoain
ID: 2742827
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
0
 
LVL 4

Expert Comment

by:garisoain
ID: 2742829
garisoain changed the proposed answer to a comment
0
 
LVL 4

Expert Comment

by:garisoain
ID: 2742833
and yes, LILO goes into the MBR,
by the way, what hapen if you type "dos"
when LILO shows up?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 1

Expert Comment

by:andrewljohn70
ID: 2742913
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 :))

0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2746011
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.
0
 
LVL 4

Accepted Solution

by:
garisoain earned 75 total points
ID: 2748074
LILO stands for "Linunx Loader", when you get the prompt, it's asking you to choose your booting partition, by default, if you only have 1 win, and 1 Linux boot, the options (images) will be: "linux", and "dos", but you can change it editing the file /etc/lilo.conf, anyway I recommend you to study this file to know a little more about LILO, and, in case you change it, just type "lilo" from the prompt, and it will make the change...

in case that your Win98 doesn't boot at startup typing "dos" at the LILO prompt, check your /etc/lilo.conf, making sure that the boot partition for your win system is the right one (hda1, hda2, hda3, etc...)
and read the comments... =)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question