Jump to content

Dual Booting: Difference between revisions

From postmarketOS Wiki
Ssd (talk | contribs)
mNo edit summary
Add explanation why pmbootstrap flasher boot command does not need path to SD card device
Line 13: Line 13:
* One more way with u-boot: [[U-Boot_porting#Implement_multiboot_involving_Android_in_a_device_aport]]
* One more way with u-boot: [[U-Boot_porting#Implement_multiboot_involving_Android_in_a_device_aport]]
* On some amlogic device 's uboot . there are a multiboot mode : [[Amlogic#Boot process]]
* On some amlogic device 's uboot . there are a multiboot mode : [[Amlogic#Boot process]]
* On fastboot devices that have an SD card, it is possible to install postmarketOS on the SD card, and boot through <syntaxhighlight lang="bash" inline>pmbootstrap flasher boot</syntaxhighlight>. This has the advantage of not modifying anything on the phone itself, but a USB cable and a host device (like a computer) are needed to boot the device with this procedure.
* On fastboot devices that have an SD card, it is possible to install postmarketOS on the SD card, and boot through <syntaxhighlight lang="bash" inline>pmbootstrap flasher boot</syntaxhighlight>. This has the advantage of not modifying anything on the phone itself, but a USB cable and a host device (like a computer) are needed to boot the device with this procedure. During boot the [[Boot_process#postmarketOS_initramfs|initramfs]] script will automatically search the list of available partitions for the <code>boot</code> and <code>root</code> partitions either by name or by their partition identifier and continue booting when found.
* On most devices, the recovery partition holds a recovery image (or fastboot boot image (on some deivce)) . With the postmarketOS boot image flashed to the recovery partition and the root image flashed to either an internal partition or an sdcard, you will able to dualboot but doing that will make you lose the android recovery mode (this works on xiaomi-santoni and samsung-degaswifi)
* On most devices, the recovery partition holds a recovery image (or fastboot boot image (on some deivce)) . With the postmarketOS boot image flashed to the recovery partition and the root image flashed to either an internal partition or an sdcard, you will able to dualboot but doing that will make you lose the android recovery mode (this works on xiaomi-santoni and samsung-degaswifi)
* On devices with lk2nd the boot image is loaded from an ext2 boot partition either on EMMC or SD card. Since [[lk2nd]] keeps backwards compatibility with android boot images, you can flash your android boot.img via lk2nd and it will boot that image unless an SD card with postmarketOS is inserted.
* On devices with lk2nd the boot image is loaded from an ext2 boot partition either on EMMC or SD card. Since [[lk2nd]] keeps backwards compatibility with android boot images, you can flash your android boot.img via lk2nd and it will boot that image unless an SD card with postmarketOS is inserted.

Revision as of 21:15, 30 December 2023

Icon This page could use some expansion. If you'd like to help out, feel free to edit this article!
In particular: This huge list could be split up into more specific tutorials. Perhaps include the contents from Use PostmarketOS Community pre-built image on your device here?

for a better guide, see Dual Booting/WiP

Dual Booting, also sometimes called Multiboot, is a process by which you can install multiple operating systems on your device, and select between them when booting it up.

postmarketOS currently might able to dual booting through recovery (kind of)

There are a few ways this can be achieved:

See also