Trouble Partitioning usb drive to ext4

Using 12.3

I have a fat32 8 gig thumb drive that I am trying to partition using Yast, I delete the old partition and make a new ext4 one. However when I try to partition I get these error codes.

System error code was: -3041
System error code was: -1007
System error code was: -3030

I press continue anyways.

Afterwards I access my drive and nothing has changed.

What do they mean and how can I get it to format?

Thanks

On 2014-01-19 20:06, 8ofspades wrote:

> What do they mean

No idea. I have never seen a list of those codes :frowning:

> and how can I get it to format?

Using the CLI.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

what commands should I use to format?

Make sure that the device is unmounted first. The ‘mount’ command should be able to confirm.

You can get the relevant device via

fdisk -l

Assuming /dev/sdb1 for example, then

mkfs.ext4 /dev/sdb1

Confirm with

blkid

On 2014-01-19 23:56, 8ofspades wrote:
>
> what commands should I use to format?

I just remembered. It has been suggested recently to use
“quick-usb-formatter”. Another tool could be “gnome-disk-utility”.

Have a look at this thread, we talked recently about the issue:
http://forums.opensuse.org/showthread.php?t=494314


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I wonder if USB drive is automounted when it is inserted which blocks further attempt to change partitions/create filesystem.

Those were my thoughts too (as I hinted at previously).

On 2014-01-20 03:46, arvidjaar wrote:
>
> I wonder if USB drive is automounted when it is inserted which blocks
> further attempt to change partitions/create filesystem.

It is possible, yes. The problem is that the yast partitioner gives
numeric errors, and nobody has a list of them. Maybe it was designed as
a commercial product, intending the user calls paid support. :frowning:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

I used the command line, worked great thanks!

Does the command work for formatting drives to fat32?

Yes, you could do (unmounted first of course)

mkfs.vfat /dev/sdb1

or give it a name eg ‘backup’

mkfs.vfat -n backup /dev/sdb1