on my new system i want to try to speed up my system a bit, especially the boot process. That is why i bought an SSD disc (and a normal hard disc for /home). During the opensuse Tumbleweed installation process i chose the “assisted partioning”, which resulted in the following configuration:
root (btrfs) is on the SSD
/home (XFS) is on the HDD
also Swap and /boot/efi (FAT) are on the HDD!
so I am a bit confused here… for a faster boot, /boot/efi should also be on the SSD right?
What about SWAP, does it improve the speed when i put in on the SSD? But i have to admit that i probably never use swap as i my system has 32GB of ram and is only used for anything that needs as much RAM.
Yes, current thought generally recommends the boot and swap partitions should be on the SSD. At various times there was concern about wearing out the SSD, so the swap was placed on the HDD, but nowadays that’s not supposed to be a concern.
The Guided Setup should provide an option somewhere in there to set the location of those partitions, or you should be able to modify even after the recommended layout is presented to you but before actually making changes to your disks.
Boot speed is all relative, yes a SSD will boot faster, but also removing the cruft will also do this…
On all my systems I remove plymouth, lock packages and rebuild initrd. I omit a few modules not needed, on single boot systems I turn off the graphical grub, set it to not probe foreign os, set timeout to zero and set to hidden.
Multi boot I set to 1 second, I don’t use hibernate or suspend and set swap to ~1GB
thanks for all the answers. But i have to admit… that I was a bit impatient during the installation and only noticed the partition configurations as everything was finished
Is it possible to move /boot/efi from the HDD to the SDD? I guess i have to shrink the root partition first, and then create a new efi partition on the ssd but then? Can i just copy the contents of the other partition over? What about fstab subvolume configurations and other configuration settings and relations?
Although I’d expect you could manually copy the boot partition to your SSD and and then using the Partitioner (you can access in YaST) to re-point that location and re-create your swap partition, I wonder if it’s worth the trouble on a brand new install, it probably is easier to re-install, particularly if you have to re-size the root partition to make room for the new partitions…
Unfortunately no, xfs will only grow, not shrink… But yes you can do a direct cp -ar the contents over or use something like dd, however you would need to re-create the efi entry in nvram (easy with efibootmgr), check /etc/fstab etc.
It is also necessary to have / home on the SSD, in fact there are all the configuration files of the programs and the desktop, I have made a / home of 10 gig, but it is also enough 5 gig; in / home I do not have any of my files, I’ve created links to the mechanical HD where I have all my files.
Ext4 for all
That’s not a requirement, I do it because all my important stuff is on the /data partition. But you can setup (automatic or manual) for taking a snapshot of /home if using btrfs. I don’t use snapshots these days on my laptops…