Welcome to Linuxrelated.Net
Search  
Main Menu
.· Home

Site navigator
.· Amazon
· FAQ
· Legal Documents
· Members List
· Private Messages
· Recommend Us
· Search
· Stats
· Submit News
· Users
· weather
· Web Links


Google search
.
Google

User's Login
.
 Username
 Password
 Remember me


Don't have an account yet? You can create one. As a registered user you have some advantages like a theme manager, comments configuration and posting comments with your name.

Who's Online
.We have 7 guests and 0 members online

You are an anonymous user. You can register for free by clicking here


Statistics
.cpu usage
waiting processes
memory usage
disk usage

  
Linuxrelated.Net FAQ (Frequently Asked Questions)


[ Ask A Question ]


Category: Main -> linux -> Booting

Question
·  when LILO in the MBR has been overwritten by an windows installation and I dont have a resque floppy how can i mount my linux partition again?

Answer
·  when LILO in the MBR has been overwritten by an windows installation and I dont have a resque floppy how can i mount my linux partition again?

Presumptions:

There is one IDE disk which both Redhat and windows are installed to.
LILO was originally used to boot and installed in the Master Boot Record (MBR)
You know which partition the '/' root directory is installed to.

Instructions:

Get a copy of of the Slackware 7.0 bare.i boot disk off the internet and
write it to a floppy. This boot disk is stored as a file in the Slackware distro
and can be written to disk using the dos RAWRITE.EXE program also distributed
with Slackware, and RedHat.

Boot from this floppy disk; at the boot prompt enter (assuming your root
partition is /dev/hda1 or /dev/hda2 , etc...)

mount root=/dev/hda1 ro

if this does not work, try /dev/hda2 and so on...

This will then load the Linux kernel off the floppy disk and allow enough of
your system to boot to login.

Log in as root and enter the command 'lilo' and press enter, this writes a new mbr that can boot you linux install. You might however be unable to boot windows after that without telling lilo where it resides.

Then press ctrl+alt+delete to reboot without the floppy disk and everything should be ok.
Unless you deleted the linux partition.

Top




All logos, trademarks and external news in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002 by the owner of this site.