0

I have Dell i7559 gaming laptop containing 1 TB HDD and 8 GB SSD (Hybrid hard disk). I have originally installed ubuntu 16.04 on HDD and SSD acts as a cache. I am not able to hibernate my laptop as the minimum cache requirement is 16 GB (Ubuntu hibernation needs the size of cache greater than the size of RAM). I was thinking of moving my Ubuntu to 8 GB SSD and creating a cache of size 16 GB using space on HDD. I have tried different forums, but I have not been able to find the answer of how to migrate Ubuntu to 8 GB SSD and also what should I migrate. Also, I don't to reinstall Ubuntu. I recently switched from Windows to Ubuntu, and I don't have Windows on my laptop.

newbie
  • 119
  • 1
  • 9

1 Answers1

2

You should use the SSD as boot disk and the HDD as your personal storage. Booting from a SSD is quick, software in the SSD starts quick too. And personal files do not need an SSD.

I have tried different forums, but I have not been able to find the answer of how to migrate Ubuntu to 8 GB SSD and also what should I migrate.

I would do the following:

  • Install Ubuntu on the SSD.
  • Do not touch the HDD (don't even mount it).

After the installation:

  • When the installer is done mount the HDD in /media/, create a directory in the root of the disk (./data/ or something your like more) and then move your personal files to this directory, and then delete anything system related.
  • Edit /etc/fstab to include this partition.
  • Edit ~/.config/users-dirs.dirs and change the directories to /data/ and then move the directories in your /home/$USER/ to /data/. (put a copy of the file on /data/).

Reboot for changes to take effect and all your personal data is now on the HDD and all your system related files and the configuration files are on your SSD (in / and /home/).

That way if the SSD ever breaks all you need is to install a new SSD and install Ubuntu, mount the HDD and copy the users-dirs.dirs file. Backup up is a backup of /data/. And you benefit most from the speed of the SSD but have not used the SSD for things that get written most to disk, your personal files. And after that I would put the swapfile on the HDD since that too became rather easy to do: Default 17.04 swap file location

Rinzwind
  • 309,379