Not a problem just wanted to work from the basics up. IIRC last time I tried to wipe a drive I had, executing just dd if of without the bs portion didn't work, or it just sat there. I wonder if dd changed to where its now a requirement to specify some block size for an empty device where as dd'ing an iso may take the ISOs layout and lay it out according to that.
MBA M1 - M1 8GB 256GB - macOS Monterey
MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11
Greetings,
you can try following:
- Open a second terminal and get the Process id of your job.
- Then use the command:
to show you information.Code:kill -USR1 <process id>
Hope this helps.
DD will not fix bad sectors, sorry. 1,400 bad sectors is a sign that the drive has failed aand can't be repaired.
That's why DD would not finish. It was trying to write to disk and being slowed down by the failed writes. Want confirmation? Try DD again, but keep an eye on the output of dmesg. It will spit out a stream of errors.
The disk is dead. Bin it.
I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.
Hi again,
It is over now, how can I check the HDD whether it has bad sector still or it is fine now? of course, after using 'shred', new partition table must be created and that is done. But I didn't create any partition yet, just a partition table.
What is the 'best' way to check the HDD now?
If we got a confirmation from the next test that the HDD is still failure, I will tell my neighbour so he will consider to replace the HDD.
Okay, I guess I found the answer for my own Q.
I am trying to install Lubuntu 13.10 from the same LiveUSB I was using and it is stuck now on "creating ext4 file system..."
I guess I have no other choice but to tell my neighbour the bad news
Sorry, not trying to insist or anything but is there any any chance at all to fix the bad sectors?
You should be able to run badblocks to have it search for an mark bad blocks on the disk.
Another recommendation is to download and install gparted, run it and partition the drives manually instead of the installer changing the partition scheme.
MBA M1 - M1 8GB 256GB - macOS Monterey
MSI GL65 - i5-10300H 16GB 512GB GTX 1650 Windows 11
Galaxy Book Go - Snapdragon 7c Gen 2 4GB 128GB Windows 11
HDD manufacturer's have their own tools to fix bad sectors, but most of these tools are Windows dependent.
So you can check the HDD manufacturer's webpage for such tools and try them from Windows PC.
But seriously, 1,400 bad sectors is not good.
Good Luck.
I had to give up so I shall try this one, let's see if that will make any difference
Thanks for positing!
I don't think that will fix the bad sectors/blocks. The problem is not to install or not, the current problem is to whether be able to fix the bad sectors or not.Another recommendation is to download and install gparted, run it and partition the drives manually instead of the installer changing the partition scheme.
Thank you!
Bookmarks