I dual boot installed Ubuntu 12.04 and Windows 7 on a hard drive before. I remember Windows has to be installed on a primary partition which has to be at least of certain size.
Now I get a new hard drive of 1TB. I would like to install Ubuntu 14.04 or a later version on it, and then some time later (not now) install virtualbox and Windows under virtualbox (although I haven't completely ruled out installing Windows 8.1 as dual boot yet, but if that happens, shouldn't I install Windows before Ubuntu?).
Could you suggest me how to design the partitions of my hard drive, such as
what must be put on primary partitions?
how many partitions for what purposes, at least how much size, and logic or primary?
where should I leave unpartitioned free space, so that later when one of the partitions runs out of place, it is possible/easier to add more free space to the partition?
what else do I need to know?