docs: create doc/guides/howto-root-home-swap
This commit is contained in:
parent
0b3451d15a
commit
fd4b07cb6f
|
@ -0,0 +1,59 @@
|
|||
---
|
||||
title: How to have root, home, and swap partitions created during OM Lx installation
|
||||
description:
|
||||
published: true
|
||||
date: 2020-03-10T15:27:21.952Z
|
||||
tags: documentation, howto
|
||||
---
|
||||
|
||||
# How to have root, home, and swap partitions created during OM Lx installation
|
||||
|
||||
OpenMandriva installer is Calamares.
|
||||
It is easy, usable, beautiful, pragmatic, inclusive and distribution-agnostic.
|
||||
Calamares includes an advanced partitioning feature, with support for both manual and automated partitioning operations.
|
||||
To do pretty much anything you need with partitions you want to select “Manual Partitioning”.
|
||||
|
||||
![root-home-swap-01.jpg](/images/root-home-swap-01.jpg)
|
||||
|
||||
Notice that if you accept the default “Erase disk” it will create a `/boot/efi` and `/` partition only.
|
||||
The installer by default no longer automatically creates a swap partition because on most all modern computers swap is not used anymore.
|
||||
|
||||
Select “Manual Partitioning”
|
||||
|
||||
![root-home-swap-02.jpg](/images/root-home-swap-02.jpg)
|
||||
|
||||
This example is in VirtualBox. First we see how to set up an efi system with separate `/`, `/home` and swap partitions as well as the necessary `/boot/efi` for the efi booting. The `/boot/efi` partition should be labeled `esp` and `boot`.
|
||||
|
||||
The first step is to select “New Partition Table”.
|
||||
If the system is efi or uefi boot it must be a `GPT` partition set up.
|
||||
If it is legacy boot you can select either `MBR` or `GPT`.
|
||||
|
||||
![root-home-swap-03.jpg](/images/root-home-swap-03.jpg)
|
||||
|
||||
Next we will create `/boot/efi`, `/`, `/home`, and swap in that order.
|
||||
The only critical factor in the order is that the `/boot/efi` needs to be first the others can be in any order. `/boot/efi` is typically a 300 MB partition and needs to be fat16 or fat32 to work. Or in some other installers its file system type will be called vfat.
|
||||
|
||||
So we create them one at a time.
|
||||
Select “create”
|
||||
|
||||
![root-home-swap-04.jpg](/images/root-home-swap-04.jpg)
|
||||
|
||||
Follow the steps in the dialog box and you willll end up with something like this
|
||||
|
||||
![root-home-swap-05.jpg](/images/root-home-swap-05.jpg)
|
||||
|
||||
If you have what you want select <kbd>Next</kbd> and when installed your new system will have the separate root, home, and swap partitions.
|
||||
|
||||
Note that `/boot/efi` is a the top of the list in first place. This is necessary.
|
||||
|
||||
> Note that your swap partition is probably never going to be used. Only a small minority of users these days really need a swap partition. Those that do need swap already know who you are and can adapt accordingly. Usually swap would be needed by really old computers with not enough RAM to run Lx 3 to begin with. How much RAM is enough? In my opinion 4 GB. We do have users running Lx 3 with 1 GB but I would not recommend that. The Release Notes for Lx 3.03 do say 2 GB (min 1.5 GB). And I would go with 2 GB as a minimum myself. Upgrading the amount of memory in a computer, whether it’s a desktop, tower, or laptop, notebook, is both easy and not that expensive these days. So if your computer is short on memory do consider upgrading.
|
||||
Swap may still be used on computers doing very intense level of mathematical or scientific calculating or maybe really intense graphic applications.
|
||||
{.is-info}
|
||||
|
||||
|
||||
This is a screen-shot of what the “create” dialog window should look like for your `/boot/efi` partition on a U`EFI/EFI` system:
|
||||
|
||||
![root-home-swap-06.jpg](/images/root-home-swap-06.jpg)
|
||||
|
||||
\-
|
||||
|
Loading…
Reference in New Issue