1. Find a backup superblock using newfs command
Example
newfs -N /dev/sda2
OR
dumpe2fs /dev/sda2 | grep superblock
2. Now you have the superblock (if you are lucky). Recover the superblock.
fsck -b
Example
fsck -b 32768 /dev/sda2
-----------------------------------------------------------------------------------------------------------------
Topics will be covered in this Blog are : Linux System Administrator - Memory Performance Tuning - File System - User Group - Linux / Unix Commands Processes - Virtual Swap Memory - Mail Server - Remote Access - Linux Permissions - Boot procedure system Logging - Network (xinetd) Configuration (ifconfig) - DNS - DHCP - Web Server - Kernel - Shell Script - Tuning Optimization High Availability Heart-BeatClustering-Backup and Recovery - Network Time Protocol - NIS - NFS - RPM Partition - /proc - Scheduling (crontab) - mount unmount - secured shell (ssh) - Remote Access - Virtual Network Computing (VNC) Default Ports - Services
-----------------------------------------------------------------------------------------------------------------
Wednesday, October 15, 2008
Recover Corrupted Partition From A Bad Superblock
Labels:
fsck
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment