Guide-Linux-Nabu/guide/English/install-en.md
2024-02-21 21:21:41 +05:00

1.4 KiB

Linux Running On A Xiaomi Pad 5

Running Linux on the Xiaomi Pad 5

Installing Linux

Prerequisites

Installation

Reboot to fastboot to install Linux

Flash Linux image via fastboot

fastboot flash linux <rootfs.img>

Replace <rootfs.img> with path to ubuntu.img or arch.img

Reboot to bootloader

fastboot reboot bootloader

Erase dtbo

fastboot erase dtbo

Temporary boot Linux from PC

fastboot boot <linux-boot.img>

Replace <linux-boot.img> with path to kernel image

Complete initial setup and reboot the tablet into bootloader

Restore dtbo backup

fastboot flash dtbo <dtbo.img>

Replace <dtbo.img> with path to dtbo backup

Reboot tablet into android

fastboot reboot

Set up dualboot

Flash UEFI installer via Magisk or recovery

After rebooting, a menu will appear in which you can navigate using the volume and power buttons

Готово!