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
cinderandsmokeAsked:
Who is Participating?
 
edholmConnect With a Mentor Commented:
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
 
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
All Courses

From novice to tech pro — start learning today.