Difference between revisions of "PinePhone Software Releases"

Jump to navigation Jump to search
Line 83: Line 83:
=== Resize from within PinePhone ===
=== Resize from within PinePhone ===


eMMC: The recommended method is to resize the eMMC by booting a distro from the SD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results.  
eMMC: The recommended method is to resize the partition on eMMC (flashed with the operating system) by booting another image from the SD card: that way, the eMMC will be unmounted. It is '''not recommended''' to resize eMMC while booted from eMMC! Resizing a currently mounted partition can have weird results.  


SD card: It is generally not possible to boot from eMMC to partition the unmounted SD card, because of the boot order -- you would have to write the image to the empty SD card first, then resize partition, all without rebooting. It is also not recommended to resize the SD card while booted from SD card! Resizing a currently mounted partition can have weird results.
SD card: It is generally not possible to boot from eMMC to partition the unmounted SD card, because of the boot order -- you would have to write the image to the empty SD card first, then resize partition, all without rebooting. It is also not recommended to resize the SD card while booted from SD card! Resizing a currently mounted partition can have weird results.
Line 91: Line 91:
  resize2fs /dev/mmcblkXpY
  resize2fs /dev/mmcblkXpY
where X is the storage device and Y is the partition number (viewable from lsblk).
where X is the storage device and Y is the partition number (viewable from lsblk).
If you get any errors about missing or unknown commands, use apt-cache search to find and install the needed software. Also don't forget to use sudo.


== Installing Any ARM64 Distribution ==
== Installing Any ARM64 Distribution ==