LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2012, 03:14 PM   #16
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976

Moderator note: I took the liberty to change the thread title to something that describes better what the real problem is: it should attract more attention. Moreover I added CODE tags where missing. To add CODE tags, either switch to advanced mode, select the text you want to embed in a CODE frame and press the # button OR write down the tags explicitly like this:

[CODE]This is a line of code[/CODE]


that will appear as
Code:
This is a line of code
 
2 members found this post helpful.
Old 09-11-2012, 09:49 PM   #17
rkliever
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Output of smartctl -a /dev/sda

Code:
ubuntu@ubuntu:~$ sudo smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-29-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model:     Hitachi HTS547575A9E384
Serial Number:    J2540054C9K1ZE
LU WWN Device Id: 5 000cca 63fc45765
Firmware Version: JE4OA50A
User Capacity:    750,156,374,016 bytes [750 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 6
Local Time is:    Tue Sep 11 20:36:42 2012 CDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x05)	Offline data collection activity
					was aborted by an interrupting command from host.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(   45) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 177) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   100   099   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0025   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0023   197   100   033    Pre-fail  Always       -       1
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1320
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       1492
 10 Spin_Retry_Count        0x0033   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1282
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       339307200512
188 Command_Timeout         0x0032   100   099   000    Old_age   Always       -       8592883744
190 Airflow_Temperature_Cel 0x0022   063   050   045    Old_age   Always       -       37 (Min/Max 36/38)
191 G-Sense_Error_Rate      0x0032   096   096   000    Old_age   Always       -       1205
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       3145776
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       26004
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0036   100   100   000    Old_age   Always       -       0
223 Load_Retry_Count        0x002a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 4
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 4 occurred at disk power-on lifetime: 1386 hours (57 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 18 b8 c6 45 06  Error: WP at LBA = 0x0645c6b8 = 105236152

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 70 00 40 eb 40 00      00:31:16.920  WRITE FPDMA QUEUED
  61 00 68 00 3c eb 40 00      00:31:16.914  WRITE FPDMA QUEUED
  61 00 60 00 38 eb 40 00      00:31:16.909  WRITE FPDMA QUEUED
  61 00 58 00 34 eb 40 00      00:31:16.904  WRITE FPDMA QUEUED
  61 00 50 00 30 eb 40 00      00:31:16.897  WRITE FPDMA QUEUED

Error 3 occurred at disk power-on lifetime: 1386 hours (57 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 08 e0 d6 07 06  Error: WP at LBA = 0x0607d6e0 = 101177056

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 30 00 fc 2c 40 00      00:13:12.704  WRITE FPDMA QUEUED
  61 00 28 00 f8 2c 40 00      00:13:12.700  WRITE FPDMA QUEUED
  61 00 20 00 f4 2c 40 00      00:13:12.694  WRITE FPDMA QUEUED
  61 00 18 00 f0 2c 40 00      00:13:12.688  WRITE FPDMA QUEUED
  61 00 f0 00 ec 2c 40 00      00:13:12.683  WRITE FPDMA QUEUED

Error 2 occurred at disk power-on lifetime: 1386 hours (57 days + 18 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 28 20 23 04 03  Error: WP at LBA = 0x03042320 = 50602784

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 e0 00 00 b8 40 00      00:10:58.915  WRITE FPDMA QUEUED
  61 00 d0 00 fc b7 40 00      00:10:58.910  WRITE FPDMA QUEUED
  61 00 c8 00 f8 b7 40 00      00:10:58.904  WRITE FPDMA QUEUED
  61 00 c0 00 f4 b7 40 00      00:10:58.899  WRITE FPDMA QUEUED
  61 00 b8 00 f0 b7 40 00      00:10:58.893  WRITE FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 1363 hours (56 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 08 70 f1 01 0a  Error: WP at LBA = 0x0a01f170 = 167899504

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  61 00 30 00 54 32 40 00      00:29:33.810  WRITE FPDMA QUEUED
  61 00 28 00 50 32 40 00      00:29:33.806  WRITE FPDMA QUEUED
  61 00 20 00 4c 32 40 00      00:29:33.800  WRITE FPDMA QUEUED
  61 00 d8 00 48 32 40 00      00:29:33.796  WRITE FPDMA QUEUED
  61 00 18 00 44 32 40 00      00:29:33.790  WRITE FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      1449         -
# 2  Short offline       Aborted by host               50%      1372         -
# 3  Short offline       Completed without error       00%      1299         -
# 4  Short offline       Completed without error       00%      1290         -
# 5  Short offline       Completed without error       00%      1239         -
# 6  Short offline       Aborted by host               80%      1238         -
# 7  Short offline       Completed without error       00%       937         -
# 8  Short offline       Aborted by host               50%       449         -
# 9  Short offline       Completed without error       00%       449         -
#10  Short offline       Completed without error       00%       449         -
#11  Short offline       Completed without error       00%       449         -
#12  Short offline       Completed without error       00%       448         -
#13  Short offline       Completed without error       00%       448         -
#14  Short offline       Completed without error       00%       448         -
#15  Short offline       Completed without error       00%       448         -
#16  Short offline       Completed without error       00%       447         -
#17  Short offline       Completed without error       00%       447         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
Old 09-12-2012, 03:11 AM   #18
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by rkliever View Post
The command....sudo smartctl -a /dev/sda wasn't recognized.

Code:
ubuntu@ubuntu:~$sudo fdisk -l

Disk /dev/sdb: 4000 MB, 4000317440 bytes
114 heads, 49 sectors/track, 1398 cylinders, total 7813120 sectors
Units = sectors of 1 * 512=512 bytes I/O size (minimal/optimal) 512 bytes/512 bytes
Disk # Identifier: 0x00000000

Device      Boot   Start    End       Blocks     Id    System
/dev/sdb1     *     16      7813119   3906552    6     W95 FAT32
Is sdb a flash drive?
sda would be the enternal hdd of laptop, I dont think you have mounted the hdd.

My bad Tobisgd already covered the above question.

Last edited by EDDY1; 09-12-2012 at 03:13 AM.
 
Old 09-12-2012, 04:21 AM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
That is weird, according to smartctl your internal disk is OK, but fdisk can't see it. I am out of clues now.
 
Old 09-12-2012, 05:30 AM   #20
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
At this point I would focus the attention on the most limiting error you encountered:
Code:
input/output error during read on /dev/sda
as reported in posts #6 and post #8. Even if smartctl did not show any anomaly as TobiSGD reported (what about the 4 errors, anyway?) I would try a diagnostic tool specific for your hard drive. Indeed it would be a waste of time time trying to fix a software issue whereas an alleged hardware failure makes things more complicate. For your Hitachi disk the correct tool should be the second one listed here: http://www.hgst.com/support/index-fi...gacy-downloads that is Drive Fitness Test. In the user guide there are instructions about creating a bootable CD, which can be easily inferred to create a bootable USB stick (just pay attention on the size of the ISO image).

Now some questions (someone already posed, but answers are not given or unclear):

1. is the hard drive expendable (in case of failure) or do you need to recover some data from it? In other words: have you a backup of your data safely stored on another device?

2. have you instructions (manual, on-line guides and so on) on how to recover the original Windows OS from the (hidden) recovery partition?

3. is the requirement of Ubuntu/Debian mandatory or may you try to switch to another distribution like CentOS (Red Hat)?
 
1 members found this post helpful.
Old 09-12-2012, 06:53 AM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by colucix View Post
(what about the 4 errors, anyway?)
i have seen many times that smartctl reported errors on working fine drives. Most of the times when I could figure out what happened those errors were caused by power failures, especially when those occur in a short timespan (three of those errors here occured at the same time), so I usually ignore them, especially when there is a time with the drive working after the errors occured (here about 100 hours).
 
1 members found this post helpful.
Old 09-12-2012, 09:20 AM   #22
rkliever
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
fdisk Loop0 & fdisk Loop1

1. is the hard drive expendable (in case of failure) or do you need to recover some data from it? In other words: have you a backup of your data safely stored on another device?

The data on the hard drive is expendable, there isn't anything on it that I need.

2. have you instructions (manual, on-line guides and so on) on how to recover the original Windows OS from the (hidden) recovery partition?

I don't have a guide or instruction on how to do this but I can look for one now. I'd would really like to erase the entire disk, including the hidden partition and start over!

3. is the requirement of Ubuntu/Debian mandatory or may you try to switch to another distribution like CentOS (Red H

I am open to any Linux distro. I attempted to install Kubuntu last night and got the same error - input/output error.

I've used Disk Health (Gsmart Control) to check the disk while in mini-Linux and it says the disk health is fine but fdisk cannot see it. I've noticed a Loop0 and Loop1 partition so I tried fdisk to investigate them. (Not sure if that's the right thing to do but SO frustrated! I just want to erase the entire drive and install an operating system and go about my business!! Here's the output of fdisk if it's helpful at all in trying to erase the hard drive and install an operating system?

Code:
root@PartedMagic:/# fdisk /dev/loop1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x46eedd99.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): w
fdisk: unable to write /dev/loop1: Operation not permitted
Code:
root@PartedMagic:/# fdisk /dev/loop0
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xef0d0392.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): w
fdisk: unable to write /dev/loop0: Operation not permitted
 
Old 09-12-2012, 10:09 AM   #23
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
The loop devices are nothing strange: they are used to mount an ISO image and most likely it is the method used from the mini-linux in use to mount itself in memory. You can safely let them go.

Given your responses, if I were you I'd give a chance to CentOS 6. Recently I succeeded to recover a Sony ultrabook compromised by a bad virus, by running a CentOS 6 Live USB and it went where no other linux has gone before: it was the only OS (among those ones I tried) that could correctly recognize the internal RAID with which the PC was equipped. Moreover I installed it on a Lenovo X1 and it worked out-of-the box with only minor issues (easily fixed).

Said that, if by chance you have a supporting machine with CentOS 6 already running (even as Live CD) you can install the livecd-tools package and follow these steps to create the bootable USB stick:
1. Format a 1GB USB key as FAT16
2. Install the livecd-tools package:
Code:
yum install livecd-iso-to-disk
3. Download the ISO image of the CentOS last release:
Code:
wget -c <centos mirror>/centos/6/isos/<arch>/CentOS-6.3-<arch>-LiveCD.iso
where the parts in grey are your choice (a CentOS mirror near you and the architecture for your laptop, i386 or x86_64 for 32 or 64-bit architecture respectively).
4. Create the LiveUSB stick:
Code:
livecd-iso-to-disk /usr/local/CentOS-6.3-<arch>-LiveCD.iso /dev/sdXX
where xx stats for the partition of the USB stick as seen from the system you're working on (e.g. /dev/sdb1 or /dev/sdc1).

Otherwise, you can safely create it as you're used to. Then you can try it and see if you still get the input/output error from the internal hard drive of your machine. Good luck!
 
1 members found this post helpful.
Old 09-12-2012, 11:59 AM   #24
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try using gparted-live it may tell you to do a fsck which gparted is capable of.
 
1 members found this post helpful.
Old 09-12-2012, 03:02 PM   #25
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
Ditto on Eddy1's comment...

Gparted (the latest) can probably delete the existing partitions, and you could then create new ones...

Else,... it's a BIOS or UEFI secure boot lock, or an drive controller that's unsupported on the distro you've tried. ... More likely a problem with the partitions, or BIOS/UEFI settings, as you were able to see the drive.

This looks like the following problem:
http://askubuntu.com/questions/82669...itions-problem

You probably have overlapping partitions,... HP's fault.
 
1 members found this post helpful.
Old 09-12-2012, 06:53 PM   #26
rkliever
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
I'm downloading CentOS 6.3 along with GParted Live and will give them a shot!

I don't know if this is important and probably not g but thought I'd ask....Last night, after the Kubuntu installation failed I stayed in the O.S. to look things over. I was looking at the file system and noticed a folder called .rof. I checked the properties oland it said the folder contains over 2000 files and over 2 TB of data! How is this possible? Is that something to do with the fact that I was running Kubuntu in virtual memory? My hard drive is 750 GB so I thought it was strange at the time. Maybe not though?

I will let you know how it goes with GParted and CentOS! I REALLY hope I can get this taken care of. I waited too long to turn you!! My frustration level was way too high but going down now.

Becca
 
Old 09-14-2012, 06:42 PM   #27
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
Rebecca,

I wouldn't be too concerned witht the false reading in the directory. It's physically impossible for it to contain more information than the Hard drive can hold, unless your looking at a cramfs compressed partition. More than likely, if on your hard drive, as opposed to the USB stick, it's an artifact of the messed up drive geometry. In any case, deleting it will likely solve your problems...

Delete the extended partitions first, making sure to use the little checkmark in Gparted to commit the changes. Then, delete the primary partition.

Create a new primary Ext4 partition. Commit changes at each step. Make the primary partition equal to about 100GB (for extra room, just in case). Then create an extended partition of the balance. In the Extended Partition, create a swap partition with about 4-5 times your RAM in size (overkill, but what the heck). Finally, create a /home partition with the remainder of the space,...

When installing your OS,... CentOS, Kubuntu, whatever, use the advanced partitioning option, and when it discovers your partitions created with Gparted, assign them to their appropriate mount points,... / for the primary root, bootable partition, swap for swap (obvious), and /home for the home partition.

After you install, this will probably be the last time you want to format the /home partition, on ANY subsequent installs,... that way you can retain your data from install to install, and just migrate the data to any new primary user account you create on those subsequent installs (different names are recommended for those users, unless you stick with OpenSuSE).

Last edited by JaseP; 09-14-2012 at 06:47 PM.
 
1 members found this post helpful.
Old 09-16-2012, 12:12 PM   #28
rkliever
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Update on input/output errors......still no O.S. installed!

I downloaded Gparted live and booted from usb stick. I was able to get it running with "fail safe" settings but got the same error when gparted automatically scanned for my hard drive on boot up into the desktop - input/output error on /dev/sda and then it wouldn't/couldn't see it.

It was also recommended that I download and install either CentOS or Kubuntu, hoping they would work better than Ubuntu with my laptop. I continued to get the same error: input/output error.

I don't know Gparted at all. Is there something else I should be doing with it so that it can see read my hard drive?
 
Old 09-16-2012, 01:04 PM   #29
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
At this point it appears to be a hardware failure. I'd make a last attempt to test the hard drive by means of the diagnostic tool provided by the drive vendor, as suggested in post #20 of this thread.
 
Old 09-16-2012, 11:26 PM   #30
rkliever
LQ Newbie
 
Registered: Sep 2012
Posts: 16

Original Poster
Rep: Reputation: Disabled
Drive Fitness Test

I am using a 4 GB USB and it's formatted to I don't think I'm doing this correctly! I followed the instructions but couldn't get it to work.

Here's the instructions from HGST.com (that I tried to follow!)

To create a bootable DFT diskette under Linux:

Download the bootable version of DFT (dft-vxxximg.bin) into a known directory on your PC.
Insert a formatted 1.44 MB diskette into your disk drive.
Make sure that the floppy disk is unmounted.
Change directory to where you saved the DFT image.
Run the Disk Dump (dd) utility with the following parameters:

dd if=dft-vxxximg.bin of=/dev/fd0 bs=8k

Note: /dev/fd0 is the first diskette drive. Use /dev/fd1 if you would like to use the second diskette drive to create the DFT diskette.

The bootable DFT diskette will now be created, Note this could take a couple of minutes .Here's what my USB looks like:

(parted) print all
Error: /dev/sda: unrecognised disk label
Model: ATA Hitachi HTS54757 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown

Model: SanDisk Cruzer (scsi)
Disk /dev/sdc: 4000MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 4000MB 3999MB primary fat16 boot


(parted) And....Here's my "outcome"!

Welcome - Parted Magic (Linux 3.0.4-pmagic)

root@PartedMagic:~# cd Downloads/
root@PartedMagic:~/Downloads# dd if=dft-vxxximg.bin of=/dev/fd0 bs=8k
dd: opening `dft-vxxximg.bin': No such file or directory
root@PartedMagic:~/Downloads# ls
dft32_v416_b00_install.IMG
root@PartedMagic:~/Downloads# It seems like such a simple thing but I don't seem to be able to do it, could someone help me with this?

Thank u!

Becca
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop freezes in debian, ubuntu rcrummett Linux - Laptop and Netbook 22 10-08-2011 09:44 AM
[SOLVED] Install Linux (Debian/Ubuntu) on old blind laptop to use as server passcod Linux - Laptop and Netbook 3 11-10-2009 10:18 PM
LXer: Ubuntu vs. Debian on the $0 Laptop LXer Syndicated Linux News 0 10-18-2007 12:50 PM
LXer: Ubuntu vs. Debian on the $0 Laptop LXer Syndicated Linux News 0 10-18-2007 11:10 AM


All times are GMT -5. The time now is 10:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration