What to do with the software when you replace the harddisk?

2 Antworten [Letzter Beitrag]
ao
ao
Offline
Beigetreten: 07/20/2017

Dear Trisquel users,

Suppose you want to replace your harddisk in your laptop, then what do you do with the software?
I've found instructions on how to replace the internal harddisk and bought a replacing SATA harddisk.
I will make a back-up of my data before.
But since the operating system (Trisquel) is also on the internal harddisk, nothing is going to work after I insert a new harddisk drive.
My laptop has a working cd/dvd drive and I'm running Libreboot / Trisquel 7.
Thank you.

gnutastyc
Offline
Beigetreten: 11/13/2017

You can easily backup all your system. Here you have a nice way of doing it with tar: http://www.aboutdebian.com/tar-backup.htm but you can also use the backup utility that comes with Trisquel.

You should also burn a live usb / cdrom before you remove the harddisk. Then, when you have replaced the harddisk, boot from the usb and you could manually do a repartition of the harddisk and copy everything back. However, I am not sure if it would make your harddisk bootable.

You could also consider installing Trisquel from the live USB and then copying everything back. Check if you need to unmount the root partition to copy everything back. If you need to do so, you can do it from the USB. This possibility is longer but probably also a bit safer.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

The "gear" menu of the "Disks" utility, in the "System Settings", allows you to easily "Create Disk Image...". That said, I always do a clean install and then "clone" the system as I explained here: https://trisquel.info/en/wiki/cloning-system-or-how-make-copy-installed-packages-one-computer-another