Saturday, June 25, 2011

How to partition hard disk manually in Ubuntu 11.04 (Natty Narwhal) ?

Now we are installing Ubuntu 11.04 step by step until we reach Allocate Drive Space screen , Such a step is what I wanted to point out today , Because its one of the hardest step for begginers , and recommended just for advanced users .In the following screen we will select something else options to make manual disk partitioning .




We need to create the following four partitions:
  • /boot, the boot partition.
  • /, the root directory.
  • Swap, unformatted disk space for use as virtual memory.
  • /home .
Suppose that you have empty hard disk , and you want to start creating partitions. the first partition should be mounted at /boot. Select the free space and click the Add button.


The first partition should be /boot.The installer will create the first partition as a primary partition because we are installing Ubuntu alone on the disk and that first partition should be mounted at /boot. The default file system for /boot on Ubuntu is ext2. You can use that, or ext4. The partition number of this first boot partition  will be /dev/sda1.we can allocate 300 Mb for this partition .Click Ok to creat it .


Now that /boot has been created, select the free space and click on Add to create other partitions. Note that this step will have to be repeated for all other partitions.


The second partition will be for Swap. The first logical partition of an extended partition is /dev/sda5. If you create this partition as a primary partition, it will be /dev/sda2.
Select “Swap area” from the “Use as” dropdown menu.  Swap does not need a mount point. A disk size of 2000 MB or 2 GB is usually good enough for Swap. .Click Ok to creat it .


The third partition will be for /. The installer will attempt to create it as a logical partition, but you do not have to. Like /boot, it could also be a primary partition. The first logical partition of an extended partition is /dev/sda6. If you create this partition as a primary partition, it will be /dev/sda3.
Select “Ext4 journaling file system” from the “Use as” dropdown menu. The “Mount point” menu will be /. A disk size of 8000 MB  is usually good enough for /.Click ok to creat this partition


The final partition will be for /home. The file system is ext4, and you may use the available disk space here.Click OK to creat it.



Now we have four partitions , So you can click install now to start Ubuntu 11.04 Natty Narwhal installation .


No comments:

Post a Comment