You are not logged in.

#1 2020-11-11 21:29:19

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Failed to start Create System Users

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 -xb

I 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

#2 2020-11-11 21:38:40

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: Failed to start Create System Users

What is the output of:

# SYSTEMD_LOG_LEVEL=debug systemd-sysusers

Offline

#3 2020-11-11 21:50:08

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

Failed to write files: No space left on device

Offline

#4 2020-11-11 21:53:44

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

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%       /home

Last edited by bigmac_nopickles (2020-11-11 21:54:04)

Offline

#5 2020-11-11 22:01:18

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

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  0

But 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

#6 2020-11-11 22:10:19

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: Failed to start Create System Users

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

#7 2020-11-11 22:12:17

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

Yes, I tried to shrink the home partition, then expand the root partition

Offline

#8 2020-11-11 22:13:40

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: Failed to start Create System Users

Partitions and file-systems are different entities.

Offline

#9 2020-11-11 22:14:40

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

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

#10 2020-11-11 22:16:22

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: Failed to start Create System Users

What file-system types are root and home?

Offline

#11 2020-11-11 22:19:00

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

ext4

Offline

#12 2020-11-11 22:40:33

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: Failed to start Create System Users

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

#13 2020-11-11 22:55:00

bigmac_nopickles
Member
Registered: 2019-11-16
Posts: 25

Re: Failed to start Create System Users

The data in /home is gone. I think i might just reinstall -- didn't have too many things on it anyways

Offline

Board footer

Powered by FluxBB