Tagpartion

How to set up a good partition scheme in Linux

It’s always a good idea to have at least two partitions, one for your O.S. and one for your data. There are a lot of programs which you can use to part your harddrive  (e.g.: [ gparted | qparted ]).

I’m pretty happy with my current schema, which I developed long time ago, when my harddrive was only 40 Gb. I wrote about this in this old post, which I’m translating from Italian to English.

This is a schema for an old laptop of 40 Gb, but you can extend the concept.

Harddisk: 40 Gb

/ 10 Gb (root, where you will install the operative system)

swap 1Gb (should be the same amount of RAM you’ve got if you want to suspend)

/home 29 Gb

The main idea is to create a 10Gb for your O.S., the swap for the RAM and then everything left should go as space for the home.

This is pretty good way to part your disk because:

  1. Your data are detached from the O.S., so you can clean your partition very quickly and put a shiny new one in no time.
  2. 10 Gb is maybe too many for the O.S., but I tend to install a huge amount of stuff and sometimes when writing big file you need space in tmp.

So far it works for me.

With my new (3 years old…) laptop I have this figures:

 

18.4 Gb for the root (/)

4 Gb for the swap

87.7 Gb for the /home

Let the partition be

Yesterday one of my housemate asked me if I was able to make a partition of his hard-disk.

He has a 40 Gb drive and wanted to make two partitions, one only for windows and one only for the data.

To accomplished that I just had to fire up an ubuntu live cd (It was the 7.10 version, the one that I had handy at that time) and I used gparted to do the job.

It worked like a charm.

Open a terminal and then write

sudo gparted

to start it.

We were able to resize the old partion from 38 Gb to 12 Gb, create a new one of 28 Gb and format it with the ntfs filesystem.

Oh yeah, because this friend is still using windows.

Then we boot up in windows and the system recognized the two new partitions (C: and E:) and it was happy to use them.

All this thanks to an Ubuntu Live system. And in 5 mins. 🙂

© 2020 Train of Thoughts

Theme by Anders NorénUp ↑

By continuing to use the site (scrolling or clicking counts), you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close