transfer to a new disk - HDD to SSD

Ralf Mardorf kde.lists at yahoo.com
Sun Mar 1 09:14:14 UTC 2015


On Sun, 01 Mar 2015 09:31:44 +0200, O. Sinclair wrote:
>If someone has ideas about that, how to save your repo-list and your
>installed packages, I would be grateful.

You can copy the repositories list from  /etc/apt/sources.list .

Generate package list:
sudo dpkg --get-selections > packages.txt

Install package list:
sudo dpkg --set-selections < packages.txt
sudo apt-get update
sudo apt-get dselect-upgrade

Synaptic provides this too, take a look at the menus of Synaptic.

But why not simply from a live CD copy from one disk to the other?

With root privileges run

cp -pr /mnt/disk1/* /mnt/disk2/

Care about globbing, but since there unlikely is a hidden file in the
root directory the * is ok.

Hth,
Ralf




More information about the kubuntu-users mailing list