Difference between revisions of "PinePhone Software Releases"

Jump to navigation Jump to search
m (remove accidental extra space)
Line 71: Line 71:
Once you've flashed the OS to your SD card or eMMC storage, you may also need to expand the partition to fill all the available space.
Once you've flashed the OS to your SD card or eMMC storage, you may also need to expand the partition to fill all the available space.


=== NOT on the PinePhone ===
=== Resize SD card's partition using computer ===
 
This is recommended as it is currently the only way to resize the SD card when it's not mounted.
Parted's interactive mode and resize work well together. Do this before you put your SD card into the PinePhone for the first time for best results.
Parted's interactive mode and resize work well together. Do this before you put your SD card into the PinePhone for the first time for best results.


Line 79: Line 81:
  sudo resize /dev/<the_second_sd_card_PARTITION>
  sudo resize /dev/<the_second_sd_card_PARTITION>


=== From the PinePhone ===
=== Resize from within PinePhone ===
This is '''not recommended'''! Resizing a currently mounted partition can have weird results.  
 
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.
 
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.


Locate growpart (<code>apt-cache search growpart</code> and install the package in the search results) and run:  
Locate growpart (<code>apt-cache search growpart</code> and install the package in the search results) and run:  
110

edits

Navigation menu