Have a new install of LM Cinnamon 18.3 x64 on an Optiplex 780 desktop.
Just a brief explanation why I bother doing this:
On this computer, it is all from scratch, so no disaster if I screw up anything. I consider it a test rig.
During installation of LM, only one 320GB drive was present (cd rom and thumb drive not counting).
So I had another older drive laying around, so I figured I should make some partitions on that too and try to mount /var to one partition on that older drive. The purpose of this is mostly for my own learning, haven't done very much of this stuff lately.
What I hope to get help with, is to make this actually work and to find the cause of why LM won't boot to desktop when fstab is modified.
The partitions on second drive "sdb" was created by gparted (only additional software installed so far).
sudo blkid
Code: Select all
/dev/sda1: UUID="6260913c-da55-4e84-9bac-6b7ac187387c" TYPE="ext4" PARTUUID="f067edd7-01"
/dev/sda5: UUID="68d6544e-40d5-476e-9edc-02cfb541ebe3" TYPE="ext4" PARTUUID="f067edd7-05"
/dev/sda6: UUID="8e3bd08b-22a2-44ee-91a6-5f60039a11da" UUID_SUB="54a9f55a-79a8-4d93-b66a-4fd18a1f0366" TYPE="btrfs" PARTUUID="f067edd7-06"
/dev/sda7: UUID="492c4037-e913-4805-9e2f-902f7c010d6a" TYPE="swap" PARTUUID="f067edd7-07"
/dev/sda8: UUID="fc0039fe-b4cf-46eb-971f-47fc1b1968f3" UUID_SUB="e6cf9e09-5837-4ed6-a3ea-5d64ba26f621" TYPE="btrfs" PARTUUID="f067edd7-08"
/dev/sdb1: UUID="d9670de9-432e-4281-a546-d344865a0ff0" TYPE="swap" PARTUUID="a284861a-01"
/dev/sdb5: LABEL="tmp" UUID="96144b36-15ad-45a7-a287-9b4479cf16da" TYPE="ext2" PARTUUID="a284861a-05"
/dev/sdb6: LABEL="var" UUID="3eaa5c58-4e88-44da-9358-4d6807ffcb15" TYPE="ext4" PARTUUID="a284861a-06"
/dev/sdb7: LABEL="othercrap" UUID="41d1a156-a88d-4059-b50e-951c5c4cb18e" UUID_SUB="a12d9627-fe3c-4737-a801-e265f9c8bca8" TYPE="btrfs" PARTUUID="a284861a-07"
the fstab contents (two last line is added by me)
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=68d6544e-40d5-476e-9edc-02cfb541ebe3 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=6260913c-da55-4e84-9bac-6b7ac187387c /boot ext4 defaults 0 2
# /home was on /dev/sda6 during installation
UUID=8e3bd08b-22a2-44ee-91a6-5f60039a11da /home btrfs defaults,subvol=@home 0 2
# /lager was on /dev/sda8 during installation
UUID=fc0039fe-b4cf-46eb-971f-47fc1b1968f3 /lager btrfs defaults 0 2
# swap was on /dev/sda7 during installation
UUID=492c4037-e913-4805-9e2f-902f7c010d6a none swap sw 0 0
# /dev/sdb6 PÅ gammal 80GB disk
UUID=3eaa5c58-4e88-44da-9358-4d6807ffcb15 /var ext4 defaults,errors=remount-ro 0 1
Personally I suspect that either bad permission for the partition or the fact it is mounted (appears in Nemo as unmountable). But maybe you guys can push me in right direction.
I tried to mess with permission for partition /dev/sdb6 but I guess that wasn't a good idea.
To be honest I haven't fully understand the permission system for Linux file systems. Using Nemo as root (bad, yes but nothing critical on this computer so far) I was able to set permission and change owner. I think I was doing a dumb thing when setting permission for group "sprinterdriver" so it can read/change everything.
Permission - current user is "sprinterdriver"
Code: Select all
sprinterdriver@optiplex ~ $ ls -la /dev/sdb6
brw-rw---- 1 root disk 8, 22 Apr 4 22:04 /dev/sdb6
Code: Select all
sprinterdriver@optiplex ~ $ namei -m /etc/sdb6
f: /etc/sdb6
drwxr-xr-x /
drwxr-xr-x etc
sdb6 - No such file or directory
Thanks