after rsync restore - cannot login

Kevin Kempter kevin at kevinkempterllc.com
Tue Dec 30 22:10:33 UTC 2008


Hi All;

I did a backup of a test Fedora 10 install as follows:

1) installed Fedora 10 and applied no updates

2) booted into single user mode and as root ran this:

rsync -av <dir> /stage/backup

I wrapped the above rsync command in a script where <dir> is replaced with the 
root (/) dir's I want backed up.  Basically everything except the following:

/proc
/dev
/sys
/stage


Then I rebooted, and ran a yum update, installed a new kernel, many packages, 
etc


Then as a test I booted back into single user mode and as root ran this:

rsync -av --delete /stage/backup/<dir> /

again the above command was in a script where <dir> was replaced with the same 
list of root (/) dirs as I used for the backup

once complete I rebooted and now I cannot login, I get to a login screen but a 
login just takes me back to the login screen again.

I booted into single user mode, and ran init 3
at the login prompt I tried to login as root and some text flashes by the 
screen too quickly to read however I did catch the phrase 'permission denied'

What have I done wrong ?

Thanks in advance...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081230/81bbdb17/attachment-0001.htm>


More information about the fedora-list mailing list