Saturday, 22 October 2011

Create multiple partitions during installation

Choose this option during install:
 Create a new partition table

Allocate the swap space in the first partition (This make it easier to resize the other partitions in case you want to do it after reinstall). The recommended swap space is two times the amount of RAM on your system (But from my experience, 1.5 times is more than enough).

 Allocate the root(/) partition. Make sure the mount point is specified as "/".


Allocate the other (data) partition. Specify a non-existing directory as the mount point. It will be created automatically and the partition will be mounted on this folder. Here I have chosen the mount point as "/d-drive".

 Check to see if the partition editor has been configured properly:


After completing the installation and rebooting the system, you have to set permissions to the folder that will be used to mount the partition. Follow these steps:
  1. Open a Terminal window.
  2. sudo su - Enter supervisor mode
  3. chmod  777 /d-drive  - Give total access to all users for "/d-drive"
  4. exit or <CTRL>D - Get out of supervisor mode
  5. Close the terminal
Note:
  • The swap (swap area) and root(/) partitions must be created.
  • You can create any number of partitions the same way you created the "data" partition.
  • I am using a Virtual machine for the screen shots. The hard drive space on your machine will vary.

No comments:

Post a Comment