Disks

A Linux single user system should have two disks. One for the operating system (boot, swap, operating system) and one for the data (home). In this arrangement, the user data is protected from damage and can more easily have the operating system replaced, from scratch if necessary. The operating system files are generally smaller than the home(data) and if confined can be backed up easily.

Installing root and home on separate drives.

Windows disks(FAT, NTFS) are not native Linux. The drivers for NTFS have only been stable since about 2016. It is necessary to set the user ID(uid) and group ID(gid) for any Windows disks(fstab) that you migrate into a Linux system. The default is root/root, whereas you most likely want you/users. A Linux disk can have permissions set individually on files and folders, not Windows disks(NTFS).

Windows disks should be mounted in mount-points like: /windows/c, or /windows/d, etc.

Adding disk drive to a Linux system.

What does mounting a drive on "home" do.

Gui tool to configure fstab.

Changing owner from root back to a user.

How to edit Linux drive mount points.


NTFS:
OpenSuse NTFS
Linux NTFS manual
Note: fstab=user,uid=mike,gid=users

SSD Tricks

More SSD

– You need to add discard as an option in your fstab for all the partitions on the SSD.
i.e. / , /home , but only for ext4 or btrfs formatted partitions (not swap, or Windows, etc.).
To edit your fstab to enable discard (trim)

something like this: /dev/disk/by-id/XXXXXX/                 ext4      noatime,acl,user_xattr,discard

Return to Main page       © Copyright 2018. Michael Maurice. All rights reserved.