You are not logged in.

#1 2022-06-13 23:30:12

Mrremrem
Member
Registered: 2022-06-13
Posts: 3

[SOLVED] Can't change root password after rsync

Hi all,


I just finished swapping my old drive with a newer one and rsynced the backup as so: https://wiki.archlinux.org/title/Rsync# … tem_backup
After I cloned the system and regenerated its fstabs, I booted up the system unable to login. I tried logging in as root on tty2 but I keep getting login incorrect. I tried chrooting and changing my password from there but the message persists. I've noticed that my permissions are kind of funky and get errors such as "/etc/sudo.conf is world writable". Any ideas will be greatly appreciated!

Ps: typing this on my phone. Excuse any possible awkward formatting

Last edited by Mrremrem (2022-06-14 02:19:12)

Offline

#2 2022-06-13 23:43:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Can't change root password after rsync

What filesystems were involved in the rsync? I sounds like you rsynced to something like NTFS, then back to the new drive.

Offline

#3 2022-06-14 01:49:30

Mrremrem
Member
Registered: 2022-06-13
Posts: 3

Re: [SOLVED] Can't change root password after rsync

Yup I sent the backup to an NTFS drive and cloned it back to ext4. I'm guessing that's where I messed up. Any ideas where I could go from here?

Offline

#4 2022-06-14 02:01:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Can't change root password after rsync

All of your permissions are going to be completely screwed up. Personally, I would start over, but maybe someone else has a better idea.

Offline

#5 2022-06-14 02:17:35

Mrremrem
Member
Registered: 2022-06-13
Posts: 3

Re: [SOLVED] Can't change root password after rsync

Got it. I'll try to find another way to migrate to the new drive. Thanks for all the help! I'll mark this as solved once I find out how to do so.

Offline

Board footer

Powered by FluxBB