A colleague of a friend managed to lose access to his Western Digital MyPassport 1TB USB3 drive - he just couldn't get to any of the data. He sent it a "professional" company which turned out to be a scam - they hooked him in with a low price and quick turnaround, then once they showed him his data a few days after they said they would, they tripled the price. He balked and took his hard drive back.
My friend gave recovery an attempt but wasn't able to get very far, so I decided to accept the challenge and give it a shot.
State of the drive:
In Windows, it locks up and I can't do anything with it; cannot even get into Disk Management.
In Ubuntu 12.04, I've had various degrees of success. parted can see the drive and a partition table, testdisk locks up as soon as I select the drive. smartctl can read the SMART status of the disk (it says passed, but the Current Pending Sector Count is at 145 which seems high to me (Screenshot: http://i.imgur.com/0XuaZlS.png). The Disks (GUI) tool sees the drive but doesn't recognise a partition.
Question: Following the Data recovery page on Ubuntu, I'm using GNU ddrescue to image the drive. I used the --no-split, verbose, and preallocate options which created a 1TB image file in about an hour. Since then (about 15 hours), it's "Copying non-tried blocks". (Screenshot below)
Going by the GNU ddrescue manual, I'm interpreting it as the 1TB file it made is just an empty file that it preallocated, and so far it it's only read through 2324 MB of the actual disk. Am I correct in saying that it's going to continue at it's current pace all the way through to 1TB? If that's true, I'm looking at nearly 15 months, which isn't practical.
I've also included a log file below. I looked through the gnu manual for interpreting it, but honestly, most of it went over my head, and I don't have any reference to compare to. How bad does it look?
Log File: http://pastebin.com/kdST6Q79
Can anyone suggest a course of action that I should take?
Edit: typos. Can't do anything about the typo in the title. :/submitted by _redpool
[link] [7 comments]
It's impossible to deny the amazing rise of Chrome OS. The Chromebook has taken the consumer world by storm and is repeatedly the top selling laptop around. This Linux-based platform was the ideal solution at the ideal time. The cloud proved itself not only a viable option but, in many cases, the most optimal option. The puzzle was simple to solve:
Create a cost-effective platform that blended seamlessly with the cloud...
Microsoft is seeking a ruling as to whether its acquisition of Nokia's handset and services business negates its intellectual-property licensing agreement with Samsung that dates back to 2011. Microsoft also is seeking unpaid interest from Samsung, resulting from the period of time last year when Samsung withheld patent royalties from Microsoft -- royalties which Samsung later paid.
A number of GNU packages, as well as the GNU operating system as a whole, are looking for maintainers and other assistance: please see https://www.gnu.org/server/takeaction.html#unmaint if you'd like to help. The general page on how to help GNU is at https://www.gnu.org/help/help.html. To submit new packages to the GNU operating system, see https://www.gnu.org/help/evaluation.html.
Several economic changes conspired to put OLS into the financial bind it is today. You can read Andrew’s take about it on the Indiegogo site. I think the problems started before the temporary move to Montreal. In OLS’s growth years, the Kernel Summit was co-located, and preceded OLS. After several years with this arrangement, the Kernel Summit members decided that OLS was getting too big, that the week got really really long (2 days of KS plus 4 days of OLS), and that everyone had been to Ottawa enough times that it was time to move the meetings around. Cambridge, UK would be the next KS venue (and a fine venue it was). But in moving KS away, some of the gravitational attraction of so many kernel developers left OLS as well.
In this thread I would like to gather some advice on how to do something properly that has bugged me for ages.
X11 has three differerent copy/paste-targets. There is the primary, the secondary and the clipboard. When something is copied to the primary you can paste it anywhere via press of the middle mouse button. But the middle mouse button on most modern mice is a fucking asshole. It's hidden under the mouse wheel, you have to press the wheel to trigger the button, but as soon as you look at the wheel the wrong way it decides to fuck you over and move by two nano meters, sending ^ Y or ^ E to the window below your cursor.
Surely just an inconvenience, we can always remove these sequences later and most applications don't even pass them on to the text field you try to paste in. Right? Well, good luck trying to paste a 60 char password to a terminal that is in noecho mode:0. $ ssh me@some_server 0.1 "enter passphrase for me@server/id_rsa:" 1. <press middle mouse button> 1.1 hope that the wheel didn't move; you can't confirm due to lack of visual feedback 2. <enter> 3. if had_luck() continue else goto 0
Yes, ssh-agent, gpg-agent, xclip. I am using these. But as far as I know you can't xclip into an ncurses dialogue or interactive prompt. So to avoid the middle mouse button I scripted some workaround into the config of my last window manager (awesome) that allowed me to emulate mid mouse click with mod+ctrl+v. That was not ideal though, as you still had to move the mouse cursor over the window that you wanted to paste to.
I would like to be able to pipe the xclip output but that doesn't work for interactive prompts or ncurses.
I figured I am not the only one with this problem so I'd ask here.
What methods have you found to paste to a terminal (or other windows) from the X primary selection without touching the mouse wheel? Are you avoiding the X primary selection all together and have a different method? Am I aproaching this from the wrong angle?
Thanks for reading, I'm eager to hear your solutions.
//edit: Conclusion so far:
- The singals inserted by the mouse wheel are a property of zsh (which can surely be configured) and do not appear when using bash
- /u/IUseRhetoric suggested shift+insert, which works perfectly and so far looks like a better solution than I was hoping for
[link] [8 comments]