Create Orangepi5plus_1.0.6_debian_bookworm_server_linux5.10.110.gz

  1. mount the etched microSD
$ sudo mount /dev/mmcblk0p2 root
alexlai@hc4Bullseye:~/build/src$ sudo mount /dev/mmcblk0p1 boot/
$ cd root
$ tar cvfz ../Orangepi5plus_1.0.6_debian_bookworm_server_linux5.10.110.gz *  ../boot --->  tar: Exiting with failure status due to previous errors
$ cd ..
# to verify
$ tar tvf Orangepi5plus_1.0.6_debian_bookworm_server_linux5.10.110.gz 
  1. The ethed microSD
$ sudo fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

GPT PMBR size mismatch (8036351 != 62333951) will be corrected by write.
The backup GPT table is not on the end of the device. This problem will be corrected by write.

Command (m for help): p

Disk /dev/mmcblk0: 29.72 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 738115BE-8654-0442-A5C6-B0B37ECC8C8F

Device           Start     End Sectors  Size Type
/dev/mmcblk0p1   61440 2158591 2097152    1G Linux extended boot
/dev/mmcblk0p2 2158592 8036318 5877727  2.8G Linux filesystem
$ sudo apt install gdisk
$ sudo gdisk /dev/mmcblk0
GPT fdisk (gdisk) version 1.0.6

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/mmcblk0: 62333952 sectors, 29.7 GiB
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 738115BE-8654-0442-A5C6-B0B37ECC8C8F
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 2048, last usable sector is 8036318
Partitions will be aligned on 2048-sector boundaries
Total free space is 59392 sectors (29.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1           61440         2158591   1024.0 MiB  EA00  bootfs
   2         2158592         8036318   2.8 GiB     8300  rootfs

Command (? for help): 

Partitioned as

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         2099199   1024.0 MiB  8300  Linux filesystem
   2         2099200        62331904   28.7 GiB    8300  Linux filesystem
$ sudo bsdtar -xvpf  Orangepi5plus_1.0.6_debian_bookworm_server_linux5.10.110.gz  -C root
$ sudo mv root/boot/* boot/

The "ea00" partition type, also known as the XBOOTLDR partition, is a specific partition type used by Microsoft's eXtensible Firmware Interface (EFI) system. It is a reserved partition that is typically found on EFI system disks.

The XBOOTLDR partition serves as a placeholder for future firmware updates. It is used to store boot loader code, allowing the system to perform firmware updates or recovery operations. This partition is generally small in size and not accessible or visible to the operating system.

The UEFI specification mandates support for the FAT12, FAT16, and FAT32 file systems # mkfs.fat -F 32 /dev/sdxY