Announcement

Collapse
No announcement yet.

How to mount USB storage devices in 18.04?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] How to mount USB storage devices in 18.04?

    Before I upgraded to 18.04, when I plugged in a USB storage device, I would get a prompt asking to open it in Dolphin, if I did that the device would mount. I could also open a Dolphin window and click on the unmounted USB storage in the list of disk drives (yes I know this is an anachronism) on the right.

    Now, I get the same prompt, but when I click, it tells me "not authorized to mount this device."

    I was planning to try running 18.04 from a USB image to see if a "clean" install would fix my problems, as some on the sister Ubuntu forum have suggested, but this is not actually possible if I cannot create a bootable USB stick with the image in the first place…

    #2
    Running 18.04, when I plug in a USB stick a opup in the system tray displays some options, one of which is to open with Dolphin. I click that and Dolphin does it thing, no passwords necessary.

    Your installation of 18.04 is backfiring in so many ways it causes me to wonder just exactly what you did to install it AND what you did AFTER you installed it to make it so unpredictable. It is telling you that the device is owned by root, not you. How did you format that stick to begin with?

    You can open a Konsole and "su -i" to root. Then, plug it in and use "fdisk -l" to list the devices and examine the list to see which /dev/sdX it is. Then you can change the ownership of the USB stick to yourname:yourname , exit root and close the Konsole. Then run Etcher (or what ever your burn software you are using)
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      I just upgraded with the upgrade tool, and accepted all the default options. Not sure where I went wrong. Somebody else told me that no one should do it that way, that for years now the only way to get a functioning update is to do a "clean" install. Which makes me wonder why upgrading is still even a thing…

      I will try what you said a little later and let you know what happens, thank you!

      Comment


        #4
        You're welcome!
        FYI, who ever said that using the upgrade tool was a bad choice is spot on. About the only systems it works correctly on are vanilla ones, i.e., no special configs, apps, tools, compression, security blankets, etc. A clean install is ALWAYS better than an upgrade.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          So on my f-ed up system, "-i" is not a valid option for "su". So I just typed "su" and my password, then plugged in the USB stick, tried to mount it, and "Computer says no."

          Comment


            #6
            I am wondering if this is what is causing my problem with the Yubikey as well, since it goes in the USB port…

            Comment


              #7
              Originally posted by jpc2769 View Post
              So on my f-ed up system, "-i" is not a valid option for "su". So I just typed "su" and my password, then plugged in the USB stick, tried to mount it, and "Computer says no."
              The command should be: sudo su -i
              Using Kubuntu Linux since March 23, 2007
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Originally posted by Snowhog View Post
                The command should be: sudo su -i
                Thanks! Unfortunately, it still says that "-i" is not a valid option.

                Comment


                  #9
                  I'm also getting "not a valid option." man su. Maybe you mean -l (the lower case letter "ell")?
                  An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                  Comment


                    #10
                    sudo -i
                    is a valid option for sudo. I use it 100% of the time when I maintain my Btrfs.

                    From the sudo man pages:
                    Code:
                       -i, --login
                                     Run the shell specified by the target user's password database entry as a login shell.  This means that login-
                                     specific resource files such as .profile or .login will be read by the shell.  If a command is specified, it is
                                     passed to the shell for execution via the shell's -c option.  If no command is specified, an interactive shell
                                     is executed.  sudo attempts to change to that user's home directory before running the shell.  The command is
                                     run with an environment similar to the one a user would receive at log in.  The Command environment section in
                                     the sudoers(5) manual documents how the -i option affects the environment in which a command is run when the
                                     sudoers policy is in use.
                    :~$ sudo -i
                    [sudo] password for jerry:
                    root@jerry-Aspire-V3-771:~#

                    IF you can't do a simple "sudo -i" in a Konsole then your system is screwed up six ways to Sunday!

                    It appears to me that your system is so screwed up that attempting to repair it would not be worth the time or effort. Since you should not have to use root to access a USB stick and there doesn't appear to be a way to burn a fresh ISO (THAT YOU SHOULD CHECKSUM) if you can't burn one as a user and you can't su or sudo to root, then your only option is to borrow someone else's computer to download and burn a fresh ISO. IF you do that don't get tricky when you try to install it.
                    Last edited by GreyGeek; Aug 28, 2018, 06:25 PM.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      IF you can't do a simple "sudo -i" in a Konsole then your system is screwed up six ways to Sunday!
                      He was following Post #7:
                      Code:
                      The command should be:  sudo [B][COLOR=#ff0000]su[/COLOR][/B] -i
                      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                      Comment


                        #12
                        sudo su -i doesn't work on mine. However sudo -i does work, as does sudo -s. I don't believe you can sudo an su command.

                        So if sudo -i does not work on the OP's machine, that's another indicator of a really bad upgrade.
                        The next brick house on the left
                        Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



                        Comment


                          #13
                          Just saw where GreyGeek gave you some good info on fixing wifi, in the other trhead. Hopefully that will fix that issue, but it remains to be seen what else still needs to be fixed. Keep a re-install in mind ...
                          The next brick house on the left
                          Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



                          Comment


                            #14
                            I don't believe you can sudo an su command.
                            You sure can ... the very popular
                            sudo su
                            command!
                            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                            Comment


                              #15
                              Oops, my bad, it just doesn't like an empty argument.
                              The next brick house on the left
                              Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.27.11​| Kubuntu 24.04 | 6.8.0-31-generic



                              Comment

                              Working...
                              X