Announcement

Collapse
No announcement yet.

Unable to mount USB sticks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Unable to mount USB sticks

    All of a sudden i have been unable to mount any USB stick. The system, 26.04, will see them but when i try to mount any of them i get this error:

    gerard@gerard-kubuntu2:~$ udisksctl mount -b /dev/sdc1
    Error mounting /dev/sdc1: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting system-managed device /dev/sdc1: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error


    I get the same error message when trying to mount it in Dolphin
    ​They all mount just fine in CashyOs and Deepin also installed on the pc so that rules out a hardware error
    Has anyone seen this before?
    sigpic

    #2
    Does it mount without udisksctl?

    sudo mount /dev/sdc1 /mnt

    Any output in dmesg when it fails?

    Do the file systems have labels? I read somewhere about a bug in udisksctl if the file system is unlabled.

    Please Read Me

    Comment


      #3
      have you tried
      Code:
      sudo apt update && sudo apt full-upgrade

      and
      Code:
      sudo dpkg --configure -a
      Code:
      sudo apt --fix-broken install​
      ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

      Comment


        #4
        IME (see https://www.kubuntuforums.net/forum/...unt-with-25-10) once udisks gets confused it can remain in that confused state until a reboot. What file systems are on the sticks? Do they all fail after a reboot?
        Regards, John Little

        Comment


          #5
          it's working again now, all up to date.

          but still getting this when i try to access the software updates GUI
          Click image for larger version

Name:	Screenshot_20260722_130214.jpg
Views:	60
Size:	24.6 KB
ID:	693446

          it starts if i run sudo software-properties-qt in a terminal tho
          some stuff i did: https://github.com/droidgoo

          Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

          Comment


            #6
            the console gives this when i run it

            Code:
            QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
            
            ​
            should i enter a value for that variable in this field, or is this normal?



            Click image for larger version

Name:	Screenshot_20260722_130905.jpg
Views:	58
Size:	39.2 KB
ID:	693448
            some stuff i did: https://github.com/droidgoo

            Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

            Comment


              #7
              Originally posted by oshunluvr View Post
              Does it mount without udisksctl?

              sudo mount /dev/sdc1 /mnt

              Any output in dmesg when it fails?

              Do the file systems have labels? I read somewhere about a bug in udisksctl if the file system is unlabled.
              This is the output from from both commands:
              gerard@gerard-kubuntu2:~$ sudo mount /dev/sdc1
              [sudo: authenticate] Password:
              mount: /media: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
              dmesg(1) may have more information after failed mount system call.


              gerard@gerard-kubuntu2:~$ sudo dmesg -l err,crit
              [ 3.540419] i2c i2c-1: Invalid 7-bit I2C address 0xffff
              [ 9.852407] kvm_amd: CPU 1 isn't AMD or Hygon
              [ 9.996686] kvm_amd: CPU 0 isn't AMD or Hygon
              [ 10.031204] kvm_amd: CPU 11 isn't AMD or Hygon
              [ 81.923939] FAT-fs (sdc1): bogus number of reserved sectors
              [ 85.084389] FAT-fs (sdc1): bogus number of reserved sectors
              [ 129.894739] FAT-fs (sdc1): bogus number of reserved sectors



              I have tried the USB sticks on my Lenovo T490 with the same install with no issues. Both the pc and the Lenovo have the backports enabled.
              Last edited by GerardV; Jul 23, 2026, 12:30 AM.
              sigpic

              Comment


                #8
                Originally posted by die.boer View Post
                have you tried
                Code:
                sudo apt update && sudo apt full-upgrade

                and
                Code:
                sudo dpkg --configure -a
                Code:
                sudo apt --fix-broken install​
                I had a few updates and no errors were found with dpkg.

                This came up with sudo dmesg -w
                FAT-fs (sdc1): Can't find a valid FAT filesystem

                ​which is odd as it has been formatted to ext 4

                Last edited by GerardV; Jul 23, 2026, 12:54 AM.
                sigpic

                Comment


                  #9
                  Originally posted by die.boer View Post

                  Code:
                  sudo apt --fix-broken install​
                  should actually be

                  sudo apt install --fix-broken


                  some stuff i did: https://github.com/droidgoo

                  Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

                  Comment


                    #10
                    Originally posted by skyfishgoo View Post

                    should actually be

                    sudo apt install --fix-broken

                    both commands does the same thing , doesn't matter if install comes before or after --fix-broken
                    ▁ ▂ ▄ ▅ ▆ ▇ █ ᄂIПЦX FӨЯ ᄂIFΣ █ ▇ ▆ ▅ ▄ ▂ ▁

                    Comment


                      #11
                      weird, it does on my machine (plasma 5)

                      E: Command line option --fix-broken is not understood in combination with the other options

                      apt 2.8.3 (amd64)

                      and since we are in the 20.04 sub, i think it matters to get the command correct for others to use.


                      some stuff i did: https://github.com/droidgoo

                      Intel® Core™ i7-14700K | 64 GiB of RAM | AMD RX 6800

                      Comment


                        #12
                        Originally posted by skyfishgoo View Post
                        since we are in the 20.04 sub
                        24.04, not 20.04
                        Slava Ukraini! 🇺🇦
                        Windows no longer obstruct my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Originally posted by skyfishgoo View Post
                          weird, it does on my machine (plasma 5)

                          E: Command line option --fix-broken is not understood in combination with the other options

                          apt 2.8.3 (amd64)

                          and since we are in the 20.04 sub, i think it matters to get the command correct for others to use.


                          Weird indeed since both work here...


                          Please Read Me

                          Comment


                            #14
                            I end up doing a system restore from a backup created with Timeshift and all is good now.
                            Thank you all for your replies and suggestions.
                            sigpic

                            Comment


                              #15
                              Originally posted by skyfishgoo View Post
                              weird, it does on my machine (plasma 5)

                              E: Command line option --fix-broken is not understood in combination with the other options
                              Originally posted by die.boer View Post
                              both commands does the same thing , doesn't matter if install comes before or after --fix-broken

                              Or just use what has worked everywhere for years and uses fewer keystrokes.
                              Code:
                              sudo apt -f install​
                              Or
                              Code:
                              sudo apt install​ -f
                              it is interesting that the ordering of this switch does not matter, but the longhand version does here.

                              claydoh@blinken:~$ sudo apt --fix-broken install​
                              E: Command line option --fix-broken is not understood in combination with the other options

                              claydoh@blinken:~$ sudo apt install --fix-broken
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              Starting pkgProblemResolver with broken count: 0
                              Starting 2 pkgProblemResolver with broken count: 0
                              Done
                              0 to upgrade, 0 to newly install, 0 to remove and 19 not to upgrade.

                              claydoh@blinken:~$ sudo apt install -f
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              Starting pkgProblemResolver with broken count: 0
                              Starting 2 pkgProblemResolver with broken count: 0
                              Done
                              0 to upgrade, 0 to newly install, 0 to remove and 19 not to upgrade.

                              claydoh@blinken:~$ sudo apt -f install
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              Starting pkgProblemResolver with broken count: 0
                              Starting 2 pkgProblemResolver with broken count: 0
                              Done
                              0 to upgrade, 0 to newly install, 0 to remove and 19 not to upgrade.




                              I have noticed the significant changes Debian has made to apt, but I thought it was mostly cosmetic.

                              Even Debian can change things up, it seems
                              It is easy to assume that their new ways were their old ways lol, though this one is not in the current Stable.
                              Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
                              HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/Kubuntu LTS
                              HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE Linux

                              Comment

                              Users Viewing This Topic

                              Collapse

                              There are 0 users viewing this topic.

                              Working...
                              X