Format image usb drive

I have used and created an image drive to install Ubuntu server 18.04.

I have tried to erase and reformat using Mac utility but It will not do it.

Can someone explain how to do this in a terminal or other software

Thanks

2

1 Answer

I tried other ask ubuntu answers but they did not work for me. I found an answer at this link which worked for me.

at the terminal type

Diskutil List

identify your disk to be erased then type:

diskutil eraseDisk free EMPTY /dev/disk4

Then format the disk

diskutil eraseDisk ExFAT USB64 /dev/disk4 where USB4 is the disk name and EXFAT the format

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like