Loki Files application doesn't show my other partitions

Discussion in 'Software & Applications' started by Aero9000, Nov 9, 2016.

  1. Aero9000

    Aero9000 Thread Starter
    Expand Collapse
    New Member

    Joined:
    Sep 13, 2016
    Messages:
    2
    Likes Received:
    1
    PLEASE IGNORE THIS POST!

    Looks like the Loki installer altered (or rather, f*cked up) something in my partition table. My other linux distro now also fails to recognize the other partitions!


    Now I know exactly what Hillary Clinton must be feeling like.... :-(


    Well, today I had to install Elementary 0.4 when 0.3 stopped working after an update. The NVidia proprietary driver somehow failed (black screen) and manually reinstalling the driver also failed, leaving me little other choice than upgrading right now.

    Anyways, in Freya, when I open the Files application I got a list of my other partitions in the left column. Clicking one mounted and opened that partition and all worked fine. In Loki I don't see any of my other partitions.

    How can I fix this?
     
    #1 Aero9000, Nov 9, 2016
    Last edited: Nov 9, 2016
  2. Frederik Vos

    Frederik Vos
    Expand Collapse
    Active Member

    Joined:
    Feb 2, 2017
    Messages:
    26
    Likes Received:
    2
    start with the lsblk command, maybe it shows something like:

    sdb 8:0 0 232,9G 0 disk
    ├─sdb1 8:1 0 217G 0 part

    then use the blkid: blkid /dev/sdb1

    make sure there is a filesystem on it like ext4. Create a mountpoint, e.g.

    mkdir /mnt/data1

    create a mount unit:

    sudo -e /etc/systemd/system/mnt-data1.mount

    [Unit]
    description = my first data disk
    requires = local-fs.target

    [Mount]
    What = /dev/sdb1
    Where = /mnt/data1
    What = ext4
    Options = defaults

    [Install]
    WantedBy = default.target

    Save it, and execute:
    sudo systemctl enable mnt-data1.mnt
    sudo systemctl start mnt-data1.mnt

    Of course you can change the description in the unit file. Make sure that the filename of the unit correspondents with the name of the mountpoint.
     

Share This Page

Loading...