0

I'm having trouble with disks on my machine. I'm unable to boot and currently trying to clean install Ubuntu. When I use Gparted with bootable usb disk, I can remove all partitions on my disk and when I hit apply button it says job is done but as soon as the success message disappears, it shows all the old partitions as they were before.

Update: when I use Disk utility, after hitting - button to delete any partition, nothing happens.

Mehraban
  • 1,285
  • 2
  • 19
  • 26

1 Answers1

0

If you're fine with wiping ALL data on the disk, boot to a Linux live USB and try these:

  1. Run this command to wipe the first few blocks of /dev/sdb
sudo dd if=/dev/urandom of=/dev/sdb bs=4M count=50 status=progress && sync
  1. Reboot to the same live medium.
  2. Create a new Partition Table ("gpt" for newer EFI systems and "msdos" for older Legacy Boot systems) using GParted.
  • I did it with no success. It seems to me any write operation to the disk won't work. – Mehraban Sep 28 '21 at 07:04
  • That means either:
    1. The disk is damaged (hardware failure)t is read-only (some SD card holders and some rare kinds of disks, USB disk enclosures, USB-SATA etc., have a switch that makes them read-only).
    – TimothySimon Oct 01 '21 at 15:22