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.
Please refer to to prepare and boot into the graphical interface of FydeOS on the target PC.
After the FydeOS for PC graphical interface appears, please press the
F2 key on the keyboard (on some computers, such as Apple Mac, you need to press
F2, then the system will automatically switch to TTY command line mode. If necessary, press
F1) Return to the graphical interface mode.
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.
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
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.
Input the command:
sudo expand-partition.sh --dst /dev/sda1
Confirm that the output of the running status of the script has no obvious errors and that the expansion operation is completed.