I rebooted ubuntu 22.04 today and it could not find the root drive and I kept being dropped to a root shell. Correlation does not prove causality, but I find it very odd that nvme0n1p5 is mounted at both / (correct) and /var/snap/firefox/common/host-hunspell (incorrect). Not sure if this is a mount/fstab thing or a snap thing or what...
$ lsblk
│
├─nvme0n1p4 259:4 0 1G 0 part
├─nvme0n1p5 259:5 0 29.3G 0 part /var/snap/firefox/common/host-hunspell
│ /
├─nvme0n1p6 259:6 0 8.2G 0 part [SWAP]
I changed fstab to use the PARTUUID instead of the UUID and it finally booted, but I would like to address this issue.
$ snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core20 20220826 1623 latest/stable canonical✓ base
firefox 105.0-2 1860 latest/stable/… mozilla✓ -
gnome-3-38-2004 0+git.891e5bc 115 latest/stable/… canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
hunspell-dictionaries-1-7-2004 1.7-20.04+pkg-6fd6 2 latest/stable brlin -
snap-store 41.3-64-g512c0ff 599 latest/stable/… canonical✓ -
snapd 2.57.1 16778 latest/stable canonical✓ snapd
snapd-desktop-integration 0.1 14 latest/stable/… canonical✓ -
As indicated over at the snapcraft forum, this mount is set up to allow Firefox Snap to use the spell check dictionaries (hunspell) of the main system. A discussion about this commit is available here.