Posts with the tag System Recovery
Recover Files using TestDisk
Mount the partition with the lost files read only:
sudo mount -o remount,ro /dev/sdX
Install the requirements, the TestDisk suite:
sudo apt-get install testdisk
sudo testdisk /dev/sdX
- Select your disk and enter Proceed.
- TeskDisk tries to find the correct partition type. If you are sure, the...
Usually 5% of the storage of an ext2 or ext3 volume are reserved for the root user. You can use tune2fs to make that space available to other users!
tune2fs -m 0 /dev/sdb1
Only do this for non-system partitions (as you might need the "root quota" to recover from full...
On startup the system hung because the root UUID was not found. http://ubuntuforums.org/showthread.php?p=9020811#post9020811
So when I ran
sudo blkid — executed from a live cd — it didn't show the root partition (all other partitions UUIDs were listed).
But tune2fs showed me its UUID
sudo tune2fs -l /dev/sda2
So I tried...
- HOWTO recover deleted files on an ext3 file system with ext3grep
- Recover Deleted Files With foremost
- My newer blog post "Data Recovery on Linux using TestDisk"
- undo rm -r, restore data on unix.stackexchange.com
If you have a Linux machine and forgot the password you set during the installation process or if one of your friends gave you his old computer including a Linux installation without giving providing you his user name and password you can use this tutorial to help you...
Fix errors automatically on startup
sudo gedit /etc/default/rcS
Force a check of all ext3 partitions on next startup
sudo touch /forcefsck
View results of previous filesystem checks
less /var/log/fsck/checkroot less /var/log/fsck/checkfs