Last Update: 2024-03-13

The following guide or recipe requires shell access to your FydeOS installation, therefore is assumed to be enabled. If altering system file is required, you will also need to .

For users seeking to increase the storage capacity of FydeOS on VMware, this tutorial provides a step-by-step guide. If you prefer a visual guide, you can watch our instead.

#Step 1: Adjusting VMware Settings to Increase Capacity

#For Windows Users

  1. Launch VMware, right-click on FydeOS, and navigate to "Power" > "Shut Down."

Pic1 2. Select 'Edit virtual machine settings.' Pic2 3. In the settings pop-up, click on "Hard Disk" > "Expansion." Pic3 4. Set a new capacity for the virtual disk. pic3 5. Click 'Apply' to finalize the virtual disk expansion. pic4

#For macOS Users

  1. Open VMware Fusion, click on the "Virtual Machine" menu, and select "Shut Down."

pic5 2. Navigate to "Settings" > "Hard Disk." pic6 3. Set a new capacity for the FydeOS virtual disk. pic7 4. Click 'Apply' to finalize the virtual disk expansion. pic8

#Step 2: Accessing the Terminal

#For Windows Users

After successfully launching FydeOS, press Ctrl+Alt+T to open a new crosh tab in the Chromium browser.

#For macOS Users

Enter the FydeOS virtual machine settings, change the Keyboard & Mouse configuration to the Mac profile, and then press Ctrl+Option+T to open a crosh tab. pic9

#Accessing the Shell

In the crosh tab, type shell and press enter. pic10

#Step 3: Identifying the Target Partition

Type lsblk to display the list of currently loaded disks. pic11 The default stateful partition of FydeOS under VMware is nvme0n1p1, which is our target partition for expansion.

#Step 4: Executing the Expansion Script

With the target disk identified, run the built-in expansion script of FydeOS. The stateful partition will automatically expand to fill the entire disk.

Enter the following command:

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

If you see an error prompt like this: The system is not running from removable disk., you may append a -f flag to force the script to execute:

sudo expand-partition.sh --dst /dev/nvme0n1p1 -f

pic11

#Step 5: Verifying the Expansion

After running the script, navigate to "Settings" > "Device" > "Storage Management" to check the storage capacity.

pic12

If the capacity reflects your changes, congratulations! You have successfully expanded the capacity of FydeOS on VMware.