You are not logged in.
Pages: 1
I was trying to expand my root partition because I ran out of space.
I had a partition for `/` and a partition for `/home` and so I shrunk the `/home` partition and expanded the `/` partition with fdisk. It seems I messed up in some way and now my system won't boot. After checking
journalctl -xbI see this error:
systemd-sysusers.service: Main process exited, code=exited, status=1/FAILURE
systemd-sysusers.service: Failed with result 'exit-code'.
Failed to start Create System Users.Can I fix this or is my system irretrievable?
Offline
What is the output of:
# SYSTEMD_LOG_LEVEL=debug systemd-sysusersOffline
Failed to write files: No space left on deviceOffline
I should have a ton of space though
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 30G 30G 0 100% /
/dev/sdb3 176G 61M 167G 1% /homeLast edited by bigmac_nopickles (2020-11-11 21:54:04)
Offline
I have timeshift installed on my machine, and I think i have a snapshot I can revert to.
# timeshift --list
0 > 2020-08-12_00-32-51 0But the output is very weird and hard to read because it's spamming a `Error writing to file: No space left on device` whenever i do a timeshift command
Offline
Did you shrink the home file-system before you resized the partitions and expand the root file-system afterwards?
Last edited by loqs (2020-11-11 22:10:54)
Offline
Yes, I tried to shrink the home partition, then expand the root partition
Offline
Partitions and file-systems are different entities.
Offline
Oh, I did not do anything to the file-systems before changing the partition sizes. I didn't know that was something I needed to do.
Offline
What file-system types are root and home?
Offline
ext4
Offline
Did you perform the operation while the file-systems were mounted?
If not and all the data on /home is still available then follow Parted#Growing_partitions.
Offline
The data in /home is gone. I think i might just reinstall -- didn't have too many things on it anyways
Offline
Pages: 1