ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

Low space #8

Closed Cavabanga closed 2 years ago

Cavabanga commented 2 years ago

armbian-install does not install on emmc ugoos x3 pro, therefore I use it from a flash card or after loading dd if=/dev/mmcblk1 of=mmcblk2. but there is a problem, the image is written in a fixed size 2.4G, everything else is not aviable, so there is not enough space. How to fix it ?

ophub commented 2 years ago

ugoos x3 locks bootloader in version v0.3.7 and above, and prevents writing to EMMC. It can only be used on TF/USB.

Armbian officially provides adjustment methods: https://github.com/armbian/build/blob/master/packages/bsp/common/usr/lib/armbian/armbian-resize-filesystem

Reinitiate SD Card resize on boot, Try this one:

/usr/lib/armbian/armbian-resize-filesystem
Cavabanga commented 2 years ago

with dd if=/dev/mmcblk1 of=/dev/mmcblk2 i was able write to EMMC

ophub commented 2 years ago

armbian-install is also written into mmcblk2. Last time you tested it and it couldn’t be started after writing. with dd,Can the emmc system be used after removing the TF card? What version is your box? Which armbian version is flashing in?

Cavabanga commented 2 years ago

yes, I can use it without TF card but only have 2.4G instead of 32G. Ugoos X3Pro, Armbian_21.11.0_Aml_s905x3_buster_5.4.153_2021.10.18.0341.img.gz

ophub commented 2 years ago

If the dd command is OK, you can try the armbian-install command, you can divide the remaining space.

https://github.com/ophub/amlogic-s9xxx-armbian/blob/dcb556432e01623c9bea48d343fd992721f35048/amlogic-s9xxx/common-files/files/usr/sbin/armbian-install#L32

command: armbian-install select 4

Cavabanga commented 2 years ago

after armbian-install does not load without TF. only dd work.

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/dcb556432e01623c9bea48d343fd992721f35048/amlogic-s9xxx/common-files/files/usr/sbin/armbian-install#L191-L204

delete line 191-204 form /usr/sbin/armbian-install, try again.

ophub commented 2 years ago

armbian-install does not install on emmc ugoos x3 pro, therefore I use it from a flash card or after loading dd if=/dev/mmcblk1 of=mmcblk2. but there is a problem, the image is written in a fixed size 2.4G, everything else is not aviable, so there is not enough space. How to fix it ?

https://github.com/ophub/amlogic-s9xxx-armbian#when-using-armbian-in-tfusb-enable-free-space

Cavabanga commented 2 years ago

Screenshot 2021-10-19 121924