Language Selection

English French German Italian Portuguese Spanish

Linuxinsight

Syndicate content
LinuxInsight - aggregated feeds
Updated: 2 hours ago

LXer: Fedora Present and Future: a Fedora.next 2014 Update (Part IV.e, Fedora Cloud?)

Saturday 2nd of August 2014 03:00:58 PM
This is the continuation of part four of a series based on talks at February at DevConf in the Czech Republic.

Reddit: A Visual Expedition Inside the Linux File Systems

Saturday 2nd of August 2014 02:41:38 PM

Reddit: GNE ddrescue help/advice needed

Saturday 2nd of August 2014 02:20:58 PM

Background:

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?

Screenshot: http://i.imgur.com/rOcARd0.png

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]

Reddit: RHEL7 Provisioning

Saturday 2nd of August 2014 01:36:41 PM

Reddit: Systemd for Administrators, Part 1

Saturday 2nd of August 2014 01:33:10 PM

TuxMachines: Is the cloudbook the future of Linux?

Saturday 2nd of August 2014 12:37:27 PM

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...

read more

TuxMachines: Microsoft files Android patent-royalty suit against Samsung

Saturday 2nd of August 2014 12:35:00 PM

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.

read more

TuxMachines: GNU Spotlight with Karl Berry: 18 new GNU releases!

Saturday 2nd of August 2014 12:29:25 PM

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.

read more

TuxMachines: Ottawa Linux Symposium needs your help

Saturday 2nd of August 2014 12:16:31 PM

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.

read more

LXer: Microsoft files Android patent-royalty suit against Samsung

Saturday 2nd of August 2014 12:11:45 PM
Microsoft has filed a contract dispute suit against Samsung over what Microsoft claims is a breach of contract by Samsung involving Android patent royalties.

Reddit: PFQ 3.1 is out!

Saturday 2nd of August 2014 10:30:15 AM

PFQ is a framework that allows functional networking and traffic monitoring on multi-core architectures. This release includes performance improvements, a garbage collector for socket buffers, new Q-lang functions and few bug fixes. http://www.pfq.io.

submitted by awgn
[link] [comment]

LXer: Ubuntu MATE 14.10 Alpha 2 Screenshot Tour

Saturday 2nd of August 2014 10:17:23 AM
We are delighted to announce the release of Ubuntu MATE Alpha2. Most things, more than in Alpha1 at least. The .iso image should boot (from DVD or USB), the Live session should work, the installer should work and the installed system should also work. Notice the heavy use of "should", YMMV.

Reddit: The Three X-Selections and the Revenge of the Middle Mouse Button

Saturday 2nd of August 2014 10:10:45 AM

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
submitted by highspeedstrawberry
[link] [8 comments]

More in Tux Machines

Simplenote want developers to make a GNU/Linux implementation

Matt Mullenweg founder and CEO of Automattic which is responsible for WordPress.com has reached out to people who develop software on the GNU/Linux platform to find someone who will bring the Simplenote application to GNU/Linux. Read more

How to set up Raspberry Pi, the little computer you can cook into DIY tech projects

You don't need an electrical engineering degree to build a robot army. With the $35 Raspberry Pi B+, you can create robots and connected devices on the cheap, with little more than an Internet connection and a bunch of spare time. The Raspberry Pi is a computer about the size of a credit card. The darling of the do-it-yourself electronics crowd, the Pi was originally designed to teach kids computer and programming skills without the need for expensive computer labs. People have used Raspberry Pis for everything from robots to cheap home media centers. The Pi sports USB ports, HDMI video, and a host of other peripherals. The latest version, the B+, sports 512MB of RAM and uses a MicroSD card instead of a full-size card. Read more

LibreOffice Ported To 64-bit ARM (AArch64)

As more and more open-source programs get brought up for 64-bit ARM, LibreOffice is the latest to receive such AArch64 enablement. As of today in LibreOffice Git is the initial AArch64 support. Over one thousand new lines of code were added to LibreOffice by Red Hat's Stephan Bergmann for allowing the open-source office suite to build on the ARMv8 64-bit architecture. LibreOffice already runs on many CPU architectures from x86 to Alpha and SPARC with ARM64 just being the latest. Read more

SUSE's Flavio Castelli on Docker's Rise Among Linux Distros

Docker has only gained traction since its launch a little over a year ago as more companies join the community's efforts on a regular basis. On July 30, the first official Docker build for openSUSE was released, making this distribution the latest among many to join the fray. I connected with Flavio Castelli, a senior software engineer at SUSE, who works extensively on SUSE Linux Enterprise and has played a major role in bringing official Docker support to openSUSE. In this interview, he discuses the importance of bringing Docker to each Linux distribution, the future of Docker on SUSE Linux Enterprise, and other interesting developments in the Docker ecosystem. Read more