Choose style:

Author Topic: Automount Partitions (Solved)  (Read 1207 times)

0 Members and 1 Guest are viewing this topic.

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Automount Partitions (Solved)
« on: January 28, 2018, 08:53:08 pm »
I have partitions that I can't get to automount even though Disks says that they are set that way.
they are /media/mobileme/Dropbox and /media/mobileme/data

Here is the /etc/fstab contents:
Code: [Select]
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda9 during installation
UUID=0ef0d2d3-4a06-4acc-9103-4742e1983e0f /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
#UUID=94835165-0ec7-4581-96e1-34524911b6e5 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0

BTW I don't have any problems with cryptswap like I used to on other Peppermint versions.
Regards
« Last Edit: February 10, 2018, 01:55:13 am by Brotherred »
"Those that don't know pay for it. My currency is pride"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Automount Partitions
« Reply #1 on: January 29, 2018, 08:10:56 am »
Is this a full disk encryption setup ?

And though you've given the  intended mount points you've not stated the partitions UUID's or device nodes ?

What exactly are these devices .. I can see one is dropbox (which really should be done via the Drpobox client), but I'm not sure what the other is .. is it always attached ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Automount Partitions
« Reply #2 on: February 01, 2018, 01:45:14 am »
Yes these drives are always attached. I typically have Dropbox on it's own partition. I use the Dropbox client to tell drop box to look to that location. So there is no problem there I don't think except that the drive will not mount automatically. I did not have this issue with this drive set up on Peppermint 6. The drive is internal and all of the partitions are on the same drive. There is only one physical drive on the system.

Here is the inxi output that I should have shared.
Code: [Select]
Drives:    HDD Total Size: 80.0GB (32.7% used) ID-1: /dev/sda model: WDC_WD800BEVE size: 80.0GB

         
Code: [Select]
 ID-1: / size: 26G used: 11G (45%) fs: ext4 dev: /dev/sda6                                                                            
           ID-2: /home/mobileme size: 26G used: 11G (45%) fs: ecryptfs dev: N/A                                                                 
           ID-3: /media/mobileme/data size: 30G used: 259M (1%) fs: ext4 dev: /dev/sda8                                                         
           ID-4: /media/mobileme/Dropbox size: 4.4G used: 3.0G (72%) fs: ext4 dev: /dev/sda7

Thank you Regards
"Those that don't know pay for it. My currency is pride"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Automount Partitions
« Reply #3 on: February 01, 2018, 09:04:30 am »
Can you manually mount the partitions .. then post the output from:
Code: [Select]
mount
and
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid
« Last Edit: February 01, 2018, 09:08:25 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Automount Partitions
« Reply #4 on: February 07, 2018, 01:54:35 am »
By the way since noticing this issue I have also made it so both GMX and Google Drive cloud services can access their own directories on /media/mobileme/Dropbox
This has not changed the configuration at all. I have to manually reinitialize those just like i have had to do with Dropbox after manually mounting the drive. I am sharing it just in case anything not discussed shows up.

$ mount
Code: [Select]
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=991916k,nr_inodes=208260,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=202792k,mode=755)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)                                                             
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)                                                         
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)                                                 
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)                                                           
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)                                       
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)                                                         
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)                                                           
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13386)             
mqueue on /dev/mqueue type mqueue (rw,relatime)                                                                                                 
debugfs on /sys/kernel/debug type debugfs (rw,relatime)                                                                                         
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)                                                                                       
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)                                                                                         
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)                                                                                 
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)                                                                         
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=202792k,mode=700,uid=1000,gid=1000)                                           
/home/.ecryptfs/mobileme/.Private on /home/mobileme type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=06f88a97693f0939,ecryptfs_sig=5159f47e93241071,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)                                                                   
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)                                   
/dev/sda8 on /media/mobileme/data type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)                                             
/dev/sda7 on /media/mobileme/Dropbox type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)


sudo fdisk -l
Code: [Select]
Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors                                                                                   
Units: sectors of 1 * 512 = 512 bytes                                                                                                           
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                           
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                               
Disklabel type: dos                                                                                                                             
Disk identifier: 0x0002b710

Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1            2048  21600255  21598208 10.3G 83 Linux
/dev/sda2        21736006 156280319 134544314 64.2G  5 Extended
/dev/sda5       147203595 156280319   9076725  4.3G 82 Linux swap / Solaris
/dev/sda6        21736071  75296654  53560584 25.6G 83 Linux
/dev/sda7       137661048 147203594   9542547  4.6G 83 Linux
/dev/sda8        75296718 137660984  62364267 29.8G 83 Linux

Partition table entries are not in disk order.




Disk /dev/mapper/cryptswap1: 4.3 GiB, 4646758912 bytes, 9075701 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

sudo blkid
Code: [Select]
/dev/sda1: LABEL="HOME" UUID="a2042427-bdf8-44d6-b613-ffe43df9811a" TYPE="ext4" PARTUUID="0002b710-01"
/dev/sda5: UUID="94835165-0ec7-4581-96e1-34524911b6e5" TYPE="swap" PARTUUID="0002b710-05"
/dev/sda6: UUID="0ef0d2d3-4a06-4acc-9103-4742e1983e0f" TYPE="ext4" PARTUUID="0002b710-06"
/dev/sda7: LABEL="Dropbox" UUID="72987730-31c6-4249-8866-2eccba033069" TYPE="ext4" PARTUUID="0002b710-07"
/dev/sda8: LABEL="data" UUID="3eacfa38-6fe1-460f-9191-8ec83b62d519" TYPE="ext4" PARTUUID="0002b710-08"
/dev/mapper/cryptswap1: UUID="11481f0f-fa21-48e7-b4e0-cf51872632e7" TYPE="swap"


Thanx agian

« Last Edit: February 07, 2018, 02:04:37 am by Brotherred »
"Those that don't know pay for it. My currency is pride"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Automount Partitions
« Reply #5 on: February 07, 2018, 12:37:27 pm »
Create the mountpoints:
Code: [Select]
sudo mkdir -p /media/mobileme/data
and
Code: [Select]
sudo mkdir -p /media/mobileme/Dropbox
then open fstab for editing:
Code: [Select]
gksudo xed /etc/fstab
and add these 4 new lines at the bottom
Code: [Select]
## Automount Dropbox partition (sda7)
UUID=72987730-31c6-4249-8866-2eccba033069    /media/mobileme/Dropbox    ext4    defaults    0       0
## Automount data partition (sda7)
UUID=3eacfa38-6fe1-460f-9191-8ec83b62d519    /media/mobileme/data    ext4    defaults    0       0
SAVE the file and exit the text editor

Test fstab with:
Code: [Select]
sudo mount -a
if there's no errors from that .. reboot to test
(if there are errors, post them here)



Currently those mountpoints will only be writeable by root.

If you want them read/write/execute by everyone .. run:
Code: [Select]
sudo chmod 777 /media/mobileme/data
and
Code: [Select]
sudo chmod 777 /media/mobileme/Dropbox
« Last Edit: February 10, 2018, 02:34:43 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Brotherred

  • Member
  • ***
  • Posts: 277
  • Karma: 4
  • No0b
    • View Profile
  • Peppermint version(s): Pep 8 on 386, Pep 9 on AMD 64
Re: Automount Partitions
« Reply #6 on: February 10, 2018, 01:54:18 am »
Excellent thankyou.

I note my lack of contributions to the community. I doubt that have much to offer.

Anyway thanx again.
"Those that don't know pay for it. My currency is pride"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26267
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Automount Partitions (Solved)
« Reply #7 on: February 10, 2018, 08:43:43 am »
You're most welcome Brotherred :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec