Problem with USB Thumb Drive Formatting

Petter Adsen petter at synth.no
Mon Feb 29 11:18:02 UTC 2016


On Mon, 29 Feb 2016 02:57:43 -0800
Keith <kilowattradio at comcast.net> wrote:

> I have a USB thumb drive that I can not create a new partition table
> to or format. It says that there is an error that the drive is 512
> bytes when the driver says it should be 2048 bytes. Any one know how
> to fix this? The drive is 8GB not 29GB.
> 
> Here is the GPATED output:
> 
> Create Primary Partition #1 (fat32, 29.30 GiB) on /dev/sde  00:00:07 
> ( ERROR )
>       	
> create empty partition  00:00:03    ( SUCCESS )
>       	
> path: /dev/sde2
> start: 1024
> end: 15364095
> size: 15363072 (29.30 GiB)
> clear old file system signatures in /dev/sde2  00:00:04    ( ERROR )
>       	
> write 68.00 KiB of zeros at byte offset 0  00:00:00    ( SUCCESS )
> write 4.00 KiB of zeros at byte offset 67108864  00:00:00
> ( SUCCESS ) write 4.00 KiB of zeros at byte offset 31463567360
> 00:00:03    ( ERROR ) libparted messages    ( INFO )
>       	
> The driver descriptor says the physical block size is 2048 bytes, but 
> Linux says it is 512 bytes.
> The driver descriptor says the physical block size is 2048 bytes, but 
> Linux says it is 512 bytes.
> Invalid argument during seek for write on /dev/sde

Can you try to partition the drive with a tool that does not use
libparted, such as cfdisk or gdisk?

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."




More information about the ubuntu-users mailing list