I wanted to make a bootable Windows 10 USB on my Ubuntu 16.04 Gnome and in the process of following these steps I got myself into a few problems with my 8 GB pen drive disk.
GParted does not recognize the whole 8GB as unallocated. I think another 4GB partition was created but I don't seem to able to manage it via GParted.
I get errors when trying to format disk or erase it in Disks:
When I run
sudo mkfs.vfat /dev/sdb1 || sudo dd if=/dev/zero of=/dev/sdb1 bs=1M count=1
to format via command line I get the following output:mkfs.fat 3.0.28 (2015-05-16)
I tried opening the USB disk in GParted on another laptop (running Lubuntu) and there I could see the disk formatted correctly and showing up the whole 8GB. Could it the problem be my computer's system?
How am I to repair this USB stick so I can get a working windows bootable USB?
I had also problems using the standard partitioning tools. I solved it by using the program fdisk. Install it with
and then invoke it with
Don't forget to unmount your usb before, and DON'T manipulate your system disks!
Link on how to format a disk.
I too face similar problem with Gparted. I have no Idea why this happens when I make bootable or persistent usb.
But I have easy trick. I use mkusb to format and freshly allocate pen-drive.I never gone through any terminal drill.
I hope it will work for you too.
https://help.ubuntu.com/community/mkusb
You should try another partitioning tool like GnomeDisks (gdisk), some usb sticks have very specific issues. Maybe one tool can succeed where another doesn't.
On GnomeDisks, select the usbstick and press the minus button on the right section above the partitioning table.