Last edit: 06 May 2022


When booting FydeOS from a removable storage device connected via USB, if the system determines that the device you are using is a "removable storage device", by default, it will automatically execute an expansion script that will automatically expand the stateful partition to fill the entire disk. However, some removable storage devices are not considered "removable" by the system at the firmware level (such as some models of removable hard drives), so to maximise the security of the data on the device, we have disabled automatic expansion for non-removable storage devices. If required, this can be done manually by executing the script as follows:

Attention! The operations described below may cause irreversible data loss on the hard disk. This function is still in the testing stage. We cannot be responsible for potential data loss and problems that may occur during installation or provide timely technical support. Please think twice! In addition, this tutorial assumes that you are not new to Linux command line operations and have the most basic operating skills. If you find the following content challenging to understand, please seek the help of friends around you or go to for help.

#0. Boot and start FydeOS via USB

Please refer to to prepare and boot into the graphical interface of FydeOS on the target PC.

#1. Enter the terminal

After the FydeOS for PC graphical interface appears, please press the Ctrl + Alt + F2 key on the keyboard (on some computers, such as Apple Mac, you need to press Fn + Ctrl + Alt + F2, then the system will automatically switch to TTY command line mode. If necessary, press Ctrl + Alt + F1 (or Fn + Ctrl + Alt + F1) Return to the graphical interface mode.

#2. Log in to the system

FydeOS will prompt you to enter your username and password in command line mode. Please log in with the username chronos. By default, FydeOS has no password.

#3. Confirm the target disk

Enter the command lsblk to get the list of currently loaded physical disks. Typically, the physical disk devices recognised by the system will be displayed as sdX, mmcblkX, and nvmeX. According to the suggested disk space and the number of partitions (FydeOS has 12 partitions), please determine the disk where FydeOS is currently running, such as sda. The following command will take sda as an example.

#4. Run the expansion script

Input the command:

sudo expand-partition.sh --dst /dev/sda1

#5. After the script runs

Confirm that the output of the running status of the script has no obvious errors and that the expansion operation is completed.