Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: hard drive error on format/delete input/output error

  1. #1
    Join Date
    Jan 2018
    Beans
    18

    Exclamation hard drive error on format/delete input/output error

    Greetings - first time posting - linux/ubuntu novice

    I have a Lenovo x120e which stopped working. It had W7 then W10 then it was halting forever. I tried the W10 partition and deleted even the special area reserved for recovery thus creating even a further havoc. Now I do no care I want it to be ububtu or lubuntu machine, There area sda and sdb. sdb is the main 300gb drive that is now inaccessible by either W10 partitioner (whic I do not care for anymore, as I wrote) nor by Ubuntu and Lubuntu USB. I cannot install Ubuntu/Lubuntu, I can only use the "try" from the USB. Non of the commands work with sdb. It always report input/output error.

    I just want to delete everyhting, format everything and have Lubuntu/Ubuntu on it.

    The last try was this (I have su - it)

    Code:
    root@ubuntu:~# mkfs -t ntfs -F -Q -L "hello world" /dev/sdb
    /dev/sdb is entire device, not just one partition.
    mkntfs forced anyway.
    Cluster size has been automatically set to 4096 bytes.
    Creating NTFS volume structures.
    Error writing to /dev/sdb: Input/output error
    Error writing non-resident attribute value.
    add_attr_bitmap_positioned failed: Input/output error
    Couldn't create $MFT: Input/output error
    
    root@ubuntu:~# fdisk -l
    Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    
    Disk /dev/loop0: 1.3 GiB, 1433468928 bytes, 2799744 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    
    Disk /dev/sda: 7.5 GiB, 8054112256 bytes, 15730688 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x0e0e8e70
    
    Device     Boot   Start     End Sectors  Size Id Type
    /dev/sda1  *          0 2902111 2902112  1.4G  0 Empty
    /dev/sda2       2888004 2892739    4736  2.3M ef EFI (FAT-12/16/32)
    
    
    root@ubuntu:~# parted -l
    Warning: The driver descriptor says the physical block size is 2048 bytes, but
    Linux says it is 512 bytes.
    Ignore/Cancel? i                                                          
    Model: Sandisk USB Ultra (scsi)
    Disk /dev/sda: 32.2GB
    Sector size (logical/physical): 2048B/512B
    Partition Table: mac
    Disk Flags: 
    
    Number  Start   End     Size    File system  Name   Flags
     1      2048B   6143B   4096B                Apple
     2      1479MB  1481MB  2425kB               EFI
    
    
    
    
    
    
    Error: /dev/sdb: unrecognised disk label
    Model: ATA WDC WD3200BEKT-0 (scsi)                                        
    Disk /dev/sdb: 320GB
    Sector size (logical/physical): 512B/512B
    Partition Table: unknown
    Disk Flags:

    What shall I do?
    (right now it is being "shred /dev/sdb")
    Last edited by oldos2er; January 5th, 2018 at 07:30 PM. Reason: Please use code tags to contain large terminal output.

  2. #2
    Join Date
    Oct 2016
    Location
    Illinois
    Beans
    91
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: hard drive error on format/delete input/output error

    Well, forgive me for asking, but what are you trying to accomplish? We need to know what the problem/goal is before we can give a solution.

  3. #3
    Join Date
    Jan 2018
    Beans
    18

    Re: hard drive error on format/delete input/output error

    as I have written "I just want to delete everyhting, format everything and have Lubuntu/Ubuntu on it." I.e. use this as a Ubuntu/Lubuntu computer. I like his computer and it is a good machine and small - very handy. IT will be pretty much a Linux netbook like.

  4. #4
    Join Date
    Oct 2016
    Location
    Illinois
    Beans
    91
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: hard drive error on format/delete input/output error

    Oh okay I understand now.

    By the look of things, it looks like the drive can be recognized and interacted with. There seems to be no hardware damage, which is a good thing.

    Now the weird thing is why the computer can't recognize the partition table on sdb. Typically this should be gpt, msdos, or mbr for Windows. The partition table is essentially the "table of contents" for a drive that tells the computer about how the partitions are set up on the drive. When the computer boots up, it reads the partition table to know how the partitions are organized.

    Typically if there is a problem with the partition table, it happens when there is an error from deleting or moving partitions around on a hard drive. It can also occur if a partition delete is aborted prematurely.

    When the partition table is broken, the computer can't use the drive.

    Depending on the severity of the damage, it's possible to fix the hard drive. There are a few possible solutions you could try to fix the partition table. Here is a website that explains them:

    https://www.interworks.com/blog/smat...artition-table
    Last edited by sccman; January 5th, 2018 at 06:41 PM.

  5. #5
    Join Date
    Jan 2018
    Beans
    18

    Re: hard drive error on format/delete input/output error

    sccman, you wrote: "Typically if there is a problem with the partition table, it happens when there is an error from deleting or moving partitions around on a hard drive. It can also occur if a partition delete is aborted prematurely." Well this is exactly what happened. I was trying to save it with W10 whence I moved partitions around; when the computer halted for very long I did interrupted it by 7sec pressing on the power button forcing it to shut down. Yes, I did all of these these things, multiple times. I was obviously wrong. I have learned my lesson. However, there was a problem before that for which I have started to meddle about with the partitions. I will go to the site and try..... finger crossed.
    Thank you - I shall be back.

  6. #6
    Join Date
    Oct 2016
    Location
    Illinois
    Beans
    91
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: hard drive error on format/delete input/output error

    Haha no worries it happened to me before too. That's how I know about it. I had to replace my hard drive in my laptop.

    Let us know how it goes.

  7. #7
    Join Date
    Jan 2018
    Beans
    18

    Re: hard drive error on format/delete input/output error

    It is this above that gives the problem.
    there is a constant error in the very beginning. general tests of both Ubuntu and W10 goes well.
    However all of them fail to read with and i/o.
    Even KillDisk.
    If I take it out of the computer, will it help?
    How can I reach as close as possible to ruling out hardware damage that is total loss?
    KillDisk reports again and again "Cannot read sectors from..... (Error: 5)" - and it starts from 0.

  8. #8
    Join Date
    Oct 2016
    Location
    Illinois
    Beans
    91
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: hard drive error on format/delete input/output error

    You could try taking the hard drive out of the computer, but in my opinion I doubt it would fix the problem. The damage was at the software level, not the hardware level. If the hard drive was physically damaged it would make noises when it is running.

    The only other problem I could think of at the hardware level would be the connectors themselves but like I said the damage was at the software level, not the hardware level.

    You're welcome to try though.

    Have you been able to use TestDisk?
    Last edited by sccman; January 6th, 2018 at 12:27 AM.

  9. #9
    Join Date
    Jan 2018
    Beans
    18

    Re: hard drive error on format/delete input/output error

    I have taken it out and purchase an adapter. Same situation - as you predicted.
    I have tried variety of software, to no avail.
    I will try test disk.

  10. #10
    Join Date
    Jan 2018
    Beans
    18

    Re: hard drive error on format/delete input/output error

    I am having difficulties installing TestDisk on my ubuntu

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •