chromium_os-raspberry_pi icon indicating copy to clipboard operation
chromium_os-raspberry_pi copied to clipboard

[Issue report] Storage amount incorrect

Open deathblade666 opened this issue 3 years ago • 12 comments

Describe the bug or issue total storage is displaying as 4GB 2.1GB is being used out of the box.

Describe your setup

  • Raspberry pi 4 B 4GB, 32GB sdcard
  • ChromiumOS r86 r1
  • N/A

To Reproduce Steps to reproduce the behavior:

  1. check Storage management in settings

Expected behaviour Show full sdcard size (minus system and out of box files)

Screenshots and/or hardware setup photos If applicable, add screenshots to help explain your problem. If your problem is hardware related, it's much easier to include a photo of how your setup looks like.

Additional context Due to this I am unable to enable Linux(beta)

deathblade666 avatar Dec 06 '20 19:12 deathblade666

You should manually expand partition. I suspect there is not an auto repartition script in chromium pi like offcial rpi images does. Gparted or anything similar on windows or mac should do.

PatrickChenHZ avatar Dec 06 '20 19:12 PatrickChenHZ

You can do it manually. Try this command in the shell: sudo /usr/sbin/expand-partition.sh -d $(findmnt -n -o source /mnt/stateful_partition) Or sudo rm /mnt/stateful_partition/.autoexpanded The system will try expand the partition on next booting.

yunshansimon avatar Dec 07 '20 06:12 yunshansimon

Thanks guys,

That did it.

deathblade666 avatar Dec 08 '20 17:12 deathblade666

Hello, Once installed, I go to the terminal but the ChromeOS says that it does not know the sudo command. Do I do something wrong?

techie59 avatar Dec 22 '20 10:12 techie59

You can do it manually. Try this command in the shell: sudo /usr/sbin/expand-partition.sh -d $(findmnt -n -o source /mnt/stateful_partition) Or sudo rm /mnt/stateful_partition/.autoexpanded The system will try expand the partition on next booting.

Hello, Under which application in Chrome OS do you type this command? Thanks,

techie59 avatar Dec 22 '20 10:12 techie59

Under which application in Chrome OS do you type this command?

In Chromium OS desktop press ctrl + alt + t and then type shell to invoke web-based bash shell

fydeos-alpha avatar Dec 22 '20 13:12 fydeos-alpha

Shouldn't this issue be closed since it has been resolved?

Ruffio avatar Jan 05 '21 08:01 Ruffio

Shouldn't this issue be closed since it has been resolved?

Leaving these common issues here in a more prominent place to help beginners..

fydeos-alpha avatar Jan 05 '21 10:01 fydeos-alpha

Is it common to close resolved issues. It is better to update the readme page with relevant FAQ/informations.

Ruffio avatar Jan 05 '21 10:01 Ruffio

I ran power wash and it corrected it.

HawkCollective2890 avatar May 02 '22 18:05 HawkCollective2890

Or sudo rm /mnt/stateful_partition/.autoexpanded The system will try expand the partition on next booting.

Is this file added on first boot after attemtping to auto-expand, or is it already present? If it is the first, why would the auto-expand complete without succeeding?

locness3 avatar Aug 20 '22 15:08 locness3

Is it common to close resolved issues. It is better to update the readme page with relevant FAQ/informations.

+1. Issue tickets are not designed to work as searchable documentation.

locness3 avatar Aug 20 '22 16:08 locness3