Computing.Net > Forums > Linux > MBR recovery possible?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MBR recovery possible?

Reply to Message Icon

Name: gery
Date: February 2, 2006 at 16:07:49 Pacific
OS: linux/windows
CPU/Ram: Athlon 700/128 RAM
Comment:

Hi there,

I am in the following situation: have a disk with many partitions. Everything except the MBR is ok. The MBR is full of 0's. There are "important" data on one of the partitions. The question is how to get them.

There is a copy of the MBR on /dev/hda5 - one of the linux-partitions on the disk. I know the approximate size of the partitions and the order in which they stand in the partition table. So I thoght I can try to describe corectly the "situation" of /dev/hda5 in the partition table and then try to mount /dev/hda5 from a CD. But I do not know exactly the sizes and it's a lot of work to try to different combinations since everything have to be made by hand (I know just fdisk-program, which is interactive). Does smb knows some non-interactive program, or some other approach to the problem? Any help will be greatly appreciate.

I'm sorry if this is not the right forum for this problem, but I do not know some better forum for this. I'll be happy if you have some hint about it too.

thanks,
gery



Sponsored Link
Ads by Google

Response Number 1
Name: intx13
Date: February 2, 2006 at 16:37:26 Pacific
Reply:

Well to get to your data you could boot off of a live cd (I recommend Feather Linux or Knoppix) and mount the partitions. You could then install grub onto one of them, (or if there's an old /boot directory in one of them, just use that as the root for grub) and then install the grub bootloader into the MBR.

There's also live GRUB CD's and floppies you can make that provide you with a nice little grub menu/console that you can use to boot one of those parittions, assuming one has a /boot partition.

Hope that helps!


0

Response Number 2
Name: gery
Date: February 3, 2006 at 06:30:30 Pacific
Reply:

Hi,

I cannot mount the partition - it gives some error: wrong filesystem type or too many mounted filesystems. I can look precisely what the error it is. I tried:
mount -t ext2 /dev/hda5 /mnt
In /mnt I do not have anything mounted.

I thought it gvies this error because it loooks at the MBR of the disk to mount the partition and the MBR of the disk is full of 0's. It's interesting how is it made if not so.

I'll look precisely what it gives, but everything which relies on the partition table would not work. I do not know which software does not use the MBR to recognize the partition on the disk. Is the partition table the only place where it is said which part of the disk can be used for the different partitions?

I'm not sure how the partition table is made, I suppose it just point to some place of the disk where the actual information about the filesystem stay. Are there some other things (I suppose not at the beginning of the disk) on which one can recognize where start one partition and where it ends?

The partition-table is made under Windows. There is only one linux filesystem and it is made under linux.


0

Response Number 3
Name: TopFarmer
Date: February 3, 2006 at 20:10:59 Pacific
Reply:

you can try
http://www.cgsecurity.org/index.html?testdisk.html
testdisk-4.5.zip

read the how to use at web site first.

I have used it on my 120g hdd with 9 primary and 2 different extended volumes to get the info I needed . fat32 and ext3 partitions.

If the MBR is all 0's and not just the partition table you will also need to run WIN98 fdisk/mbr , linix program to reload the grub or ?.


There are other programs one is Partition Doctor.


0

Response Number 4
Name: gery
Date: February 6, 2006 at 07:41:50 Pacific
Reply:

testdisk did it :)

Many Many THANKS.
Thanks a lot TopFarmer.


0

Response Number 5
Name: TopFarmer
Date: February 6, 2006 at 18:45:36 Pacific
Reply:

thanks for letting us know.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

AOpen Cobra 850 drivers f... How to Install a Software...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: MBR recovery possible?

master boot record problem www.computing.net/answers/linux/master-boot-record-problem/874.html

Which Linux distros use GRUB 2.0? www.computing.net/answers/linux/which-linux-distros-use-grub-20/27400.html

boot repair www.computing.net/answers/linux/boot-repair/1166.html