Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 477  / 1 Year ago, wed, december 28, 2022, 9:38:50

I am running Ubuntu 13.04 on a 250 GB hdd. This HDD has developed bad sector and I received replaced drive from Manufacturer. I am also running a RAID1 using mdm.



I want to move the existing setup to new hard drive.



Can someone please give suggestions.



Thanks for your answers.



Cheers.


More From » hard-drive

 Answers
0

If you are using a RAID and your previous drive had problems, the best solution is installing from 0, since dd don't understand damaged sectors, and could migrate them (with damaged data) to your new drive and cause problems thereafter.



Do a backup of your /home directory, and restore all your data in the new drive. For having a list of all software/packages installed:



dpkg --get-selections > package_list


Then on your new system run:



sudo apt-get update && cat package_list | sudo dpkg --set-selections && sudo apt-get dselect-upgrade


With that, you will have a fresh copy of your system without possible problems that could cause the old one.


[#29938] Thursday, December 29, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
;