Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Internal drive partitions listed as removable

  1. #11
    Join Date
    Sep 2020
    Beans
    7

    Re: Internal drive partitions listed as removable

    If I were to reinstall, what would I change in the partition manager to resolve the ejectable drive issue?

    This isn't my main computer, so wiping and reinstalling is relatively easy.

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Internal drive partitions listed as removable

    I think it is probably a bug in whatever program is being used by Lubuntu to display this stuff. Is that Thunar?
    I say this assuming the fstab file shown is the correct file with the correct options.

    There is an x- .... set of comments (really fake options) that gvfs, udisks* and other gnome tools use to decide some behaviors. Those tools should use different configuration files for their needs, not bastardize the fstab file. I don't know where to get the full list of these abominations. Perhaps udisks manpage or buried somewhere in the gnome documentation at freedesktop.org?

    Searching ....
    Google found this list of programs: https://access.redhat.com/documentat...ools-xdg-utils
    My 16.04 systems don't have any gvfs-*. The mount one seems related to https://developer.gnome.org/gio/stable/gio.html 16.04 doesn't have any gio at all either.

    But on 20.04, there are a bunch of both commands.
    When I run, gvfs-mount --list I get a deprecation warning saying to use "gio mount" instead, with some output that isn't anything like what I'd expect needed to mount stuff.

    When I run gio mount --list, notice it is gio as the command, mount as an option with --list as the 2nd option, the same output, which doesn't contain anything useful to put into a normal "mount" command, is shown.
    gio mount --list --detail does show details for each available volume. Three of the items are
    1. is_removable=1 and
    2. is_media_removable=1
    3. can_eject=1

    It is shown for a fake CDROM, but not for other devices. Those both have
    1. is_removable=0
    2. is_media_removable=0
    3. can_eject=0

    which is expected. Perhaps Thunar is seeing these toggles on your system? You might run gio mount --list --detail to see. I have no idea how those are being set. My BIOS does have settings for hot-swap devices, but I don't have 20.04 running on any physical hardware that would have the gio command, so I cannot check.

    Thanks for this simple question. It got me too look much deeper into gvfs and gio subsystems. Didn't find an answer, but perhaps a lead for an answer?

  3. #13
    Join Date
    Sep 2020
    Beans
    7

    Re: Internal drive partitions listed as removable

    I appreciate the help.

    I just reinstalled after troubleshooting the cause of "erase disk and install" option being absent from my original installation. I wanted to be sure that my inexperienced fumbling with the partition menu was not the cause of this issue.

    It wasn't. The two partitions created automatically by the installer both display as ejectable... despite the drive being soldered to the board. Maybe it's a quirk of the hardware? This isn't exactly a top tier PC.

    I'm just going to try and remove the GUI widget for the time being.

  4. #14
    Join Date
    Aug 2017
    Location
    melbourne, au
    Beans
    736
    Distro
    Lubuntu Development Release

    Re: Internal drive partitions listed as removable

    Quote Originally Posted by TheFu View Post
    I think it is probably a bug in whatever program is being used by Lubuntu to display this stuff. Is that Thunar?
    I say this assuming the fstab file shown is the correct file with the correct options.
    FYI only

    Lubuntu/LXDE used `pcmanfm` to handle the desktop/GUI & as a file manager
    Lubuntu /LXQt uses `pcmanfm-qt` to handle the desktop/GUI & as a file manager
    Panel is handled by `lxqt-panel` (but conf file is the ~same in live & installed systems)

    On installed systems I wouldn't expect any / or /boot/efi (ESP) partitions to be ejectable, however they are on a live system prior to installation. I don't know the key/trigger that makes it show on live and not on installed systems, that maybe the fix.

  5. #15
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Internal drive partitions listed as removable

    /dev/mmcblk0p1
    While many tablet type systems use MMC as drive, the MMC card is normally the removeable card in your camera or other prtable device. Assuming it is removable is probably the error.

    https://en.wikipedia.org/wiki/MultiMediaCard
    Originally:
    Usage Portable devices
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #16
    Join Date
    Aug 2017
    Location
    melbourne, au
    Beans
    736
    Distro
    Lubuntu Development Release

    Re: Internal drive partitions listed as removable

    Thanks @oldfred

    I now see your point. I don't have devices with a block device that shows like /dev/mmcblk0p1 so can't test it


    @argon-1511
    If you'd like to file a bug @argon-1511, I'll take a look at it. I don't see bugs reported upstream relevant (https://github.com/lxqt/pcmanfm-qt/issues or https://github.com/lxqt/lxqt-panel/issues) but I'll ask on #lubuntu-devel to see if anyone in the team has something like it.

    If you'd like to file a bug, you'll need a launchpad account, and can file with

    Code:
    ubuntu-bug lxqt-panel
    For more information on Lubuntu bugs, I'll provide our wiki page (https://phab.lubuntu.me/w/bugs/)

  7. #17
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,626
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Internal drive partitions listed as removable

    Anyone with a Raspberry-Pi running Lubuntu could check this. Here's what it looks like on a r-pi v2 with a microSD and NFS mount with rasbian:
    Code:
    $ df -Th
    Filesystem          Type      Size  Used Avail Use% Mounted on
    /dev/mmcblk0p2      ext4       30G  7.1G   21G  26% /
    /dev/mmcblk0p1      vfat      240M   39M  201M  17% /boot
    romulus:/raid/media nfs       1.8T  1.7T   42G  98% /R
    Unfortunately,
    Code:
    $ gio mount --list
    -bash: gio: command not found

Page 2 of 2 FirstFirst 12

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
  •