Announcement

Collapse
No announcement yet.

Secondary hard drive won't auto-mount

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

    Secondary hard drive won't auto-mount

    Kubuntu recently decided to quit mounting my second hard drive. I'm not sure what caused this, but I think it came with an update. When I run kcmshell4 device_automounter_kcm, the box for "Automount on Login" is checked for the drive. When I run sudo fdisk -l, the drive is listed, but underneath it in red it says

    Code:
    Partition 2 does not start on physical sector boundary.
    I found that if I manually create a mount point, I can get it to mount with the "mount" command, and everything seems to work fine. I wonder if I found a bug in KDE, and, if so, which part.

    #2
    Automount

    Automount with the fstab

    Ubuntu Community Fstab: https://help.ubuntu.com/community/Fstab


    Automount with the KDE Removeable Devices (Kubuntu 15.04)

    Long: http://askubuntu.com/questions/61331...devices-option

    Short:

    The Kubuntu 15.04 is using KDE System Settings that can show KDE Control Modules (kcm) for the KF5/Plasma5. The removeable devices kcm is from the KDE4. With the KF5 - http://commit-digest.org/issues/2014...33bdd71a7b743/ :

    Remove solid-device-automounter

    This should be ported to systemd so any automount happens within
    systemd user session startup and we do not depend on kded being started.

    Also, The current code is not working well, it keeps mounting things
    after you remove the item from the list, it mounts things twice making
    it bad for encrypted disks (you get the dialog twice), the model gets
    ****ed up etc.

    So, for the time being lets just remove it, and restore it the moment
    we have a maintainer and somebody to make this rock.
    Meanwhile - with the kded4/kcmshell4:

    1) Change the /usr/share/kde4/services/kded/device_automounter.desktop line X-KDE-Kded-phase=1 to X-KDE-Kded-phase=0

    2) Start 'Removable Device Automounter' from the Service Manager. Command: kcmshell4 kcmkded.

    3) Pick the right options from the KDE 'Removable Devices module'. Command: kcmshell4 device_automounter_kcm


    Partition does not start on physical sector boundary?

    AskUbuntu: http://askubuntu.com/questions/15699...ector-boundary
    Last edited by OneLine; May 04, 2015, 02:33 AM.
    Have you tried ?

    - How to Ask a Question on the Internet and Get It Answered
    - How To Ask Questions The Smart Way

    Comment


      #3
      Thanks! That works.

      Comment


        #4
        KDE review board

        solid-device-automounter - Port to KF5: https://git.reviewboard.kde.org/r/124730/
        Try Me !

        Comment

        Working...
        X