PDA

View Full Version : 1.0TB Hard Disk Error! udisks-error-quark,0 | i/o error - Can't format! please help



narayami
December 25th, 2018, 05:35 PM
Hello Ubuntu community, i'm having a really hard time trying to resolve this issue, since yesterday that i'm around my laptop trying to fix this HDD problem!
I have an asus vivobook a542ur with 1TB HDD, it was working all fine, i did a partition on windows, installed ubuntu with a pen and so i have a dualboot, yesterday i was in ubuntu and the laptop froze for like 15/20 secs, after that it shutdown and now i cant enter in windows or ubuntu.
i have tried a lot of things, right now im using the ubuntu live session from a USB.
sometimes it was detecting the hdd in the bios, and sometimes it didnt show, so i opened the laptop, removed the HDD and inserted it again, well it didnt hurt trying...but nothing happened.
in ubuntu Disks it shows my 1TB HD but with partition unknown...

https://imgur.com/a/VygG6m7 (https://imgur.com/a/VygG6m7)

If i try to format it gives me the error: Error formating volume - Error wiping device: failed to probe the device '/dev/sda3' (udisks-error-quark, 0)

and in the GParted when i open it it gives the same error as below, but after ignoring like 10 times it shows the HD, i try new and it says i need partition table, i try to create it and it gives that error again in the image. after some ignores the error change to: input/output error during read on /dev/sda (and write too).

https://imgur.com/a/yq2PuCi
(https://imgur.com/a/yq2PuCi)
So, probably my MBR is ****ed up right? i tried the boot-repair but when i open it says to backup the date before this operation, i click ok but there is no recommended or advanced options, only the about, quit and create a bootinfo, and thats what i did.

http://paste.ubuntu.com/p/VSWyjjPbq2/

(http://paste.ubuntu.com/p/VSWyjjPbq2/)
i tried a lot of things already and i dont know what to do more. i dont even care anymore about the data, i just want the hd to work with ubuntu, i just want to format it somehow and install ubuntu, its really urgent that i can start work again with the laptop and im getting crazy, and i cant afford to spend money on a new HD.
Thank you for your time, hope you guys can give me some idea to resolve this problem, it would be the best Christmas present xD
Merry Christmas!

oldfred
December 25th, 2018, 06:01 PM
In Disks and upper right corner is Smart Status.
While it can run lots of tests, all I know is whether it says drive is good or bad.

Boot-Repair says UEFI Secure Boot is now on?
Did you do a Windows update (or did it do one in background) and change UEFI settings?
Windows does that with major updates and you may not notice as it just takes a bit longer to shutdown and reboot.

Report is not showing drive at all. But most common issue after abnormal shutdown is file corruption. But now that you have done various other changes, not sure if chkdsk on NTFS and fsck on ext4 partitions will solve anything.

Post this from live installer.
sudo parted -l
sudo fdisk -lu
If gpt, run this also:
sudo gdisk -l /dev/sda
And if gpt, you have backup partition table that may help resolve issues, unless you repartitioned as part of your changes already done.

narayami
December 25th, 2018, 06:40 PM
In Disks and upper right corner is Smart Status.
While it can run lots of tests, all I know is whether it says drive is good or bad.

Boot-Repair says UEFI Secure Boot is now on?
Did you do a Windows update (or did it do one in background) and change UEFI settings?
Windows does that with major updates and you may not notice as it just takes a bit longer to shutdown and reboot.

Report is not showing drive at all. But most common issue after abnormal shutdown is file corruption. But now that you have done various other changes, not sure if chkdsk on NTFS and fsck on ext4 partitions will solve anything.

Post this from live installer.
sudo parted -l
sudo fdisk -lu
If gpt, run this also:
sudo gdisk -l /dev/sda
And if gpt, you have backup partition table that may help resolve issues, unless you repartitioned as part of your changes already done.

In the Disks, now it says No Media in the Volumes (inside the Hard Disk)

No, Boot-Repair doesn't say anything about UEFI.
i tried fsck from the terminal but no success :(

okay, the result from the commands:

sudo 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: Kingston DataTraveler 3.0 (scsi)
Disk /dev/sdb: 31.0GB
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 1913MB 1916MB 2392kB EFI

sudo fdisk -lu :

Disk /dev/loop0: 1.8 GiB, 1864450048 bytes, 3641504 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/loop1: 86.9 MiB, 91099136 bytes, 177928 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/loop2: 34.7 MiB, 36323328 bytes, 70944 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/loop3: 140.9 MiB, 147722240 bytes, 288520 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/loop4: 2.3 MiB, 2433024 bytes, 4752 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/loop5: 13 MiB, 13619200 bytes, 26600 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/loop6: 14.5 MiB, 15196160 bytes, 29680 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/loop7: 3.7 MiB, 3887104 bytes, 7592 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/sdb: 7.2 GiB, 7751073792 bytes, 15138816 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: 0x663eb4c4

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3815135 3815136 1.8G 0 Empty
/dev/sdb2 3737268 3741939 4672 2.3M ef EFI (FAT-12


sudo gdisk -l /dev/sda :


GPT fdisk (gdisk) version 1.0.3

Problem reading disk in BasicMBRData::ReadMBRData()!
Warning! Read error 22; strange behavior now likely!
Warning! Read error 22; strange behavior now likely!
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present


************************************************** *************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
************************************************** *************

Disk /dev/sda: 0 sectors, 0 bytes
Model: ST1000LM035-1RK1
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 3D2D449F-0802-4423-94E8-27EF6EC4957D
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 18446744073709551582
Partitions will be aligned on 2048-sector boundaries
Total free space is 0 sectors (0 bytes)

Number Start (sector) End (sector) Size Code Name


Ok, now it seems that isn't even detecting the HD, in GParted only shows my pendrive now... its weird, i restarted it before doing this, pressed escape and i could choose windows, ubuntu or the USB... and as you could see from the image it detected the disk before. it seems sometimes it detects and sometimes it doesn't?? but its weird since in the boot menu i could choose windows and ubuntu....

EDIT: now it doesnt show either in the boot-repair report:
http://paste.ubuntu.com/p/4PzJwwQPC5/

but it have this info there:

========= Devices which don't seem to have a corresponding hard drive: =========

sda

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/12917/mountinfo) leaked on lvs invocation. Parent PID 17990: bash
File descriptor 63 (pipe:[98349]) leaked on lvs invocation. Parent PID 17990: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20181225_1744 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 18.04.1 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

oldfred
December 25th, 2018, 07:25 PM
It knows flash drive is sdb, but shows no sda.

It says Secure boot is on in line 206.
The boot entries before line 206 are from UEFI, not from drive. And now that you cannot see sda, those entries will not work.

In UEFI/BIOS is drive shown (not boot entries) under something like storage devices, drives or similar? If not double check connections.

narayami
December 25th, 2018, 09:43 PM
It knows flash drive is sdb, but shows no sda.

It says Secure boot is on in line 206.
The boot entries before line 206 are from UEFI, not from drive. And now that you cannot see sda, those entries will not work.

In UEFI/BIOS is drive shown (not boot entries) under something like storage devices, drives or similar? If not double check connections.

yep in the bios it showed my 1tb hd...

well... i guess my hd is dead. a friend of mine borrowed me his ssd and i could install ubuntu in it, so my HD bad. i dont think i can recover it i tried so many many things since yesterday and none worked, error after error.

thank you very much for your time man! you are an angel!!