Since my last full install of Debian Bookworm, I have had a small problem with accessing /dev/sda7 which is my /usr partition. Somehow, this partition was mounted on /media/stuart/_usr instead of /usr as it should have been. This meant that at every boot up I had to supply my password in order to access the partition. I got fed up with this and, using KDE Partition Manager, I edited the mount point for /dev/sda7 so that it should have mounted on /usr. What I had not realised was that /etc/fstab used UUID codes for the various partitions. This UUID code for /dev/sda7 was then lost. When the system boots, it displays the following at the start of the boot text.
[ ... ] systemd[1]: Failed to find module 'autofs4'
[UNSUPP] Starting of proc-sys-fs-binfmt_misc.automount - Arbitrary File Formats File System Automount Point Unsupported
Steps I have taken
I booted into recovery mode.
I used "blkid" to recover the uuid of/dev/sda7 (/usr).
Using Vi, I manually edited /etc/fstab to re-enter the the details for /dev/sda7, using spaces between the various fields. I based the layout of this entry on those for the other partitions already listed in the file.
The result of the above is that the system is still not booting to the password/login screen.
The only entry in /etc/fstab that has a different format from the other entries therein is that for the optical drive /dev/sr0 which has the following form.
Code: Select all
/dev/sr0 /media/cdrom0 udf,iso9660 0 0
It can be clearly seen that this entry does not use a UUID code. Also, when I used "blkid" this did not produce any details at all for /dev/sr0.
I just noticed that on webpage https://askubuntu.com/questions/154180/ ... e%20end%3A
user MahendraUnlimited states that "Please note, UUID is used only when Disk is GPT. Incase of MBR Disk, use /dev/sdaX ." However, I am using an MSDOS-based partition setup which also uses UUID codes for the various partitions.
I know that I should show the current contents of /etc/fstab. However, that is not an option at this time. This posting was generated using a computer in the local library.
Stuart