Install OpenSuSE on SSD


For couple of weeks I will got new computer with SSD. That would be my first experience with installing OS on SSD. Does process od installing OS on SSD has the same steps as install on HDD (primary boot / partitions swap/home/native…)? Does every SSD supports linux?

Maybe some of these questions (maybe all) are stupid, but I will install on SSD for the first time.

Thank you for answering my questions.

SSD is just another storage device. There’s nothing special that you need to do. Format it and partition it like you would any HDD, except it’s way faster. Like HDD, SSD is OS agnostic. You will enjoy the extra speed of booting and data access.

There are a few settings you want to tweak, since it’s a distinct construction than HDDs. They should work reasonably fine without any tweaks though.

The distro will do this for you:

  • Enable the fstrim service to issue TRIM commands to the device, in order to erased cells to be available for use again;
  • Setup the appropriate I/O scheduler (mq-deadline);

A few more things you may chose to do:

  • Vendors tend to recommend setting up Over-Provisioning, which is an unallocated portion of the drive (say 10%-20%). Some better drives might not need this expedient at all, but you can still reserve some space manually in the Expert partitioner during install;
  • Disable recording access times in each file (add the noatime flag for the btrfs partition in /etc/fstab, the default is relatime, which records access times once a day);
  • It’s fine to use swap on SSD if you want to use hibernation, if that’s not the case, you can still have a small swap partition;
  • In any case, I like to reduce swapping out:


$ echo [FONT=Arial]"vm.swappiness=1" | sudo tee -a /etc/sysctl.d/99-swap.conf
[/FONT][FONT=Arial]$ echo "[FONT=Arial]vm.vfs_cache_pressure=50" | sudo tee -a /etc/sysctl.d/99-swap.conf[/FONT]

Since you have time, I’d suggest you to to some research if you want to do this as well.

This will happen automatically on Leap 15.2 as the default scheduler changed :wink: