To put it simply, last night I installed and set up Timeshift to do weekly snapshots to my newly appointed and repartitioned Backup Drive. I added the drive to fstab. I then did not reboot, left my system as is and went to sleep.
In the morning, I did my daily updates in the Terminal, which included a Kernel update. From 5.13.13 to 5.14.2. I rebooted and was greeted with emergency mode, and an error saying one of my drives has timed out.
Now, I thought this was my boot drive, but after a bit of ducking I found out that you can’t really get into emergency mode if your boot drive wasn’t detected and mounted.
I checked the UUID and compared it against the UUIDs of my drives in fstab. I noticed that my backup drive’s UUID & path did not match up after the partitioning, so I fixed that. Didn’t help.
Then I straight up mounted my boot drive in a live EndeavourOS USB and tried reinstalling the kernel, did not help.
What helped was removing the Backup Drive from my /etc/fstab. I suppose the bootloader somehow detected the backed up files on my drive as a file system and tried to boot off of that? That’s what I’m getting out of this and was wondering if I am correct in this regard.
The Backup Drive can be manually mounted by clicking on it in Dolphin, no problem.
What I thought was my first “arch moment” of instability was actually an user error. Oops c:
[emilie@arch ~]$ cat /etc/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>
UUID=2BCC-0124 /boot/efi vfat umask=0077 0 2
UUID=ace3457e-3837-445f-8fb7-5868f0278ecf / ext4 defaults,noatime 0 1
# Crucial MX500 1
UUID=d61b73e6-62a7-4c53-9e7a-3255c1a58731 /run/media/emilie/d61b73e6-62a7-4c53-9e7a-3255c1a58731 ext4 user,errors=remount-ro,auto,exec,rw
# Crucial MX500 2
UUID=2a533e5b-8efc-4767-8d7a-044f236fffe2 /run/media/emilie/2a533e5b-8efc-4767-8d7a-044f236fffe2 ext4 user,errors=remount-ro,auto,exec,rw
[emilie@arch ~]$
@Kresimir I will try the entry you suggested. Any issues or unnecessary arguments with my current fstab? I sorta just whipped it up after searching for a quick automount tutorial.
Alright I’ll change the arguments. I hope this lets the drive be readable and writable since these are my Steam library drives.
By the way I might have found out why this whole thing happened. Timeshift changed the directory of the drive from my usual /run/media/emilie to… /run/timeshift/backup.
So here’s my final adjusted 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>
UUID=2BCC-0124 /boot/efi vfat umask=0077 0 2
UUID=ace3457e-3837-445f-8fb7-5868f0278ecf / ext4 defaults,noatime 0 1
# Crucial MX500 1
UUID=d61b73e6-62a7-4c53-9e7a-3255c1a58731 /run/media/emilie/CrucialMX500 ext4 defaults,noatime 0 2
# Crucial MX500 2
UUID=2a533e5b-8efc-4767-8d7a-044f236fffe2 /run/media/emilie/CrucialMX5001 ext4 defaults,noatime 0 2
# Backup Drive
UUID=78dade95-656d-4413-a1b3-042498a38dab /run/timeshift/backup/ ext4 defaults,noatime 0 2
I haven’t really thought about it. It’s a directory, directory paths can end in /. It would be logical that you could even have something absurd like: /run/timeshift/backup/././././../backup/.
whenever I make any changes to /etc/fstab to make sure everything will be mounted correctly. If it won’t, I would know it and fix it before rebooting.