Link to home
Start Free TrialLog in
Avatar of Member_2_2394978
Member_2_2394978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Copy of corrupted home directory hdd

Hi *,

In my box I have a separate hdd for /home however it is corrupted and I think it is failing. I have been running fsck on it for about a week now, and slowly there are fewer and fewer problems. I have another drive I am wanting to copy the data onto and use as my new /home partition. I just wanted to check whether my logic below is sound?

1. Rescue data from original /home to new hdd with ddrescue.
2. Change the UUID to the new partition in my fstab file (I previously used https://help.ubuntu.com/community/Partitioning/Home/Moving to setup up my current box).

Cheers,
James
ASKER CERTIFIED SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try cloning the harddive using acronis and in clone options define dont not copy bad sectors or errors
I guess it must work
Avatar of Member_2_2394978

ASKER

Many thanks for your comments.