Here is a nuissance, a solution and some unanswered questions
Each device, say a partition /dev/hdaN
, has a UUID label which might be retrieved as the name of the associated file in /dev/disk/bu-uuid
directory. On the other hand, Ubuntu&Kubuntu identify the same device /dev/hdaN
, by its UUID label, inside the /etc/fstab
file. Now, assuming the abnormal situation when the two UUID strings differ, the boot process of Ubuntu&Kubuntu will hang when checking the file system:
Unable to resolve 'UUID=XXXX...'
fsck died with exit status 8
where 'XXXX...' is the associated UUID value in /etc/fstab
Just edit /etc/fstab
to correct the UUID value 'XXXX...' from there; one might retrieve the right value from the directory /dev/disk/by-uuid
or by running the command sudo vol_id -u /dev/hdaN
. That's all.
Do such errors occur in Ubuntu&Kubuntu?
Yes they do. In my computer, such accidents produce whenever another Linux system installs after Kubuntu, even in case the new installation process does not modify either the partition table or the file systems inside
Who is responsive?
It might be either Kubuntu or the "intruder" (i.e. the new Linux distribution) but I can not say who. The complete answer could be obtained by comparing the same Ubuntu/Kubuntu information, at three different moments. The information would consist of:
The content of /etc/fstab
The content of /dev/disk/by-uuid
The three moments I have in mind would be the following:
Just before installing/reinstalling another Linux system, after Ubuntu/Kubuntu;
Immediately after the new installation process but before any rebooting of Ubuntu/Kubuntu
. Such a 'forensic' reading may be obtained by running a live distribution such as Knoppix;
Immediately after the first reboot of Ubuntu/Kubuntu.
This way one could say at which moment /etc/fstab
begin to disagree and who is responsive for that. If somebody knows the answer I think it would be great to post it here.
P.S. By installation, my Linux distributions do share the same swap partition but nothing else (I never tell the installers to use partitions which belong to other distributions).