Monday, May 6, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 16233  / 3 Years ago, sat, august 7, 2021, 9:43:34

I'm planing to install ubuntu 12.10 in a dell inspiron 17 laptop as the unique operating system.



I would like to know how to partition the drive in order to have my data separate from the operating system.
is it better to do it in the installation or I could go with the default and then use gparted to do the job?



where can I find some tutorials on this?



I'm finding lots of things with dual boot, but I'm not interested on that.


More From » partitioning

 Answers
2

Different people have different views on the number of partitions to have in Linux (or Ubuntu).



If you go with the default, the installation process will create a root partition with mount point / and a Swap partition. However, since you want the data to be separate, you should select "Something Else" option during installation. This is the advanced option where you get to delete everything and make your own partitions.



I recommend you make 3 partitions:




  1. One 30GB / partition format ext4

  2. One 4GB Swap partition format Linux/Swap

  3. Rest of the drive as /home partition format ext4



If your computer came with UFEI rather than a BIOS, you may need keep the partition for UFEI.



The / partition will have the OS as well as all the applications you will download and install in the future. If you are a web developer, or do some server related work, those things will be in the / partition as well. However, I find 30GB is more than enough for normal desktop use.



The swap partition is getting less important with 4GB or more RAM. A small swap partition keeps the system run smoothly. Another reason one needs a swap partition is hibernation. Hibernation is disabled by default, as it does not work in all laptops. You may later experiment with it and want to have it enabled. Having a swap partition will be useful then.



The /home partition will have all the users' data and personal settings. Photos, music, and videos can take up a lot of space. So I recommend giving the rest of your hard drive to /home.



It is possible to do a default installation and then at a later date, shrink the / partition and create a separate /home partition and move all the data there. This gets more difficult as your hard drive gets more full. There is always a chance that something may go wrong while moving data between partitions, and you will lose your data. So it is much safer to create the partitions when there is no data in the new computer.



Hope this helps.


[#33784] Sunday, August 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arbaour

Total Points: 346
Total Questions: 115
Total Answers: 105

Location: Oman
Member since Wed, Apr 12, 2023
1 Year ago
;