This question already has an answer here:

I recently built a PC and installed Windows 10 on a 512GB SSD, I recently shrunk that partition to about 256 GB so I had room to install Ubuntu 17.10.

I have two 2TB hard drives, one of which is being used by Windows and the other is just free space. What should be my partition schemes for Ubuntu?

Should I:

  • Shrink the Free Space on the SSD just to put /boot and put / and swap space on the HDD

  • Keep the Free Space on the SSD the Same and put / on the SSD, and have /home and swap on the HDD

  • Some other combination


marked as duplicate by karel, user117103, Fabby, Charles Green, David Foerster Dec 21 '17 at 14:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • From 17.04 and later, no swap partition is created, a swap file is used. If you have a swap partition it will be found & used. At most I might put 2GB swap on HDD.Make sure HDD are also gpt partitioned. Keep / (root) on SSD, you do not need /boot as a partition. I use 25 or 30GB for / and new install is 4 or 5GB and after a couple of years is 10to 12GB. askubuntu.com/questions/336439/… & askubuntu.com/questions/461394/how-to-partition-ssdhdd & help.ubuntu.com/community/DiskSpace – oldfred Dec 21 '17 at 4:32
  • But what if I install alot of apps, wouldn't I Need a Larger partition? – Lorenzo Iannuzzi Dec 21 '17 at 4:57
  • Kind of, but not exactly the same question. I am asking how I should partition an SSD and a HDD on a clean install – Lorenzo Iannuzzi Dec 21 '17 at 6:02
  • 2
    My matching criteria is that the question should have good, useful answers. The problem with the other stuff is there's so much bad advice around, either saying to waste the faster, more valuable and reliable space on the SSD or saying that you need to allocate more swap space on the SSD than the defaults offered by the Ubuntu installer which in most cases you don't need to do because you'll never use it. – karel Dec 21 '17 at 8:08

With a 512GB SSD with 256GB for Linux you might as well put all partitions on the SSD.

Keep /boot and / on the same device unless you have a very specific reason not to. Further if you're using ext4 there is no need to have them be separate at all. Keep them separate if you use btrfs, raid or LVM.

You should have a swap partition equal to the size of your RAM if you want hibernate to work. It should not be a swap file and you'd want this partition to be on your SSD. While suspend to file is possible on Linux its not supported by Ubuntu.

Putting /home on your second HDD is a good idea if you need the space. Do not make /home or any vital partition of Linux an NTFS partition on a dual boot system because Windows might leave the file system in an unusable state for Linux. Given the size of your SSD you probably do not need to have a separate home. Instead you could make a softlink from say /home/user/Music to /media/hdd2/Music for large files that aren't sensitive to read speed.

I suggest for the two 2TBs to each have a single partition. One NTFS and the other ext4. Put things like extra steam games on NTFS. Put Linux backups on ext4 but if your /home or music or other files is on the HDD instead back those up to the NTFS HDD. Do the reverse on Windows using Windows backup to the NTFS HDD. Use Linux to copy over any files on the NTFS you don't have backuped up to the EXT4 HDD. While having two 2TB HDDs does tempt one to make a RAID I would suggest against this on a dual boot system.

Finally you might consider making two partitions on both drives one NTFS and one EXT4 on each of the same size and just backing them up to each other on both Linux and Windows.

Not the answer you're looking for? Browse other questions tagged or ask your own question.