LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

How does I/O error for HDD read looks like?

Posted 05-20-2011 at 04:01 AM by Web31337 (In The Middle Of Nowhere [edK's blog])

A bit of scary story with happy ending. Below I describe how failing HDD may look in your syslogs, and how I "resolved" this issue.
NOTICE: when you see I/O errors anywhere, or you see something like this in syslog YOUR FIRST TASK IS TO MAKE BACKUPS AS FAST AS POSSIBLE!!! ONLY WHEN YOU ARE SURE YOUR DATA IS NOW BACKED UP AND SAFE, you may proceed with something like "fixing"!

Recently had an accident involving few bad blocks on HDD. The target was Seagate...
Member
Posted in hardware
Views 4249 Comments 0 Web31337 is offline
Old

annotating PDF files

Posted 05-19-2011 at 10:55 AM by neonsignal

Filling in PDF forms can sometimes be annoying, especially when the forms are DRM controlled (and do not provide edit fields).

A useful utility is flpsed. It isn't a PDF editor as such; instead, it allows the addition of text annotations to PDF files by tacking them on to the end of the file, which means that it works on just about any PDF.

Font size and color can be selected. The annotation set can be saved separately if required, and it can also be used from the command...
Senior Member
Posted in Uncategorized
Views 268 Comments 0 neonsignal is offline
Old

Script to prepare a Thunderbird PAB export for gnokii to write to Nokia series 40

Posted 05-19-2011 at 03:47 AM by catkin
Updated 06-26-2011 at 09:40 AM by catkin (Version 0.2 of the script)

Hello

Here's a script to prepare a Thunderbird Address Book LDIF export for gnokii --writephonebook to write to a Nokia Series 40. The usage is something like:
Code:
cat /tmp/TB.PAB.ldif \
  | prepare_ldif_for_gnokii.awk \
  1>/tmp/ldif.prepared \
  2>/tmp/prepare_ldif_for_gnokii.log
cat /tmp/ldif.prepared \
  | gnokii --writephonebook --overwrite --memory-type ME --ldif \
  2>/tmp/gnokii.stderr
The script:
Code:
#!/usr/bin/awk
...
LQ 5k Club
Posted in Uncategorized
Views 1147 Comments 0 catkin is offline
Old

DD Cloning

Posted 05-18-2011 at 01:01 PM by Alexoes

Hi I was wondering if there is a way to use dd to clone an image and show a progress bar because when I use this tool I don't know if is really working or not?
LQ Newbie
Posted in Uncategorized
Views 3552 Comments 2 Alexoes is offline
Old

migrating a system to a new disk

Posted 05-18-2011 at 05:16 AM by neonsignal
Updated 05-18-2011 at 05:18 AM by neonsignal

This is a procedure for migrating a whole system to a new disk (such as when upgrading the primary disk in a machine). The new disk is installed alongside the old one (either in a spare ATA port, or using a USB adapter).

First partition the new disk (the examples here assume the original disk is sda and the new disk is sdb):
Code:
fdisk /dev/sdb
Assuming all of the system is to be in a single partition, make a primary partition 'n', 'p', taking most...
Senior Member
Posted in Uncategorized
Views 267 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration