Solved

Fixing Master Boot Record (Linux won't Boot)

Posted on 2000-03-25
2
214 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

832 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