Results 1 to 10 of 10

Thread: Trouble Partitioning usb drive to ext4

  1. #1

    Default 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

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Trouble Partitioning usb drive to ext4

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

    > What do they mean


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

    > and how can I get it to format?


    Using the CLI.

    --
    Cheers / Saludos,

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

  3. #3

    Default Re: Trouble Partitioning usb drive to ext4

    what commands should I use to format?

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: Trouble Partitioning usb drive to ext4

    Quote Originally Posted by 8ofspades View Post
    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
    Code:
    fdisk -l
    Assuming /dev/sdb1 for example, then
    Code:
    mkfs.ext4 /dev/sdb1
    Confirm with
    Code:
    blkid

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Trouble Partitioning usb drive to ext4

    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)

  6. #6
    Join Date
    Sep 2012
    Posts
    7,092

    Default Re: Trouble Partitioning usb drive to ext4

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

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: Trouble Partitioning usb drive to ext4

    Quote Originally Posted by arvidjaar View Post
    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).

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Trouble Partitioning usb drive to ext4

    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. :-(

    --
    Cheers / Saludos,

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

  9. #9

    Default Re: Trouble Partitioning usb drive to ext4

    I used the command line, worked great thanks!

    Does the command work for formatting drives to fat32?

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,695
    Blog Entries
    1

    Default Re: Trouble Partitioning usb drive to ext4

    Quote Originally Posted by 8ofspades View Post
    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)
    Code:
    mkfs.vfat /dev/sdb1
    or give it a name eg 'backup'
    Code:
    mkfs.vfat -n backup /dev/sdb1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •