Ubuntu partition sizes
Today I bought a Lenovo G510 Laptop (4GB Ram, 500GB Hard Drive) and need install both Ubuntu and Windows 7. I have some questions regarding this.
What OS should I install first ?
What are the partition sizes should I put for swap, root and home ?
Solution 1:
First Install windows on your laptop (You can install Ubuntu too but then u have to run boot repair from live USB to repair the grub because Windows bootloader is aggressive).
Follow these steps if your laptop supports BIOS (the steps are totally different for UEFI laptop)
- Install Windows 7 normally (Allot 30 GB to windows partition)
- Now install Ubuntu from live USB or live CD
- You should create home partition if you wish to upgrade your Ubuntu without losing any data
- Root partition should be of about 20-30 GB, swap partition of about 8 GB and home partition of about 20-30 GB (i have allotted this much only on my laptop)
Partition should be of ext4 type memory for Ubuntu
Kindly approve my answer if it helps you by clicking the tick below the the arrow pointing downward since it will increase your reputation as well as mine
Solution 2:
Just as anybody else until now suggested you: First install Windows, then Ubuntu.
I personally gave 40GB to Ubuntu as root partition without using an extra /home partition and about 800MB swap (2G RAM).
If you want to split them up, you should size the / in a way that it can hold all your programs and system. Depending on what you are going to install, maybe 10GB might be enough (around 2-3GB is absolute minimum for the bare system, I think), but e.g. many big games, office progs, media stuff etc might also require a lot more... Then in contrast, the /home partition will contain all your data (photos, music, videos, documents, downloads, system/program settings etc.). So the main part of this will be made by your multimedia data, the rest should not take more than a GB or so.
For swap, I think it is recommended to give it about the same size as your RAM, a bit bigger if you want to use it for hibernation (not recommended since version 12 ?)
But about the file systems: Ubuntu's default file system for data partitions (all except swap) is ext4! I would suggest you to use this instead of old FAT or windows' newer NTFS. You would not be able to access the files on a ext4 volume from within windows without additional drivers, but for Ubuntu, it has several advantages, e.g. it does not require any defragging and provides always high data transfer speed. As a workaround, you could allocate another partition in NTFS or FAT32 where you can copy the Ubuntu files you have to access from Windows too (the other direction works directly). For swap, you of course use linux-swap.
Solution 3:
Install Windows first, its bootloader is rather aggressive and will not let you access your (previous) linux installation without further configuration (such as installing the GRUB boot loader again from some medium). Installing Ubuntu second will replace the Windows bootloader with GRUB, saving you the trouble.
I doubt you would benefit from creating a separate /home partition. Just go with root and swap. Swap should be double the RAM (8 GB in your case), depending on how much memory you tend to use (leaving lots of applications open etc). The size of root depends on what you use the system for.