§2023-10-10

After genkernel ,

[root@orgpi5Gentoo alexlai]# ls /boot -l
total 88564
drwxr-xr-x 3 root root     4096  5月 25 13:40 dtbs
drwxr-xr-x 2 root root     4096  5月  9 09:30 extlinux
-rwxr-xr-x 1 root root   292864  5月 16 17:25 idbloader.img
-rwxr-xr-x 1 root root 34175488  5月 16 10:33 Image
-rwxr-xr-x 1 root root  9639588 10月 10 18:56 initramfs-6.1.53-gentoo-r1-arm64.img
-rwxr-xr-x 1 root root  7644276 10月 10 14:10 initramfs-linux.img
-rwxr-xr-x 1 root root  1152056  5月 16 17:25 logo.bmp
-rwxr-xr-x 1 root root  4194304  5月 16 17:25 rkspi_loader.img
-rwxr-xr-x 1 root root  4371654 10月 10 17:36 System.map-6.1.53-gentoo-r1-arm64
-rwxr-xr-x 1 root root  1388032  5月 16 17:25 u-boot.itb
-rwxr-xr-x 1 root root 27806208 10月 10 17:36 vmlinuz-6.1.53-gentoo-r1-arm64
[root@orgpi5Gentoo alexlai]# cat /boot/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=8d058135-7486-44cd-bc4a-830290f0bc36 rw rootwait audit=0 splash plymouth.ignore-serial-consoles loglevel=2 cma=128M

I can not create symbolic link in VFAT mounted disk

  1. move arch64 original
[root@orgpi5Gentoo boot]# uname -a
Linux orgpi5Gentoo 5.10.110-4+ #1 SMP Tue May 16 02:34:06 UTC 2023 aarch64 GNU/Linux
[root@orgpi5Gentoo boot]# mv Image Image-orgpi5Gentoo-5.10.110
[root@orgpi5Gentoo boot]# mv initramfs-linux.img initramfs-linux-orgpi5Gentoo-5.10.110.img
[root@orgpi5Gentoo boot]# file Image-orgpi5Gentoo-5.10.110 
Image-orgpi5Gentoo-5.10.110: Linux kernel ARM64 boot executable Image, little-endian, 4K pages
[root@orgpi5Gentoo boot]# file initramfs-linux-orgpi5Gentoo-5.10.110.img 
initramfs-linux-orgpi5Gentoo-5.10.110.img: gzip compressed data, from Unix, original size modulo 2^32 18472960
[root@orgpi5Gentoo boot]# file vmlinuz-6.1.53-gentoo-r1-arm64 
vmlinuz-6.1.53-gentoo-r1-arm64: Linux kernel ARM64 boot executable Image, little-endian, 4K pages
[root@orgpi5Gentoo boot]# file initramfs-6.1.53-gentoo-r1-arm64.img 
initramfs-6.1.53-gentoo-r1-arm64.img: XZ compressed data, checksum NONE
[root@orgpi5Gentoo mnt]# mv initramfs-linux.img initramfs-6.1.53-gentoo-r1-arm64.uimg
[root@orgpi5Gentoo mnt]# mv initramfs-6.1.53-gentoo-r1-arm64.img initramfs-linux.img
[root@orgpi5Gentoo mnt]# file initramfs-linux
initramfs-linux: cannot open `initramfs-linux' (No such file or directory)
[root@orgpi5Gentoo mnt]# file initramfs-linux.img 
initramfs-linux.img: XZ compressed data, checksum NONE
[root@orgpi5Gentoo mnt]# file initramfs-linux-orgpi5Gentoo-5.10.110.img 
initramfs-linux-orgpi5Gentoo-5.10.110.img: gzip compressed data, from Unix, original size modulo 2^32 18472960