1. Pre-installation
Get the StrawberryOS Installation image
Currently, we only provide Installation Images via GitHub Actions.Prepare your boot medium
There are many different ways to start the StrawberryOS installer. You can flash the image on a USB stick, burn a CD/DVD, boot from a PXE netboot server, or use Ventoy.Boot the Installer
Start from the StrawberryOS boot medium containing the installer. You can do this by going to the boot menu after switching on your computer. To do this, you usually have to press a specific key, for example F12.First steps
After you have started from your installation medium, you will land in a console where the bash shell is started. If you are from a region outside the USA, you may want to change your keyboard layout. The default keymap is US. Available layouts can be listed with:Verify the boot mode
To check whether your computer supports UEFI, you can check the UEFI-Bitness.64, it means that your computer supports UEFI and you have booted with UEFI.
If the command fails, it means that your computer does not support UEFI or was not started with UEFI.
Network
Make sure you are connected to the Internet if you want to continue with the installation. You can execute the following command to enumerate your connections:Disk partitioning
Disk partitioning is an important part of the StrawberryOS installation. You can use various tools to identify which hard disk you want to partition. For examplelsblk or fdisk:
sda, nvme0n1, or mmcblk0 are relevant.
Start partitioning your disk
To start the partitioning of your hard disk, we use the program fdisk. If you want to use another program that you prefer, you can do so, but here we will only show you how to partition with fdisk. To do this, runfdisk /dev/the_disk_to_be_partitioned
Example Layouts
These layouts are only example layouts. You can change them according to your preferences. However, the basis of this layout should be adhered toUEFI system with GPT
UEFI system with GPT
| Mount point | Partition | Partition type | Suggested size |
|---|---|---|---|
/mnt/boot | /dev/efi_partition | EFI System (FAT32) | 512MB |
/mnt/system | /dev/base_partition | Linux (ext4/btrfs) | At least 10GB |
/mnt/user | /dev/data_partition | Linux (ext4/btrfs) | Remainder of the device |
[SWAP] | /dev/swap_partition | Linux swap | At least 2GB |
BIOS system with MBR
BIOS system with MBR
| Mount point | Partition | Partition type | Suggested size |
|---|---|---|---|
/mnt/system | /dev/base_partition | Linux (ext4/btrfs) | At least 10GB |
/mnt/user | /dev/data_partition | Linux (ext4/btrfs) | Remainder of the device |
[SWAP] | /dev/swap_partition | Linux swap | At least 2GB |
Filesystem structure
Here are 2 examples of successful layouts after you have started the system for the first time. Currently they are not relevant, but can help to get a better understanding of the basic structure of StrawberryOS.UEFI system with GPT
UEFI system with GPT
| Mount point | Partition | Partition type | Size |
|---|---|---|---|
/ | rootfs (overlayfs) | - | - |
/boot | /dev/sda1 | Linux (ext4) | 512MB |
/system | /dev/sda2 | Linux (ext4) | 9,3GB |
/user | /dev/sda3 | Linux (ext4) | 10,7GB |
[SWAP] | /dev/sda4 | Linux swap | 2GB |
BIOS system with MBR
BIOS system with MBR
| Mount point | Partition | Partition type | Size |
|---|---|---|---|
/ | rootfs (overlayfs) | - | - |
/system | /dev/sda1 | Linux (ext4) | 9,3GB |
/user | /dev/sda2 | Linux (ext4) | 10,7GB |
[SWAP] | /dev/sda3 | Linux swap | 2GB |
Format the partitions
Replace the placeholders base_partition, data_partition, swap_partition and efi_partition with the corresponding block devices!
Mount your file systems
Now start mounting your freshly created file systems so you can start installing StrawberryOS! Let’s start with your base partition:swapon:
2. Installation
Now we can finally start the installation.Bootstrapping your system
The first step to get the basic system is to download and configure StrawberryOS. Our toolos-bootstrap will help you.
base) of StrawberryOS to /mnt/.
However, there are other packages that you can install to help you have a more complete system.
The following packages are available:
| Name | Description |
|---|---|
base | The minimum requirements to install StrawberryOS |
base-dev | Various development tools for software development |
utils | Useful tools |
python3 | The application & development kit for python3 |
3. Configuring your system
Initramfs
Now we have to configure the Initram file system of our system. Ouros-bootstrap tool simplifies this task for you.
Entering your new system
We will now begin to fully configure your new system. To do this, you must chroot in your new system.Manual chroot
Manual chroot
General configuration
Time Configure your time zone with the following command:4. Finalizing your system
You are almost finished and can start your new system right away! Before that, however, there is one more important step to take, and that is to install a bootloader.Bootloader
Currently we only offer installation instructions for GRUB. To install Grub correctly for StrawberryOS, a setting must be changed first. Open the file/etc/default/grub and add an overlay=yes in the line where GRUB_CMDLINE_LINUX="" is written inside the quotation marks.
It should then look like this:
/etc/default/grub
exit command.
Now you can proceed with the installation of Grub for the respective platform.
UEFI system with GPT
UEFI system with GPT
If not already done, mount your EFI partition:
BIOS system with MBR
BIOS system with MBR
Post-installation
Your new system should now be ready to use! To restart, first exit the chroot by typingexit in the terminal or pressing Ctrl+D.
However, after starting your new system, you will only end up in a terminal shell.
If you want to install a graphical environment, have a look at the article on General recommendations.