Hi,
I have a small SSD that I use for /boot and /boot/efi partitions - /dev/sda
I boot from /dev/sda
I have another small SSD that I use as a dd backup of /dev/sda - /dev/sdg
After update to a new kernel, I dd the /dev/sda to /dev/sdg so that in case of a failure I could boot from /dev/sdg.
This scenario worked perfectly till several weeks ago.
What is happening now is that the machine boots from /dev/sda, but then mounts /dev/sdg for its /boot and /boot/efi. So in df I see /dev/sdg instead of /dev/sda that the machine booted from.
I solved the problem by editing /etc/fstab and pointing /boot and /boot/efi to the relevant /dev/sda[1-2] instead of the original UUID.
Question: is this solution OK or have I done something wrong? Is there a better way of solving this?
Thanks Frank