I use a Chromebook that I have installed EOS on. eMMC memory is not huge, only 16GB, so I need to mount /home and /var/cache on an external 2.5" SSD drive that is connected to a SATA to USB3 interface.
It is possible to mount the filesystems using
mount /dev/sda1 /home
mount /dev/sda2 /var/cache
but when booting system complains about failing to mount /home and /var/cache
for now, every time I boot the system, I need to enter root console and manually mount the partitions in order for the system to boot properly.
What am I doing wrong here?
lsblk -f
[e@candy src]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ext4 1.0 806bd83e-fd8c-4478-a819-c7ea74b1b9a8 118G 0% /home
└─sda2 ext4 1.0 90f4bf44-982c-4c89-8456-b7cab2c8dd90 101,7G 1% /var/cache
mmcblk1
├─mmcblk1p1 vfat FAT32 NO_LABEL B02C-EA15 510,4M 0% /boot/efi
└─mmcblk1p2 btrfs 931c10bf-be4e-4ff1-80f6-5870f16d26cd 10,2G 26% /var/log
/
mmcblk1boot0
mmcblk1boot1
fstab
UUID=B02C-EA15 /boot/efi vfat umask=0077 0 2
UUID=931c10bf-be4e-4ff1-80f6-5870f16d26cd / btrfs subvol=/@,compress=zstd,defaults,noatime,space_cac>
#UUID=931c10bf-be4e-4ff1-80f6-5870f16d26cd /home btrfs subvol=/@home,compress=zstd,defaults,noatime,space>
#UUID=931c10bf-be4e-4ff1-80f6-5870f16d26cd /var/cache btrfs subvol=/@cache,defaults,noatime,space_cache,autode>
UUID=931c10bf-be4e-4ff1-80f6-5870f16d26cd /var/log btrfs subvol=/@log,compress=zstd,defaults,noatime,space_>
UUID=806bd83e-fd8c-4478-a819-c7ea74b1b9a8 /home etx4 defaults 0 2
UUID=90f4bf44-982c-4c89-8456-b7cab2c8dd90 /var/cache etx4 defaults 0 2