Solved

Fixing Master Boot Record (Linux won't Boot)

Posted on 2000-03-25
2
213 Views
Last Modified: 2010-04-20
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
Comment
Question by:cinderandsmoke
2 Comments
 

Expert Comment

by:galstrom
ID: 2657746
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
 

Accepted Solution

by:
edholm earned 25 total points
ID: 2682828
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now