[ubuntu-za] Problems with fstab

Bill Cairns cairnsww at gmail.com
Sun Jun 14 15:02:38 UTC 2020


I tried looking at the drive before mounting it as /home and this is what
it looks like with mount -v (I asked nautilus to mount the '960 Gb drive')
/dev/sda6 on /media/bill/b7092661-c008-4beb-9cdc-06c3dd036181 type ext4
(rw,nosuid,nodev,relatime,uhelper=udisks2)

I can access it quite happily that way too.

On Sun, 14 Jun 2020 at 16:19, Bill Cairns <cairnsww at gmail.com> wrote:

> Thanks for your reply Paolo. I confess that I am not quite sure what I
> should be looking for. The mount -v gives me:
> /dev/sda6 on /home type ext4 (rw,relatime)
> While /proc/mounts has
> /dev/sda6 /home ext4 rw,relatime 0 0
>
> That would seem the same, but I am not sure I am looking at the right
> things.
>
> This is the ssd with the OS from mount -v:
> /dev/sdb2 on / type ext4 (rw,noatime,errors=remount-ro)
> and from /proc/mounts:
> /dev/sdb2 / ext4 rw,noatime,errors=remount-ro 0 0
>
>
> On Sat, 13 Jun 2020 at 22:34, Paolo Gigante <paolo.gigante.sa at gmail.com>
> wrote:
>
>> Not that it should cause a crash but are you sure its an ext4 filesystem
>> on that device?
>> If the mount command works, you may want to try 'mount -v' to see what
>> mount is actually doing. Once you have used the mount command to attach the
>> FS, does the entry look like in /proc/mounts
>>
>> On Sat, Jun 13, 2020 at 2:38 PM Bill Cairns <cairnsww at gmail.com> wrote:
>>
>>> Boot is on the hard drive - sda1
>>>
>>>
>>> On Sat, 13 Jun 2020 at 15:30, Frans de waal <meesterarend at gmail.com>
>>> wrote:
>>>
>>>> Just a thought... What is the boot drive in the bios?
>>>>
>>>> On Sat, 13 Jun 2020 at 15:10, Bill Cairns <cairnsww at gmail.com> wrote:
>>>>
>>>>> 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
>>>>>
>>>>> --
>>>>> ubuntu-za mailing list
>>>>> ubuntu-za at lists.ubuntu.com
>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>>>>
>>>> --
>>>> ubuntu-za mailing list
>>>> ubuntu-za at lists.ubuntu.com
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>>>
>>> --
>>> ubuntu-za mailing list
>>> ubuntu-za at lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>>
>> --
>> ubuntu-za mailing list
>> ubuntu-za at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20200614/dc6f6d92/attachment.html>


More information about the ubuntu-za mailing list