I deleted the swap partition’s line in my fstab by mistake (I was trying to edit another system).
Now it doesn’t boot graphically but the terminal seem to work.
The boot show me these errors: Failed to start X Display Manager. Failed to start Postfix Mail Transport Agent. Failed to start Security Audit Logging Service. Failed to start NVIDIA Persistence Daemon.
I tried to get the files using command lines but neither my home nor root’s home appear in the root directory.
When I use chroot from a live usb I can access the drive and see system files but my home directory appear empty.
I can reinstall my system if needed, my objective is only to copy my home directory
From the live usb there’s no fstab in /etc. So I tried from opensuse and it just booted on the desktop normally.
I don’t know. Maybe I selected another snapshot than the last times, maybe having slept well helped, maybe I did yet another thing differently? Anyway I have backed up my home now.
Before I edit a file, especially a system-related file, I always make a backup:
mach:/etc # cp ./fstab ./fstab-backup
After editing (I always insert comment lines that describe the change(s) I make), I then run a diff tool to double-check the changes I made. And I don’t remove the backup - it’s good to have for future reference.