This question already has an answer here:
I currently have a C: drive with Windows, that I'd like to leave untouched and a D: drive with ~130GB of free space and some music/movies.
If I shrink the D: drive in Windows and leave, lets say, 60GB unallocated, will choosing the 'Install Ubuntu alongside Windows 7' grab this unallocated space and install everything that is needed there?
Do I have to create those swap and root partitions I keep reading about manually? If so, when and how?