LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2020, 02:43 PM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Rep: Reputation: 43
Need help formatting a USB drive


I'm using Ubuntu 19.10 and the application called "Disks" to attempt to format a USB thumb drive.

I have attached a screenshot of the error I get when I attempt to format this usb thumb drive.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2020-05-27 15-40-29.png
Views:	63
Size:	216.0 KB
ID:	33292  
 
Old 05-27-2020, 04:21 PM   #2
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Rep: Reputation: 40
Try fdisk /dev/sdb. Then mkfs /dev/sdb1. You can also search the web 'fdisk mkfs format tutorial' should find something.

Or are you trying to install linux with a USB drive? And you're trying to put the iso on the USB drive?
 
Old 05-27-2020, 04:48 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,688

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
It looks like you created a bootable USB from an ISO file.

If so you should delete the MBR, create a new partition and then format it.
 
Old 05-28-2020, 10:36 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,138

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If it's a Linux boot disk, then the computer won't see it as a sort of hard disk but as a sort of CD! To convert it back into a normal storage medium
- plug it in and then unmount it
- run the command
Code:
dd if=/dev/zero bs=1M count=10 of=/dev/sdb
- format in the usual way.
 
Old 05-28-2020, 12:02 PM   #5
michaelsavage
Member
 
Registered: Apr 2019
Distribution: Linux Mint
Posts: 59

Rep: Reputation: 11
If you are looking for a GUI way to format a USB, you can try mintstick or usb-creator-kde

sudo apt install mintstick
or
sudo apt install usb-creator-kde
 
Old 05-28-2020, 02:53 PM   #6
Crippled
Member
 
Registered: Sep 2015
Distribution: MX Linux 21.3 Xfce
Posts: 595

Rep: Reputation: Disabled
Use Gparted.
 
Old 05-29-2020, 09:33 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,138

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
If it's been turned into an installer with an ISO 9660 image, then Gparted may not accept it. The dd command I gave removes the identifying part of the image so that Gparted will consider it as an unformated device.
 
Old 06-02-2020, 02:16 PM   #8
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Rep: Reputation: 40
In "Disks" next to the Mount button there are other Options - there's a choice to "Edit partition"
That should tell you what's up.
 
Old 06-03-2020, 06:42 AM   #9
Hermani
Member
 
Registered: Apr 2018
Location: Delden, NL
Distribution: Ubuntu
Posts: 261
Blog Entries: 3

Rep: Reputation: 113Reputation: 113
Can't he just remove both existing partitions with the minus sign button and then create a new partition and format it?
 
Old 06-03-2020, 03:33 PM   #10
ceantuco
Member
 
Registered: Mar 2008
Location: New York
Distribution: Debian
Posts: 809

Rep: Reputation: 88
I use Gparted to remove and reformat my bootable linux USB drives.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help formatting hard drive ziggyjoe21 Linux - Laptop and Netbook 6 07-03-2009 08:25 AM
formatting drive with EXT3 for data drive digity Linux - Newbie 2 09-16-2008 07:56 PM
Problem formatting USB drive, need some help... tiger.woods Ubuntu 9 08-10-2007 09:39 PM
Help Me!! Need help formatting my Hard Drive Mr. G Linux - Software 4 07-25-2006 10:57 AM
i need help formatting a drive scorpion777 Linux - Newbie 3 08-06-2003 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration