I recently experienced this problem, but I only had answers that did not help. Then, I was able to get a hint from the short opinion of the Linux Forum.
This problem is related to the change of the drive. If it is not properly reflected in /etc/fstab
, such an error may occur.
-
Download SystemRescueCD and make a bootdisk: https://www.system-rescue.org/
-
FDISK and MOUNT
# fdisk -l # find a drive # mkdir /mnt/tmp # mount -t ext4 /dev/sda2 /mnt/tmp # mount -t [filesystem] [drive] [mountpoint]
-
Open the
[mountpoint]/etc/fstab
in text editor, and remove lines of the detacted devices -
Save and reboot, and remove the bootdisk.
Done.
@NaolB02 In similar cases, what I usually check is the block UUID. I hope the following link will be helpful for you.
https://unix.stackexchange.com/questions/658/linux-how-can-i-view-all-uuids-for-all-available-disks-on-my-system