Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: gParted fails to 'initialise' micro sd card

  1. #1
    Join Date
    Apr 2007
    Beans
    334
    Distro
    Ubuntu 20.04 Focal Fossa

    gParted fails to 'initialise' micro sd card

    GParted unable to read contents of FAT32 file system on micro sd card. I have tried it with brand new 128 GB card as well as previously used 16GB card. I have installed mstools package; dosfstools package was already installed. Computer is a month old one with Ubuntu 22.04 Desktop installed.

    https://app.box.com/s/xdtd46f3qruwus9m0cqkgdfqs87p5j1g

    Attached Images Attached Images
    John

  2. #2
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gParted fails to 'initialise' micro sd card

    Does it show up in the results of
    Code:
    lsblk -e7 -o name,label,size,fstype,model

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  3. #3
    Join Date
    Jun 2014
    Beans
    7,385

    Re: gParted fails to 'initialise' micro sd card

    The image you posted shows Status not mounted. Is that the problem, that you are unable to mount? When you try to mount from a terminal, what happens? Same result?

  4. #4
    Join Date
    Apr 2007
    Beans
    334
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: gParted fails to 'initialise' micro sd card

    @ MAFoElffen
    Yes, using the lsblk command you specified, though it shows up as vfat even though I 'initialised' it as Fat32.
    Last edited by johnaaronrose; August 21st, 2023 at 03:17 PM.
    John

  5. #5
    Join Date
    Apr 2007
    Beans
    334
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: gParted fails to 'initialise' micro sd card

    @yancek Ubuntu mounts it when I remove it and re-insert it on my usb hub. Nautilus is able to read it and correctly shows it as empty.
    Last edited by johnaaronrose; August 21st, 2023 at 03:18 PM.
    John

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: gParted fails to 'initialise' micro sd card

    Quote Originally Posted by johnaaronrose View Post
    @ MAFoElffen
    Yes, using the lsblk command you specified, though it shows up as vfat even though I 'initialised' it as Fat32.
    Nothing to write home about but, Output of commands like df and lsblk indeed shows vfat as the file system type. But sudo file -s /dev/<partition> shows FAT (32 bit) if a file system is FAT32.

    You can confirm vfat is a module and not a file system type by running modinfo vfat.
    Waving as I drive by.)
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #7
    Join Date
    Apr 2007
    Beans
    334
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: gParted fails to 'initialise' micro sd card

    @1fallen 'sudo -s /dev/sda1' does show file system as Fat32. But back to my question "GParted says "Unable to read contents of this file system". Why is that occurring?
    John

  8. #8
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gParted fails to 'initialise' micro sd card

    Quote Originally Posted by johnaaronrose View Post
    But back to my question "GParted says "Unable to read contents of this file system". Why is that occurring?
    Why are you fixated on having GParted read it?

    RE: https://ubuntuforums.org/showthread.php?t=2411556

    TheFu, 1fallen, I and many ohter here answered many questions on how to look up information of attached storage devices. We also use command line tools to do that. There is many thread here of people asking why information cannot be read from GUI disk tools, such as Gnome Disks or GParted....

    For instance, if you use GPatrted from an Installer LiveUSB, it has more options installed as default then when you install it in a distro, because in a distro, all the individual file systems and drivers need to be installed to the OS.

    vfat and FAT32 may seem to be fairly basic. The utilities to work with FAT filesystems are from the dosfstools package, which is not normally a default installed package. I manaully installed it on mine:
    Code:
    mafoelffen@Mikes-B460M:~$ apt list *fs*tools --installed
    Listing... Done
    dosfstools/jammy,now 4.2-1build3 amd64 [installed,automatic]
    f2fs-tools/jammy,now 1.14.0-2build1 amd64 [installed,automatic]
    guestfs-tools/jammy,now 1.46.1-4ubuntu2 amd64 [installed,automatic]
    initramfs-tools/now 0.140ubuntu13.2 all [installed,upgradable to: 0.140ubuntu13.4]
    libguestfs-tools/jammy,now 1:1.46.2-10ubuntu3 amd64 [installed]
    squashfs-tools/jammy,now 1:4.5-3build1 amd64 [installed,automatic]
    If you start GParted, and for a volume, right click and select format, then type... All the options that are grayed out, have missing filesystem 'pieces' that are not installed yet. Once they are installed, then those options are then enabled & selectable.

    Does that answer your question on GParted?

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

  9. #9
    Join Date
    Apr 2007
    Beans
    334
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: gParted fails to 'initialise' micro sd card

    @MAFoElffen I am NOT fixated on having gParted read the SD Card. Given that Nautilus can read the SD Card, it's obviously Ok and usable.
    The question I asked is: GParted says "Unable to read contents of FAT32 file system on micro sd card". I'm just intrigued about why gParted displays this error message. To me it seems to be a minor bug.
    John

  10. #10
    Join Date
    Mar 2010
    Location
    USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: gParted fails to 'initialise' micro sd card

    Because you created your own error on your disk... Even though it is there and formatted as FAT32 for a size of 119.05 GB:
    The FAT32 file system uses smaller clusters than the FAT file system, has duplicate boot records, and features a root directory that can be of any size and can be located anywhere on the disk or partition. The maximum possible size for a file on a FAT32 volume is 4 GB.
    Then
    Microsoft chose 32GB as the maximum partition size for a FAT32 file system. The main reason for this was to promote its new file system (NTFS), considered more efficient when working with large partitions. Despite that, the 32GB limit on FAT32 has influenced the file system differently.
    So you created a partition formatted 87GB larger than the maximum capacity of the chosen filesystem... That is the biggest hurdle there. And why some things are having issues with it. Just because something is possible doesn't make it a good idea.
    Last edited by MAFoElffen; August 22nd, 2023 at 10:19 AM.

    "Concurrent coexistence of Windows, Linux and UNIX..." || Ubuntu user # 33563, Linux user # 533637
    Sticky: Graphics Resolution | UbuntuForums 'system-info' Script | Posting Guidelines | Code Tags

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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