aspose file tools*
The moose likes Linux / UNIX and the fly likes To Mr   Michael Ernest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "To Mr   Michael Ernest " Watch "To Mr   Michael Ernest " New topic
Author

To Mr Michael Ernest

pavan bellari
Greenhorn

Joined: Sep 19, 2003
Posts: 24
sir, I am using WindowsXp with Linux
I have installed linux and WindowsXP on a single PC. but when i reinstall the windows linux is not booting. i think the master boot record is changed how to retrieve linux with out reinstalling it
For this Mr Chris De Vries replied as
"Boot using your linux recovery floppy, mount the root filesystem and reinstall the master boot partition using whichever loader you had installed previously "
but can u please tell how to mount the file system and how to reinstall the master boot record.
waiting for ur reply
bye
pavan
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Pavan --
Note that you'll have much better luck getting replies if you use subject lines like "Recovering dual-boot linux system" than "To Mr. Michael Ernest." The latter looks like the subject line of Nigerian banking spam!
Anyway, the specific answers depend on the particulars of your Linux distribution. If you're using RedHat, booting from the install CD should give you "system recovery" as an option; this will mount the disk automatically, and I think it will offer you the option to reinstall the MBR. If you have to do these things by hand, again, the details vary by distribution, but generally, once you've booted a recovery disk and have a bash prompt, something like "mkdir /mnt/disk; mount /dev/hda1 /mnt/disk" will mount partition 1 at /mnt/disk. How to reinstall the MBR depends on whether you're running LILO or GRUB or some other boot loader; if it's LILO, just executing LILO will do it.


[Jess in Action][AskingGoodQuestions]
 
jQuery in Action, 2nd edition
 
subject: To Mr Michael Ernest