Restore from backup!
Oh! You do not have a backup then look at: Tools, Recovery, Diagnostic, Emergency.
You will find UBCD Ultimate Boot CD
. UBCD allows users to run floppy-based diagnostic tools from most CDROM drives on Intel-compatible machines, no operating system required. The cd includes many diagnostic utilities plus you can use PhotoRec, Digital Picture & File Recovery
. 'PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its 'Photo Recovery' name) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media's filesystem has been severely damaged or re-formatted' After Using PhotoRec
& PhotoRec Wiki
is another tool on UBCD. This tool is used to check and undelete partition, supports reiserfs, ntfs, fat32, ext2/3 and others.
and Data Recovery using TestDisk
are useful links.
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!