View Single Post
Old 04-9-2012, 08:20 PM   #15
fido123
FFR Player
 
fido123's Avatar
 
Join Date: Sep 2005
Age: 32
Posts: 4,245
Default Re: Hard drive crashed -- need advice

Quote:
Originally Posted by UserNameGoesHere View Post
sudo su -
The root account by default is disabled in Ubuntu and Ubuntu variants. The proper command is 'sudo -i'. This goes for anything with sudo installed on it when root is disabled or you just want to avoid logging into root.

Also correct me if I'm wrong but I don't understand how this will help at all. All this will do is destroy his partition table, file-systems, and data. As far as I know it doesn't matter what garbage is on a hardrive, file-systems typically don't give a crap about anything they didn't write themselves.


Quote:
Originally Posted by Reincarnate View Post
/dev/sda1 is a Hidden NTFS WinRe (start 2048 end 27650047) blocks 13824000
/dev/sda2 (boot * selected here) is a HPFS/NTFS/exFAT (start 27650048 end 27854847) blocks 102400
/dev/sda3 is a HPFS/NTFS/exFAT (start 27854848 end 976771071) blocks 474458112
How was your partitioning scheme? Is one of those a recovery partition, one of them is where you store your OS, and the other is where you cram all your data so it's not lost in reformats? Anyways now that I look at it it doesn't really matter. /dev/sda2 seems to be your boot partition but I have a feeling that's just Windows Boot Loader. Better be safe than sorry and just run the following command:

Code:
ntfsfix /dev/sda1 && echo "sda1" && ntfsfix /dev/sda2 && echo "sda2" && ntfsfix /dev/sda3 && echo "SUCCESS"
That whole thing is one command. Will tell you when it's done each one to give you some piece of mind that it's not frozen or w/e. Overall I'd say /dev/sda3 is your most likely candidate.

Last edited by fido123; 04-9-2012 at 08:25 PM..
fido123 is offline   Reply With Quote