Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How do i recover data from my /home, its my fault!!!

Go to solution Solved by Joe Jackman,

i know the answer, will update the process soon but its not what i have desired but it seems to be the only way. I may have found a better solution, will make a separate entry to confirm the idea and mark it as solution here and there. Basically would snapshot work- via TIMESHIFT?
Would it ignore the stuff that is not useable and do the ones that can?

   

i drop kicked my pc, and my /home drive has bad sectors (has been flagged to fail soon) now. i rsync it but in a span of 14 hours, it managed to copy 270 gigs  (got 6.7gb/1tbh) and ofc it spends about 20 mins trying to copy 1kb of file. on disks i see like 2002 bad sectors. i don't know what to do. 
Dual boot windows-Linux/deb
got separate drives for both OS- one is a Toshiba(/home) but oddly enough it reported those bad sectors like after 4 days pior to the kick, its old tbh.  the other is a WD blue 3 years of use of the shelf. also very new to Linux but am comfortable with terminal and vim.
also Data recovery does not exist where i live, or the the whole damn country.    

Link to post
Share on other sites
3 minutes ago, jaslion said:

Stop using the driver and send it to a data recovery center.

money. also i dual boot from windows to linux. using my windows now. this part seems fine, or at least it is now showing me errors automatically

. i should check. how do check for that on windows. 

 

Link to post
Share on other sites
14 minutes ago, Joe Jackman said:

money. also i dual boot from windows to linux. using my windows now. this part seems fine, or at least it is now showing me errors automatically

. i should check. how do check for that on windows. 

 

just checked via gui, no errors found it says.

 

Link to post
Share on other sites

WHY DID YOU DROP KICK A COMPUTER WITH HARDDRIVES IN IT?!?!?!?!?!?!?!?!

 

 

but yes, send it to a data recovery specialist. 

Resident Apple Sheep - She/Her

MacBook Pro 13" Early 2015 | i5 5257U | Intel Iris 6100 | 8gb Ram | 120gb SSD | macOS

PC | Dual Xeon X5650 | R9 290X | 32gb Ram | 500gb SSD | Supermicro X8DT3-LN4F | Manjaro

Link to post
Share on other sites
5 minutes ago, Ashley xD said:

WHY DID YOU DROP KICK A COMPUTER WITH HARDDRIVES IN IT?!?!?!?!?!?!?!?!

 

 

but yes, send it to a data recovery specialist. 

you wont believe the reason. but i was happy it fixed one problem i had with my pc. created another one :).
also where i am wrong, There is no recovery specialist. i may be among 1k in 220 mil population.

 

Link to post
Share on other sites
17 minutes ago, Joe Jackman said:

There is no recovery specialist

then you're screwed basically. 

Resident Apple Sheep - She/Her

MacBook Pro 13" Early 2015 | i5 5257U | Intel Iris 6100 | 8gb Ram | 120gb SSD | macOS

PC | Dual Xeon X5650 | R9 290X | 32gb Ram | 500gb SSD | Supermicro X8DT3-LN4F | Manjaro

Link to post
Share on other sites
1 hour ago, Ashley xD said:

then you're screwed basically. 

well not really, i can fix it but all route points me to above 24 hours of pc run time which is impossible where i live and also i got no time for that. but the good news is i can still save the HDD and reuse it - https://superuser.com/questions/665214/how-to-quickly-format-a-hdd-with-bad-sectors-in-linux/665232  
the reason i want to rsync it, so that my os doesn't freak out and i need to redo all my con-figs and app installs. Basically i wanna do this https://www.distrotube.com/blog/move-your-home-folder-to-second-drive/

i done it before (thats how i moved to my new 1tb HDD(old)) but nvr with bad sectors and its gonna take me above 4 days to basically copy and potentially have a unscratched drive like nothing happened.
these are the bad sectors. and i have on a LIVE cd. so that i don't break any more sectors/blocks. wait you use windows and mac. um did any of these made sense to you?image.thumb.png.ca6693c43db2661f691385c4fd6005fe.png

Link to post
Share on other sites
4 hours ago, Joe Jackman said:

i drop kicked my pc

wtf, why?

4 hours ago, Joe Jackman said:

it managed to copy 270 gigs  (got 6.7gb/1tbh) and ofc it spends about 20 mins trying to copy 1kb of file. on disks i see like 2002 bad sectors. i don't know what to do. 

stop using it right now and take it to a specialized recovery center.

3 hours ago, Joe Jackman said:

also where i am wrong, There is no recovery specialist.

Ship the drive to one that isn't close to you then... or give up on the data because trying to use it is likely going to break it completely.

1 hour ago, Joe Jackman said:

with bad sectors and its gonna take me above 4 days to basically copy and potentially have a unscratched drive like nothing happened.

The problem is not time. A bad sector doesn't mean it's slow, it means it's damaged and the data can't be read. If you keep trying it's going to keep timing out and report spurious times. Let me repeat: your data cannot be read. Any attempt to copy it elsewhere is just going to result in corrupted and unusable files or a failed operation.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

What is scaling and how does it work? Asus PB287Q unboxing! Console alternatives :D Watch Netflix with Kodi on Arch Linux Sharing folders over the internet using SSH Beginner's Guide To LTT (by iamdarkyoshi)

Sauron'stm Product Scores:

Spoiler

Just a list of my personal scores for some products, in no particular order, with brief comments. I just got the idea to do them so they aren't many for now :)

Don't take these as complete reviews or final truths - they are just my personal impressions on products I may or may not have used, summed up in a couple of sentences and a rough score. All scores take into account the unit's price and time of release, heavily so, therefore don't expect absolute performance to be reflected here.

 

-Lenovo Thinkpad X220 - [8/10]

Spoiler

A durable and reliable machine that is relatively lightweight, has all the hardware it needs to never feel sluggish and has a great IPS matte screen. Downsides are mostly due to its age, most notably the screen resolution of 1366x768 and usb 2.0 ports.

 

-Apple Macbook (2015) - [Garbage -/10]

Spoiler

From my perspective, this product has no redeeming factors given its price and the competition. It is underpowered, overpriced, impractical due to its single port and is made redundant even by Apple's own iPad pro line.

 

-OnePlus X - [7/10]

Spoiler

A good phone for the price. It does everything I (and most people) need without being sluggish and has no particularly bad flaws. The lack of recent software updates and relatively barebones feature kit (most notably the lack of 5GHz wifi, biometric sensors and backlight for the capacitive buttons) prevent it from being exceptional.

 

-Microsoft Surface Book 2 - [Garbage - -/10]

Spoiler

Overpriced and rushed, offers nothing notable compared to the competition, doesn't come with an adequate charger despite the premium price. Worse than the Macbook for not even offering the small plus sides of having macOS. Buy a Razer Blade if you want high performance in a (relatively) light package.

 

-Intel Core i7 2600/k - [9/10]

Spoiler

Quite possibly Intel's best product launch ever. It had all the bleeding edge features of the time, it came with a very significant performance improvement over its predecessor and it had a soldered heatspreader, allowing for efficient cooling and great overclocking. Even the "locked" version could be overclocked through the multiplier within (quite reasonable) limits.

 

-Apple iPad Pro - [5/10]

Spoiler

A pretty good product, sunk by its price (plus the extra cost of the physical keyboard and the pencil). Buy it if you don't mind the Apple tax and are looking for a very light office machine with an excellent digitizer. Particularly good for rich students. Bad for cheap tinkerers like myself.

 

 

Link to post
Share on other sites

Stop telling the OP to take his drives to a recovery specialist! There is no recovery specialist in his country, he's telling you more then once! And if there was, he hasn't got the money to pay for it.

 

Now, as for the problem at hand, you should indeed stop using the drive. Purchase another drive, same size or larger, and a USB stick as this is required for the next steps.

 

First, visit the Unetbootin website (google it!) and download the application. Start the application (as administrator under Win-OS) and let it find the USB stick you've inserted. Select a Linux distro from the list, Sysrescuecd is a good choice (if not in the list, either select a LiveCD version from the list of download the SysrescueCD image separately) and install it on the USB stick. Install the 2nd harddrive then boot from the USB stick. SysrescueCD comes with an option to boot into a GUI, this makes it easier for you to perform tasks if you're not used to a terminal/cli.

 

Report back when you get this far.

 

(goal is to mirror your defective drive to the new one, then perform recovery on the mirror image instead. Alternatively, the photorec tool may be able to recover directly from the broken drive to the new one)

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to post
Share on other sites
10 hours ago, Dutch_Master said:

Stop telling the OP to take his drives to a recovery specialist! There is no recovery specialist in his country, he's telling you more then once! And if there was, he hasn't got the money to pay for it.

 

Now, as for the problem at hand, you should indeed stop using the drive. Purchase another drive, same size or larger, and a USB stick as this is required for the next steps.

 

First, visit the Unetbootin website (google it!) and download the application. Start the application (as administrator under Win-OS) and let it find the USB stick you've inserted. Select a Linux distro from the list, Sysrescuecd is a good choice (if not in the list, either select a LiveCD version from the list of download the SysrescueCD image separately) and install it on the USB stick. Install the 2nd harddrive then boot from the USB stick. SysrescueCD comes with an option to boot into a GUI, this makes it easier for you to perform tasks if you're not used to a terminal/cli.

 

Report back when you get this far.

 

(goal is to mirror your defective drive to the new one, then perform recovery on the mirror image instead. Alternatively, the photorec tool may be able to recover directly from the broken drive to the new one)

i am a linux user xd and ik i shouldn't be using my linux, if its a physical bad sector then i am gonna make it worse if not then a gparted repair should work but i really need to back it up, thats what i am trying to do now. Taking whatever i need via a live CD for the time being. I already managed a HDD of similar size (external). tried rsync but ye the bad sector takes forever and sometimes an hout or 2 just to say "we cant do it, we will try it again".
image.thumb.png.1185feb2adeb9497034dfc2152e2b0f0.pngmy distro already has that. if not i can just sudo install em- or what they want me to do to install it.

Link to post
Share on other sites

Use the ddrescue tool the distro provides, it's specifically intended for bad drives. See the man pages on how to use it.

man ddrescue

HTH!

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to post
Share on other sites
5 minutes ago, Dutch_Master said:

Use the ddrescue tool the distro provides, it's specifically intended for bad drives. See the man pages on how to use it.


man ddrescue

HTH!

ic, no matter what. i be looking at around a day or two to recover

Link to post
Share on other sites

Yup. If you have a UPS to bridge power gaps, that would be neat.

"You don't need eyes to see, you need vision"

 

(Faithless, 'Reverence' from the 1996 Reverence album)

Link to post
Share on other sites
3 hours ago, Dutch_Master said:

Yup. If you have a UPS to bridge power gaps, that would be neat.

right after i commented that, the power went out. not possible then. i am planning to redo, take whatever config i need. (thats what ddrescue does but rsync makes sure that u can just swap ur HDD if u were need to and the OS will still take the new HDD as if its was the original). make my usb persistant and attach my new HDD as its /home. if i need anything along the way i can go to my old hdd and retrieve it. also if my old HDD stay unused, would it go bad?

Link to post
Share on other sites

i know the answer, will update the process soon but its not what i have desired but it seems to be the only way. I may have found a better solution, will make a separate entry to confirm the idea and mark it as solution here and there. Basically would snapshot work- via TIMESHIFT?
Would it ignore the stuff that is not useable and do the ones that can?

   

Edited by Joe Jackman
update
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Newegg

×