Something went wrong...
Bas G. Roufs
basroufs at gmail.com
Thu Jul 18 10:34:57 UTC 2024
Hey Nils.
Op do 18 jul. 2024 09:07 schreef Nils Kassube <kassube at gmx.net>:
> On 18.07.24 Bas G. Roufs wrote:
> > Apparently, something went wrong...
>
(snip)
>
> > 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?
Yes!
Maybe sda5 was not mounted to the expected place.
I could see sda5, Camino-casa via Midnight Commander. This is only possible
when mounted.
You can check it with the command
>
> mount | grep /dev/sda
>
Can I do this via:
Kubuntu 24.04 in recovery mode?
or via the same OS at a Ventoy live usb?
How can I copy command line output in such situations?
> > 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?
Yes.
The password shouldn't be the problem because it was working before.
I agree.
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.
I'll try this later today.
If that isn't OK, you could check the file /var/log/syslog for mounting
> errors.
>
Accessible via the emergency or recovery mode?
> 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
>
All possible in the recovery mode?
> 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
>
I get this.
Possible in the recovery mode?
> but I suppose your /home/bas is missing.
>
What can I do if it is like that?
Is there a way to recover it?
Or is better to reformat the whole 1 TB SSD, after which I take recourse
to the Floxclone iso backup and the Backintime user data backups at the
big external SSD?
Have a good day.
Bas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20240718/bfc4d9b7/attachment.html>
More information about the kubuntu-users
mailing list