Mount a new flash drive as /home/me

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
jackokring
Level 1
Level 1
Posts: 6
Joined: Mon Jun 24, 2013 6:06 pm

Mount a new flash drive as /home/me

Post by jackokring »

Yep, it all went well with the modified /etc/fstab apart from needing the exec option. This took some time to figure. The fstab ende up looking like the following. The main home directory of the user was copied, and the the fstab was edited, and then the old home content was deleted beore a mount, before a reboot. Magic, I've now got extra space and an instant home unplug.

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>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb1 during installation
UUID=f4c971be-1c37-4abe-be77-a6d442baaec6 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=0505e3b3-86af-469c-b114-c59d9040d1ae none            swap    sw              0       0
/dev/sdc1	/home/jacko	ext4	errors=remount-ro,defaults	0	2
Post Reply

Return to “Tutorials”