Trying to make an Ubuntu Server USB, and obviously it has to write the ISO to the disk, not just to a partition. I'm running dd if=ubuntuimage.iso of=/dev/sde
and most of the time it completes. Sometimes it says it completed it at some ridiculous speed (like 300mb/s) and doesn't change a thing.
I open the disk in gnome-disk-utility
and the disks shows multiple partitions - basically each attempt to dd
the disk. Naturally, it can't be booted properly like this.
So I've tried using gparted
,parted
,fdisk
, and even diskutil
in Windows to clear the partition table. I've used the Kingston formatting tool as well. Windows reports that the partition table looks fine. Back into Ubuntu, run sudo partprobe
and we're back to square 1. Then I write to it with dd
or Rufus in Windows, and all of the partitions resurface, and the USB won't boot properly (typically installer loads and says it's missing files, as they were never copied correctly).
This has happened with multiple USB sticks, all after I dd
them. Disk destroyer jokes aside, what else can I try besides throwing the USB out?
sudo dd if=/dev/zero of=/dev/sdX bs=512 count=1
This deletes entire MBR, so make sure sdX is correct drive like sdf, sde etc or else DD is not a joke.