Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To Mr Michael Ernest

 
pavan bellari
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic