Porting to a new device/Installation
Appearance
TODO: Merge with Pmbootstrap/Using pmbootstrap#Installing postmarketOS. |
TODO: Explain better what happens when you run the command. |
See also: Installation/Using pmbootstrap
If you get a "no space left on device" error, please report in #928. |
![]() |
With !2426 pmboostrap moved to using GPT as a default parititon table, if the device does not support GPT (e.g. legacy u-boot), then add deviceinfo_partition_type="msdos"
|
To install to the system partition of an image file, run the following:
$ pmbootstrap install
If you want to install to a SD card, insert it into your PC and run the following. Replace mmcblk0 with the actual device name (lsblk
is handy to find out the correct device name). You don't need to format or partition it beforehand, pmbootstrap
will take care of that.
$ pmbootstrap install --sdcard=/dev/mmcblk0