Recovering from a power failure on Ubuntu

Status
Not open for further replies.

Gaurav

Active Member
641
2010
104
0
With power failure's quite common, I wasn't amazed when I saw my computer turned of this morning. What later troubled me was the shit load of errors I got when I tried to boot into Ubuntu. Didn't take me long to realize that the partition has some bad sectors which need to be fixed.

The Problem: While those familiar with linux would say, come on! Boot teh Ubuntu Live CD, go to the terminal and run fsck /dev/sdX# where X is the drive alphabet and # is the partition. Ubuntu's live CD mounted the swap partition on boot which locked down the / partition as well. So fsck from the Ubuntu live cd didn't help :'(

The Solution: Get Slax! 200mb of no non-sense distro.. get to the terminal and do the voodoo :D

Pro-Tip: to find your partition info, type

Code:
parted -l

in the terminal, and then proceed with fsck ^_^

Lets hope this would help another user in vain in future..

Regards,
Gaurav
 
Status
Not open for further replies.
Back
Top