Changes

From Amahi Wiki
Jump to: navigation, search
{{WorkInProgress}}MessageBox|backgroundcolor =#faa|image =OverviewWarning.png|heading =WARNING|message =Unless Recommend you have a reason for doing otherwise, we recommend that disable/unplug ALL hard disks you create do not want to put the system on to make it easier to partition. Data loss can result if you accidentally get confused about what disks are which or you make an error.}}The Amahi team makes the following partitions for recommendations when partitioning drives in Amahi Fedora based systems7 or greater:* swap* /boot* /home* /
==Swap * Skip using [https://www.amahi.org/faq/does-amahi-support-lvm Logical Volume Management (at least 256 MBLVM)], which creates added complexity for inexperienced users, in particular if there are disk failures.* Do not make a separate /home partition. Amahi does not recommend use of /home for storage for users* Allocate the majority of hard drive space in the / (root)==partition.Swap partitions support virtual memory: data * Do not add extra drives while installing. recommend you do that later after the system is written up and running successfully using [[Adding_a_second_hard_drive_to_your_HDA|adding a second hard drive to your HDA]] as a swap guide.* The majority of space, to be used by file shares is set up to be at ''/var/hda/files'', which typically resides in the root partition.* If you plan to use the [[Greyhole]] drive pooling technology, keep in mind that by default the Greyhole "[[Greyhole_landing_zone|Landing Zone]]" will be located in the root partition when there is not . This needs to have enough RAM space to store accommodate the data your system is processingsingle largest transaction that you plan or foresee you will make.
= How to Partition=At the partitioning point of the Fedora installer, you do this:* Select '''INSTALLATION DESTINATION''' under ''STORAGE'' section.* Verify the correct drive is selected, then choose '''Done'''.* Ensure '''Partition scheme''' reflects ''Standard Partition''.* Choose ''I want to review/modify my disk partitions before continuing'' and select '''Continue'''.* When prompted with '''INSTALLATION OPTIONS''', select ''Custom partitioning''.* Choose each partition and select the '''minus''' (-) to remove them individually until all the partitions have been removed.# If prompted ''Are you sure you want to delete all the data on...'', choose '''Delete it'''# Ensure ''Delete all other filesystems in the Unknown root as well'' is selected.* You should now see the message ''You haven't created any mount points for your installation yet''.* First we need to make the ''Swap''. Click on the plus (+) and a window will appear:# Choose '''Mount Point''' of ''Swap''.# Enter '''Desired Capacity''' based on the chart below.# Select '''Add mount point'''.::'''NOTE:''' The following table provides the recommended size of a swap partition depending on the amount of RAM in your system.  ::{|class="wikitable"
!System RAM
!Recommended swap space
|4GB of swap space
|}
* Next is ''/boot''. Click on the plus (+) and a window will appear:
# Choose '''Mount Point''' of ''/boot''.
# Enter '''Desired Capacity''' of ''500MB''.
# Select '''Add mount point'''.
* The last one is the ''/'' (root). Click on the plus (+) and a window will appear:
# Choose '''Mount Point''' of ''/''.
# Enter '''Desired Capacity''' of the amount of remaining disk space (this is displayed at the bottom of the installer window)
# Select '''Add mount point'''.
* Review the partition scheme and if it looks ok, choose '''Done''' and select '''Accept changes'''.
==/boot (500 MB)==
The partition mounted on ''/boot'' contains the operating system kernel (which allows your system to boot Fedora), along with files used during the bootstrap process. For most users, a 500 MB boot partition is sufficient.
 
==/home (at least 1GB)==
To store user data separately from system data, create a dedicated partition within a volume group for the ''/home'' directory. This will enable you to upgrade or reinstall Fedora without erasing user data files.
 
==/ (ALL remaining space)==
This is where ''/'' (the root directory) is located. In this setup, all files (except those stored in /boot) are on the root partition. It's best that '''ALL''' remaining space be allocated to this partition.
'''NOTE:''' Also You can now continue with the default location of the [[Greyhole_landing_zone|Greyhole Landing Zone]] (''/var/hda/files'')install as normal.
= Example =
For a system with 1GB RAM and 10GB hard drive, the following settings would apply for '''Desired capacity''':
* Swap = 2GB
* /boot = 500MB
* / = 7.73GB
Reference: [http://docs.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/s2-diskpartrecommend-x86.html Fedora Recommended Partitioning Scheme]
12,424

edits