After using TestDisk

From CGSecurity

Contents

After running TestDisk


After writing a new partition structure, you have to reboot for the change to take effect. Check the filesystems and repair them if necessary.

Ext2fs/ext3fs

To undelete files on linux, you can try e2undel

ReiserFS

If the superblock of a reiserfs partition is missing, it can be rebuild with reiserfsck --rebuild-sb device.

NTFS

To check a NTFS partition from Windows, run chkdsk /f c:

Linux/FreeBSD

You may have to update your /etc/fstab to reflect the new partition order.

Dos - Win9x

If your OS doesn't boot, you can reinstall the system files with sys c:.

Windows 2000/XP/2003

If your Windows doesn't boot, try fixmbr from the Windows Recovery Console and fixboot to repair NTFS boot sector.

Multiboot

You may have to update your multiboot configuration and reinstall the multiboot in the Master Boot Record.

  • Lilo: /etc/lilo.conf, lilo to re-install
  • Grub: /boot/grub/grub.conf, grub-install device
  • Windows (NT/2000/XP/2003/...): c:\boot.ini, run fixmbr from the Recovery Console (ie. fixmbr \Device\HardDisk0)

Return to TestDisk main page

Data Recovery