First of all mount the crash disk. In my case I am mounting it in /mnt Now, you have to copy the data from old disk to new disk using below commands cp -avprf /mnt/etc/passwd /etc/ cp -avprf /mnt/etc/group /etc/ cp -avprf /mnt/etc/shadow /etc/ cp -avprf /mnt/etc/gshadow /etc/ cp -avprf /mnt/etc/my.cnf /etc/ cp -avprf /mnt/etc/exim* […]
See More
You must be logged in to post a comment.