Mount Partition error: /home mounted twice?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Bill_35
Level 1
Level 1
Posts: 7
Joined: Sun Jun 24, 2018 4:45 pm

Mount Partition error: /home mounted twice?

Post by Bill_35 » Wed Dec 04, 2019 5:57 pm

Partition listed twice in "df -l"

Newbie. New install of LinuxMint 19.2 on 64bit dual boot environment with Win10.
LM set up with partitions for / (root)[20GB], swap [8GB or 1x ram], /home [461GB = remaining space].
Both LM and Win are working.
Problem: I wasn't seeing the /home directory show up (later discovered it as /home/bill - below).
My goal was to have only the LM operating system in the root directory, and have all other applications, software and data files in the /home directory space.

Problem: I edited fstab to add the /home partition UUID (shows, below, as "/def/sda7" ... but ALSO shows as "/home/bill", encrypted.
Oops. When I added the UUID, I FORGOT that /home was to be encrypted!
Before I do anything else to screw up my system, I need advice on how to proceed. I have not done anything to the system since making this change, except to copy two early timeshift backups from the root directory (/) to /home/timeshift/shapshots as subdirectories thereof.

Current Listing of df -l =

Code: Select all

bill@ASUS-Q303UA:/etc$ df -l
Filesystem          1K-blocks     Used Available Use% Mounted on
udev                  3998296        0   3998296   0% /dev
tmpfs                  806268     1452    804816   1% /run
/dev/sda5            19091540  7802740  10295932  44% /
tmpfs                 4031328    36820   3994508   1% /dev/shm
tmpfs                    5120        4      5116   1% /run/lock
tmpfs                 4031328        0   4031328   0% /sys/fs/cgroup
/dev/sda7           442221864 22044968 397643572   6% /home
/dev/sda1              262144    32512    229632  13% /boot/efi
tmpfs                  806264       36    806228   1% /run/user/1000
/home/bill/.Private 442221864 22044968 397643572   6% /home/bill
ORIGINAL - BEFORE I MADE ANY ADJUSTMENTS - Listing of /etc/fstab =

Code: Select all

# /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/sda5 during installation
UUID=921d358d-5c79-4224-bf91-c57ad40d8f19 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=5C97-2DA6  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda6 during installation
UUID=85d30f02-91cc-46fe-9e9f-be085ee41757 none            swap    sw              0       0
CURRENT LISTING of /etc/fstab (bottom two lines were added) =

Code: Select all

# /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/sda5 during installation
UUID=921d358d-5c79-4224-bf91-c57ad40d8f19 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=5C97-2DA6  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda6 during installation
UUID=85d30f02-91cc-46fe-9e9f-be085ee41757 none            swap    sw              0       0
# add /home below - after original install whe added this line to mount /dev/sda7 as /home for data storage
UUID=f0bec2ff-9177-458a-a3ee-9dc4baee9a75   /home   ext4    auto,rw 0   2
CURRENT LISTING OF 'MOUNT' =

Code: Select all

bill@ASUS-Q303UA:~$ cd etc
bash: cd: etc: No such file or directory
bill@ASUS-Q303UA:~$ cd /etc
bill@ASUS-Q303UA:/etc$ ls
acpi                    hdparm.conf          pki
adduser.conf            host.conf            pm
adjtime                 hostname             pnm2ppa.conf
alternatives            hosts                polkit-1
anacrontab              hosts.allow          ppp
apg.conf                hosts.deny           printcap
apm                     hp                   profile
apparmor                ifplugd              profile.d
apparmor.d              ImageMagick-6        protocols
apport                  init                 pulse
appstream.conf          init.d               python
apt                     initramfs-tools      python2.7
avahi                   inputrc              python3
bash.bashrc             inxi.conf            python3.6
bash_completion         iproute2             rc0.d
bash_completion.d       issue                rc1.d
bindresvport.blacklist  issue.net            rc2.d
binfmt.d                java-11-openjdk      rc3.d
bluetooth               kernel               rc4.d
brlapi.key              kernel-img.conf      rc5.d
brltty                  kerneloops.conf      rc6.d
brltty.conf             ldap                 rcS.d
ca-certificates         ld.so.cache          request-key.conf
ca-certificates.conf    ld.so.conf           request-key.d
calendar                ld.so.conf.d         resolvconf
casper.conf             legal                resolv.conf
chatscripts             libao.conf           rmt
chromium-browser        libaudit.conf        rpc
cifs-utils              libblockdev          rsyslog.conf
console-setup           libnl-3              rsyslog.d
cracklib                libpaper.d           samba
cron.d                  libreoffice          sane.d
cron.daily              lightdm              securetty
cron.hourly             lintianrc            security
cron.monthly            linuxmint            selinux
crontab                 locale.alias         sensors3.conf
cron.weekly             locale.gen           sensors.d
cryptsetup-initramfs    localtime            services
cups                    logcheck             sgml
cupshelpers             login.defs           shadow
cups-original           logrotate.conf       shadow-
dbus-1                  logrotate.d          shells
debconf.conf            lsb-release          skel
debian_version          ltrace.conf          speech-dispatcher
default                 lvm                  ssh
deluser.conf            machine-id           ssl
depmod.d                magic                subgid
dhcp                    magic.mime           subgid-
dictionaries-common     mailcap              subuid
dkms                    mailcap.order        subuid-
doc-base                manpath.config       sudoers
dpkg                    menu-methods         sudoers.d
emacs                   mime.types           sysctl.conf
environment             mke2fs.conf          sysctl.d
firefox                 modprobe.d           systemd
fonts                   modules              terminfo
fstab                   modules-load.d       thermald
fstab-original          mono                 thunderbird
fuse.conf               mtab                 timeshift.json
fwupd                   mtools.conf          timezone
gai.conf                nanorc               tmpfiles.d
gconf                   netplan              ucf.conf
gdb                     network              udev
geoclue                 networkd-dispatcher  udisks2
ghostscript             NetworkManager       ufw
gimp                    networks             updatedb.conf
glvnd                   newt                 update-motd.d
gnome                   nsswitch.conf        UPower
gnome-app-install       obex-data-server     upstream-release
groff                   openal               usb_modeswitch.conf
group                   openvpn              usb_modeswitch.d
group-                  opt                  vdpau_wrapper.cfg
grub.d                  os-release           vim
gshadow                 PackageKit           vtrgb
gshadow-                pam.conf             wgetrc
gss                     pam.d                wildmidi
gtk-2.0                 papersize            wpa_supplicant
gtk-3.0                 passwd               X11
guest-session           passwd-              xdg
gufw                    pcmcia               xml
hddtemp.db              perl                 zsh_command_not_found

Code: Select all

bill@ASUS-Q303UA:/etc$ df -l fstab
Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda5       19091540 7802736  10295936  44% /
bill@ASUS-Q303UA:/etc$ fstab
fstab: command not found
bill@ASUS-Q303UA:/etc$ df -l
Filesystem          1K-blocks     Used Available Use% Mounted on
udev                  3998296        0   3998296   0% /dev
tmpfs                  806268     1452    804816   1% /run
/dev/sda5            19091540  7802740  10295932  44% /
tmpfs                 4031328    36820   3994508   1% /dev/shm
tmpfs                    5120        4      5116   1% /run/lock
tmpfs                 4031328        0   4031328   0% /sys/fs/cgroup
/dev/sda7           442221864 22044968 397643572   6% /home
/dev/sda1              262144    32512    229632  13% /boot/efi
tmpfs                  806264       36    806228   1% /run/user/1000
/home/bill/.Private 442221864 22044968 397643572   6% /home/bill
bill@ASUS-Q303UA:/etc$ fstab                   modules-load.d       thermald
fstab: command not found
bill@ASUS-Q303UA:/etc$ mount
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=3998296k,nr_inodes=999574,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=806268k,mode=755)
/dev/sda5 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/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=24,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2872)
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,pagesize=2M)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda7 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=806264k,mode=700,uid=1000,gid=1000)
/home/.ecryptfs/bill/.Private on /home/bill type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=d578799eb6554a3e,ecryptfs_sig=6e6adcc1451f68b3,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)
As viewed with the applicatin 'DISKS', here is the setup of my hard drive:

Code: Select all

Partition 1 is /dev/sda1, 273 MB, EFI, FAT, boot for Windows 10
Partition 2 is /dev/sda2, 17 MG, microsoft reserved
Partition 3 is /dev/sda3, 561 GB, NTFS, used for windows software and data
Partition 4 is /dev/sda4, 523 MB, NTFS, not mounted, Windows 10 Recovery
Partition 5 is /dev/sda5, 20 GB, ext4, Linux Root (12 GB free space)
Partition 6 is /dev/sda6, 8 GB, Linux swap
Partition 7 is /dev/sda7, 461 GB, ext4, /home
QUESTIONS:
1) My goal was only to be able to keep my Linux root directory free just for the Linux OS;
2) I wanted to direct all other software, applications and files to /home (largest partition)
3) I was not certain at original installation whether /home should be encrypted or not, so I did encrypt it
4) My (mistake?) was to try to mount the /home partition (did not encrypt it) so it would show - as I said - I'm a newbie, and didn't see it listed as /home/bill.

ADVICE? THANKS !!!
Last edited by WharfRat on Wed Dec 04, 2019 6:18 pm, edited 1 time in total.
Reason: Added code tags
[running Linux Mint 19.2 cinnamon amd64 on ASUS-0303UA pc with Intel i5, dual boot with Win10]

User avatar
WharfRat
Level 21
Level 21
Posts: 13445
Joined: Thu Apr 07, 2011 8:15 pm

Re: Mount Partition error: /home mounted twice?

Post by WharfRat » Wed Dec 04, 2019 6:20 pm

Did the timeshift restore replace your edited /etc/fstab :?:

If so you should be good to go.
ImageImage

Post Reply

Return to “Hardware Support”