first time poster here - hello everyone<br><br><br>I started out with CentOS x86 5.3 with the following partitions on my source hard drive:<br>/dev/hdc1    swap<br>/dev/hdc2    /<br><br><br>I did the following to migrate my CentOS box to the destination hard drive:<br>
1. boot up with CentOS 5.3 livecd in rescue mode<br>2. partition destination hard drive (/dev/hdd)<br>    /dev/hdd1    swap<br>    /dev/hdd2    /<br>3. create the filesystem on the destination hard drive<br>    mke2fs -j /dev/hdd2<br>
    mkswap /dev/hdd1<br>4. mount partitions and then copied files from /dev/hdc2 to /dev/hdd2<br>    mount /dev/hdc2 /mnt/aa<br>    mount /dev/hdd2 /mnt/bb<br>    cd /mnt/aa<br>    tar --one-file-system -cf - . | tar -xpf - -C /mnt/bb<br>
5. modify /boot/grub/menu.lst on both /dev/hdc2 and /dev/hdd2<br>6. modify /etc/fstab and /etc/mtab<br>7. umount partitions<br>8. run grub<br>9. reboot out of rescue mode<br><br><br>The original system still boots up fine and I am able to login. The new system which is supposedly a copy of the original system seems to boot up fine (everything had green OK), but I have problems at the login prompt. If I login with incorrect password, I get a message telling me that login is incorrect. If I try to login with the correct password, the system seems to accept the password, but then prompts me again to login, and it keeps doing this when I continually try to login.<br>
<br><br>additional info:<br>1. can boot up system in single user mode<br>2. sshd is up but can't ssh in even with correct password<br>here's the output (i modified the user name and the ip address)<br>ssh -l user1 ipaddress<br>
user1@ipaddress's password:<br>/bin/bash: Permission denied<br>Connection to ipaddress closed.<br><br><br>I'm sorry if this has already been addressed in the forums/mailinglists, but my attempted search didn't show me anything fruitful. Also, I'd don't want to use dd, and I would prefer not to use partimage. Your help will be appreciated and thanks for reading this far.<br>
<br>