Ubuntu partition sizes

63,227

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)

  1. Install Windows 7 normally (Allot 30 GB to windows partition)
  2. Now install Ubuntu from live USB or live CD
  3. You should create home partition if you wish to upgrade your Ubuntu without losing any data
  4. 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.

Share:
63,227

Related videos on Youtube

Bishan
Author by

Bishan

Updated on September 18, 2022

Comments

  • Bishan
    Bishan over 1 year

    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 ?

  • oldfred
    oldfred over 9 years
    Ubuntu only installs in Linux formatted partitions like ext4, not Windows formats like FAT32 nor NTFS. So / (root) should be ext4. I might make Windows a bit larger, but use a shared NTFS data partition for any data you might want in both installs.
  • Volker Siegel
    Volker Siegel over 4 years
    @BrownBatman It was no problem here, but as general advice: Take care to get the letter case right, because it may be ambiguous otherwise: You had used gb, and that does not exist. It could be Gb, or GB, and some times it is not even clear from context (as it was here). If one character was wrong, it's Gb - gigabit, and if two, it's GB - gigabyte. And 8 Gb are 1 GB.