Linux partition diappeared

I installed Win95 to my computer but the linux partition has
disappeared ie. LILO used to ask me which OS do I want to
boot, but now it does n't...
Is there a way to fix LILO from Win95 or DOS ie. I have to change the master boot record?
My linux installation is RedHat 4.1 and I can't reinstall it
because I gave the Red Hat cds to a friend.
I have 4.2GB HD and only 2.5GB is visible under Win95 which means the linux 2GB partition exists but I can't access it..

any comments or suggestions?......
maboAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jeffa072897Commented:
Win95 re-wrote your MBR(master boot record).
Boot the system with your origional Linux boot disk.
At the boot: prompt give the command -
mount root=/dev/<device with root partition>
The system should boot normally.
Then, logged in as root, run lilo. Thet will re-build the MBR to
give you linux/95 multi boot again.
If you made an emergency boot disk during install you can use that too, instead of the origional boot disk.
0
maboAuthor Commented:
oh no!..there is a problem...I don't have a boot disk...because
when I installed Red Hat I used the the Dos mode in Win95 then
I simply ran their autoexec.bat file and it installed linux in my
machine..... and I did not make any boot disk (stupid me).....
Is there a utility in Win95 that lets you edit your MBR? Or is there any other way to edit my MBR without using the boot disk?...

any comments?.....
0
maboAuthor Commented:
Adjusted points to 19
0
alvinwangCommented:
use a diskette. copy loadlin.exe into the dskeete. then copy all
the files in the autosetup directory. edit the .bat file such that you use it as a boot disk.
then follow the comment as above.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
frowijnCommented:
Yo,

Windows removes the lilo boot by erasing the MBR, you can do 2 things, install linux again, and then you go to dos and do a fdisk /mbr, now when you install windows again, the mbr will be the same !!

Oscar
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.