Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 234
  • Last Modified:

Fixing Master Boot Record (Linux won't Boot)

System Summary:
Dual boot (IBM PC with Pentium 166, 64MB of Memory, and 10 Gig Hard Drive) with Win 98 and Mandrake Linux 6.0.

I accidenatlly delete two files from win 98's c: drive and when I restarted the computer none of the operating systems would boot up. I managed to fix windows and I got that running, but I think that in doing so I must have reset the Master Boot Record because I can no longer get the prompt that asks me which operating system would I like to Boot up when the computer starts.

I tried using the linux boot disk (I tried using both the linux command and the resuce command) but nothing works. I think that this is happening because linux is no longer attched to the master boot record, basically it is not mounted.

Don't know what else to do except reinstall linux
0
cinderandsmoke
Asked:
cinderandsmoke
1 Solution
 
galstromCommented:
You will need to boot linux from a boot disk.  Then you will need to rerun LILO.  I can not rember the command for mandraked since I am running RH 6.1 .  But you can check out a how-to for lilo and this will tell you how to do it.
0
 
edholmCommented:
1. From DOS you can run [fdisk -mbr] to restore the Master Boot Record
2. Boot linux from a rescue disk, mount the root filesystem and run [lilo] to reinstall the lilo boot manager
0
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.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now