Something went wrong...
Nils Kassube
kassube at gmx.net
Thu Jul 18 07:05:39 UTC 2024
On 18.07.24 Bas G. Roufs wrote:
> Apparently, something went wrong...
>
> On one hand, I followed the steps you propose....
>
> «(...)
> After renaming (sda3)/home to home-ori you should also make a new (empty)
> folder (sda3)/home because that one is needed as the mount point.
> (...)»
>
> I did.
>
> Then you should not rename that (sda5)/home-new but move the contents from
> (sda5)/home to (sda5)/ So e.g. (sda5)/home-new/bas should be moved upwards
> > > to become (sda5)/bas
> (....)
>
> I could not find anymore home-new. However. I DID copy bas and all
> subfolders from sda3 to sda5/bas.
Was that before replacing /etc/fstab with the new version? Maybe sda5 was not mounted to the expected place. You can check it with the command
mount | grep /dev/sda
> However, whenever I try to access the system, I do not manage. I get stuck
> after. the password. Changing the password in emergency mofe does not help.
That was after replacing /etc/fstab with the new version? The password shouldn't be the problem because it was working before. I'd rather think it is a problem of permissions or missing /home/bas folder. When you are in emergency mode you should first check that the partitions are mounted correctly with the mount command above, i.e. sda3 mounted at / and sda5 mounted at /home. If that isn't OK, you could check the file /var/log/syslog for mounting errors.
Then you can check that /home/bas exists and the permissions are OK with the command
ls -la /home
and the output should look like this:
drwxr-xr-x 4 root root 4096 Dec 26 2023 .
drwxr-xr-x 26 root root 4096 Jul 14 08:43 ..
drwxr-x--- 56 bas bas 4096 Jul 18 08:03 bas
^^^^^^^^^^ ^^^^^^^^^ ^^^ only these parts are important here.
With the command
ls -lA /home/bas
you could check that the files and folders in your $HOME are owned by bas. If the permissions are wrong you could change it with the command
chown -R bas:bas /home/bas
but I suppose your /home/bas is missing.
Nils
More information about the kubuntu-users
mailing list