§2023-07-31
- orgpi5Jammy
$ ls /boot
boot.bmp config-5.10.110-rockchip-rk3588 Image orangepiEnv.txt uInitrd
boot.cmd dtb initrd.img-5.10.110-rockchip-rk3588 orangepi_first_run.txt.template vmlinuz-5.10.110-rockchip-rk3588
boot.scr dtb-5.10.110-rockchip-rk3588 logo.bmp System.map-5.10.110-rockchip-rk3588
$ cat orangepiEnv.txt
verbosity=1
bootlogo=false
extraargs=cma=128M
overlay_prefix=rk3588
fdtfile=rockchip/rk3588-orangepi-5-plus.dtb
rootdev=UUID=7755579e-76c3-4ebc-8ee7-17b273aec0ff <----
rootfstype=ext4 <----
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
do not forget to edit /etc/fstab
- orgpi5Arch
$ ls /boot
dtbs extlinux grub idbloader.img Image initramfs-linux.img logo.bmp rkspi_loader.img u-boot.itb
$ blkid
/dev/nvme0n1p3: UUID="a539964e-7142-47aa-915f-8003431fd568" TYPE="swap" PARTUUID="7568cbd7-05ef-46ef-8069-695060222e9a"
/dev/nvme0n1p1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_OPIOS" LABEL="BOOT_OPIOS" UUID="7B71-F910" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="da263e30-3598-4d29-86ef-8a566f978cab"
/dev/nvme0n1p4: UUID="99587533-d900-45cb-83c1-a707bd6fadd4" BLOCK_SIZE="512" TYPE="xfs" PARTUUID="82db100f-3a79-4d23-b473-453574b7e400"
/dev/nvme0n1p2: LABEL="ROOT_OPIOS" UUID="b09d67bb-c077-42c8-bb4a-4bffb96a2140" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="0aa270b8-8069-4729-bf1c-38f0c546e2a8"
$ cat extlinux/extlinux.conf
LABEL Orange Pi
LINUX /Image
FDT /dtbs/rockchip/rk3588-orangepi-5-plus.dtb
APPEND initrd=/initramfs-linux.img console=ttyS2,1500000 root=PARTUUID=0aa270b8-8069-4729-bf1c-38f0c546e2a8 rw rootwait audit=0 splash plymouth.ignore-serial-consoles loglevel=2 cma=128M
¶expand orgpiArch.yushei.net
- original
$ lsblk
$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
/var/lib/snapd/snap/snapd/19459
sda
└─sda1 xfs 941f0d89-db6d-4072-9ce0-44801959e50d 24.1G 15% /mnt <-- for moving / ext4 into
mtdblock0
zram0 [SWAP]
zram1
zram2
nvme0n1
├─nvme0n1p1 vfat FAT16 BOOT_OPIOS 7B71-F910 165.8M 22% /boot
├─nvme0n1p2 ext4 1.0 ROOT_OPIOS b09d67bb-c077-42c8-bb4a-4bffb96a2140 46G 23% /var/lib/snapd/snap
│ /
├─nvme0n1p3 swap 1 a539964e-7142-47aa-915f-8003431fd568 [SWAP]
└─nvme0n1p4 xfs 99587533-d900-45cb-83c1-a707bd6fadd4 149.8G 10% /opt/xfs
$ sudo mount /dev/sda1 /mnt
$ sudo rsync -av --progeress --exclude /mnt --exclude /opt / /mnt