0

First, there is a lot of similar question everywhere, even here on AskUbuntu. I have bought Samsung 850 Evo Basic, 120 GB model. I have existent system installed on classic 500GB HDD. Question is, how to migrate existent Ubuntu installation from HDD to SSD, and tweak SSD for optimal performance using Ubuntu 14.04. I have 8GB of RAM, should I disable swap and how frequently should I run trim? Setting cron job seem like good idea.

Disk usage is as follows:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda7       131G   32G   92G  26% /
none            4,0K     0  4,0K   0% /sys/fs/cgroup
udev            3,9G  4,0K  3,9G   1% /dev
tmpfs           797M  1,4M  796M   1% /run
none            5,0M     0  5,0M   0% /run/lock
none            3,9G   84K  3,9G   1% /run/shm

none 100M 28K 100M 1% /run/user

Can I just cp all from / and then update GRUB?

Alan Kis
  • 267

1 Answers1

1

Download the latest stable Clonezilla version (iso) :

http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/

Create a bootable media (CD/USB) from the iso file.

Boot from this former created Clonezilla live media.

Create a backup from your HDD ubuntu partition(s).

Restore the backup to your SSD.

Boot from ubuntu install media.

Reinstall the GRUB bootloader.

You as well can clone and restore the whole disk (depending on your environment).

In case you do partition restore, do not forget to update /etc/fstab file afterwards.

SAMSUNG SSDs are well supported by ubuntu including automatic trim operations.

For further maintenance and servicing you can use SAMSUNG SSD Magician DC ->

http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/support/server_downloads.html/

Disabling swap is not a good idea - for performance reason create a swap partition.

You can do that by using GParted which is already available in ubuntu install media.

cl-netbox
  • 31,491