[ubuntu-za] Problems with fstab

Bill Cairns cairnsww at gmail.com
Sat Jun 13 13:09:53 UTC 2020


Hello everybody,

I am trying to run 20.04 with my OS on an SSD device and my home directory
on my old hard drive.

This mount command works perfectly:
sudo mount UUID=b7092661-c008-4beb-9cdc-06c3dd036181 /home

However, when I try to do the same thing in fstab -
# /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/sdb2 during installation
UUID=2e740efb-b15b-4bea-9ef8-a20dd7a87186 /         ext4
 noatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=1c5e43a0-097c-4d68-90df-e544497323dd none            swap    sw
       0       0
#
# Home is on sda6. Added 2020-06-13
#
UUID=b7092661-c008-4beb-9cdc-06c3dd036181 /home ext4 nodev,nosuid,relatime
 0  2

The system crashes rather badly and says 'You are now in emergency mode' or
something equivalent. (And I have no idea how to do anything in emergency
mode!)

I have used the example in https://help.ubuntu.com/community/Fstab
(changing the UUID of course).

I am sure that I am missing something very simple. Can anyone help please?

Thanks, keep safe,

Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20200613/45901b51/attachment.html>


More information about the ubuntu-za mailing list