FydeOS / chromium_os-raspberry_pi

Build your Chromium OS for Raspberry Pi 4B, Pi400 and the latest Raspberry Pi 5

Home Page:https://chromiumos.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System file size allocation too large. Unable to load linux environment or download apps

Namrepus221 opened this issue · comments

I'm trying to run ChromiumOS with a Raspberry Pi and have a 256gb SD Card. When I attempt to load the Linux environment it immediately fails because I have a System file of 253gb and only 3 GB of "free" space available.

How do I shrink the size of the system file when it's written so I don't use 99% of it on useless stuff?

I am also aware of issue #111 but it keeps saying that the is is not running on removable storage and will not expand the file system,

It's a known bug which will be fixed in next release.
For current version, you can slove it in:

  1. back up your data first
  2. follow https://faq.fydeos.com/en/getting-started/shell-access/
  3. call mount -oremount,rw /
  4. call echo "echo yes" > /usr/sbin/is_running_from_installer
  5. call chmod +x /usr/sbin/is_running_from_installer
  6. call rm /mnt/stateful_partition/.autoexpanded
  7. call /usr/sbin/expand-partition.sh -d $(findmnt -n -o source /mnt/stateful_partition)
  8. reboot