Difference between revisions of "Hard Drive Partition Scheme"

From Amahi Wiki
Jump to: navigation, search
Line 9: Line 9:
  
 
At the partitioning point of the Fedora installer:  
 
At the partitioning point of the Fedora installer:  
* Select Create Custom Layout and click Next.
+
* Select '''Create Custom Layout''' and click '''Next'''.
* Next delete lv-root, lv-swap, and vg_xxxxxxx by selecting one at a time and clicking delete (xxxxxx is different on every machine).
+
* Next delete ''lv-root'', ''lv-swap'', and ''vg_xxxxxxx'' by selecting one at a time and clicking '''delete''' (''xxxxxx'' is different on every machine).
* Now delete ALL partitions under hard drives. Now you will see free space as the size of the drive.
+
* Now delete '''ALL''' partitions under hard drives. Now you will see free space as the size of the drive.
* First we need to make the swap. Click on the free space and click Create:  
+
* First we need to make the swap. Click on the free space and click '''Create''':
 +
# On the menu select '''standard partition'''. 
 +
# Go to file system type and click '''Swap'''.
 +
# The recommended size of a swap partition depending on the amount of RAM in your system. For example, if you have 1GB of ram and plenty of HDD space, make it 2GB Fixed size and select OK.
  
* On the menu select standard partition.
+
::{|class="wikitable"
* Go to file system type and click Swap.
 
* The recommended size of a swap partition depending on the amount of RAM in your system. For example, if you have > 1GB of ram and plenty of HDD space, make it 2GB Fixed size and select OK.
 
 
 
:{|class="wikitable"
 
 
!System RAM
 
!System RAM
 
!Recommended swap space
 
!Recommended swap space
Line 35: Line 34:
 
|}
 
|}
  
* Click Create again, and we will make a /boot mount point:  
+
* Click '''Create''' again, and we will make a ''/boot'' mount point:
* Click free space and select Create.
+
# Click free space and select '''Create'''.
* Choose Standard Partition and under mount point select /boot.
+
# Choose '''Standard Partition''' and under mount point select ''/boot''.
* Select Ext4 for file system type. This should be set to 500MB and click OK.  
+
# Select '''Ext4''' for file system type. Should be 500MB, but not less than 200MB and click '''OK'''.
* The last one, the ROOT partition (recommend it be the rest of the disk):  
+
* The last one, the ROOT partition (recommend it be the rest of the disk):
* Just click free space, and Create one more time.
+
# Just click free space, and '''Create''' one more time.  
* For mount point select /.
+
# For mount point select ''/''.
* File system type select Ext4 under leave the size box alone.
+
# File system type select '''Ext4''' under leave the size box alone.
* Select Fill to Maximum allowable size to use up the rest of the disk.  
+
# Select '''Fill to Maximum allowable size''' to use up the rest of the disk.  
* Click NEXT and select Write Changes to Disk.
+
* Click '''NEXT''' and select '''Write Changes to Disk'''
  
  

Revision as of 16:35, 2 January 2015

Warning.png WARNING
Recommend you disable/unplug ALL hard disks you do not want to put the system on to make it easier to partition. Data loss can result if you don't know what disks are which or you make an error.


The default setup in Fedora is to use Logical Volume Management (LVM) which creates added complexity for inexperienced users. There is a lot of drive space dedicated to a /home partition. The Amahi team recommends removing the /home partition for best results.

The majority of hard drive space should be made available in / (root) as this is where the file shares (/var/hda/files) reside and the default location of the Greyhole Landing Zone.

At the partitioning point of the Fedora installer:

  • Select Create Custom Layout and click Next.
  • Next delete lv-root, lv-swap, and vg_xxxxxxx by selecting one at a time and clicking delete (xxxxxx is different on every machine).
  • Now delete ALL partitions under hard drives. Now you will see free space as the size of the drive.
  • First we need to make the swap. Click on the free space and click Create:
  1. On the menu select standard partition.
  2. Go to file system type and click Swap.
  3. The recommended size of a swap partition depending on the amount of RAM in your system. For example, if you have 1GB of ram and plenty of HDD space, make it 2GB Fixed size and select OK.
System RAM Recommended swap space
< 2GB 2 times the amount of RAM
> 2GB – 8GB Equal to the amount of RAM
> 8GB – 64GB 0.5 times the amount of RAM
> 64GB 4GB of swap space
  • Click Create again, and we will make a /boot mount point:
  1. Click free space and select Create.
  2. Choose Standard Partition and under mount point select /boot.
  3. Select Ext4 for file system type. Should be 500MB, but not less than 200MB and click OK.
  • The last one, the ROOT partition (recommend it be the rest of the disk):
  1. Just click free space, and Create one more time.
  2. For mount point select /.
  3. File system type select Ext4 under leave the size box alone.
  4. Select Fill to Maximum allowable size to use up the rest of the disk.
  • Click NEXT and select Write Changes to Disk


You can now continue with the install as normal.


Reference: Fedora Recommended Partitioning Scheme