Skip to main content

Manual partitioning of Rocky Linux with a single disk and no LVM

Use this procedure to prepare a Rocky Linux system for a NethServer 8 installation with a single disk and no LVM.

This setup is suitable, for example, for virtualized environments.

This guide works for both BIOS and EFI systems.

note

On EFI systems, you must create an additional /boot/efi partition. On BIOS systems, skip step 7.

Start the installer

  1. Boot the system from the Rocky Linux ISO and choose Install Rocky Linux.

Select Install Rocky Linux

  1. Choose the installation language and click Continue.

Select the installation language

  1. Open Installation Destination.

Open Installation Destination

  1. Make sure the disk to use is selected, choose Custom in the storage configuration section, and click Done.

Select disk and custom storage

Create the partition layout

  1. In Manual Partitioning, select the Standard Partition partitioning scheme, then click the + icon.

Select Standard Partition

  1. Create the /boot mount point with size 1024 MiB, then click Add mount point.

Create the /boot mount point

  1. On EFI systems only, click + again, create /boot/efi with size 600 MiB, then click Add mount point.

Create the /boot/efi mount point

  1. Create the swap mount point. Assign a size appropriate for the server RAM. Refer to the Red Hat swap size guidance, then click Add mount point.

Create the swap mount point

  1. Click + again, create the / mount point, and leave the size empty so the installer uses all remaining space. Then click Add mount point.

Create the root mount point

  1. Click Done.

Finish manual partitioning

  1. In Summary of Changes, click Accept Changes.

Accept the storage changes

Configure network and host name

  1. Back in Installation Summary, open Network & Host Name.

Open Network & Host Name

  1. Set the server FQDN in Host Name and click Apply. If needed, click Configure to change the network settings.

Set host name and open network settings

  1. If you want a static address, open the IPv4 Settings tab.

Open IPv4 Settings

  1. Change Method from Automatic (DHCP) to Manual, then:

    • click Add and enter the IP address, netmask in CIDR notation, and gateway
    • add the DNS server in the DNS servers field
    • click Save

Configure static IPv4 settings

  1. When network and host name configuration is complete, click Done.

Finish network configuration

Create the administrative user

  1. Open User Creation.

Open User Creation

  1. Create the privileged user that will manage the operating system:

    • choose the username
    • enable Make this user administrator
    • enter the password twice
warning

This user can escalate privileges with sudo and act as root. Protect it with a strong password.

Then click Done.

Create the administrative user

  1. Back in the main menu, continue with the installation.

Start the installation

Next step

When the Rocky Linux installation is complete, continue with the NethServer 8 setup by following Install NS8 on a supported distribution.

For more details about Rocky Linux installation, see the official Rocky Linux installation guide.

NethServer 8