I am using clear linux along side Mac mini 2018. I am unable to update clr-boot-manger.
Steps I followed
-
umount and clear all files if any
-
mount the /dev/nvme0n1p1 (EFI system Partition)
-
CBM_DEBUG=1 sudo -E clr-boot-manager list-kernels
[DEBUG] cbm (../src/cli/cli.c:L142): No such file: //etc/kernel/update_efi_vars
[INFO] cbm (../src/bootman/bootman.c:L744): Current running kernel: 5.12.8-1045.native
[INFO] cbm (../src/bootman/sysconfig.c:L179): Discovered UEFI ESP: /dev/disk/by-partuuid/4dfc9fac-ea4e-40dd-b3be-9e8cfc3205c7
[INFO] cbm (../src/bootman/sysconfig.c:L256): Fully resolved boot device: /dev/nvme0n1p1
[DEBUG] cbm (../src/bootman/bootman.c:L140): shim-systemd caps: 0x26, wanted: 0x26
[DEBUG] cbm (../src/bootman/bootman.c:L155): UEFI boot now selected (shim-systemd)
[INFO] cbm (../src/bootman/bootman.c:L459): Checking for mounted boot dir
[INFO] cbm (../src/bootman/bootman.c:L512): Mounting boot device /dev/nvme0n1p1 at /boot
[SUCCESS] cbm (../src/bootman/bootman.c:L525): /dev/nvme0n1p1 successfully mounted at /boot
[INFO] cbm (../src/bootman/bootman.c:L425): Attempting umount of /boot
[SUCCESS] cbm (../src/bootman/bootman.c:L429): Unmounted boot directory
org.clearlinux.native.5.13.8-1065
org.clearlinux.native.5.12.9-1046
* org.clearlinux.native.5.12.8-1045
- CBM_DEBUG=1 sudo -E clr-boot-manager set-kernel org.clearlinux.native.5.13.8-1065
Password:
[DEBUG] cbm (../src/cli/cli.c:L142): No such file: //etc/kernel/update_efi_vars
[INFO] cbm (../src/bootman/bootman.c:L744): Current running kernel: 5.12.8-1045.native
[INFO] cbm (../src/bootman/sysconfig.c:L179): Discovered UEFI ESP: /dev/disk/by-partuuid/4dfc9fac-ea4e-40dd-b3be-9e8cfc3205c7
[INFO] cbm (../src/bootman/sysconfig.c:L256): Fully resolved boot device: /dev/nvme0n1p1
[DEBUG] cbm (../src/bootman/bootman.c:L140): shim-systemd caps: 0x26, wanted: 0x26
[DEBUG] cbm (../src/bootman/bootman.c:L155): UEFI boot now selected (shim-systemd)
[INFO] cbm (../src/bootman/bootman.c:L459): Checking for mounted boot dir
[INFO] cbm (../src/bootman/bootman.c:L467): boot_dir is already mounted: /boot
- CBM_DEBUG=1 sudo -E clr-boot-manager set-kernel org.clearlinux.native.5.13.8-1065
[DEBUG] cbm (../src/cli/cli.c:L142): No such file: //etc/kernel/update_efi_vars
[INFO] cbm (../src/bootman/bootman.c:L744): Current running kernel: 5.12.8-1045.native
[INFO] cbm (../src/bootman/sysconfig.c:L179): Discovered UEFI ESP: /dev/disk/by-partuuid/4dfc9fac-ea4e-40dd-b3be-9e8cfc3205c7
[INFO] cbm (../src/bootman/sysconfig.c:L256): Fully resolved boot device: /dev/nvme0n1p1
[DEBUG] cbm (../src/bootman/bootman.c:L140): shim-systemd caps: 0x26, wanted: 0x26
[DEBUG] cbm (../src/bootman/bootman.c:L155): UEFI boot now selected (shim-systemd)
[INFO] cbm (../src/bootman/bootman.c:L764): path ///etc/kernel/initrd.d does not exist
[DEBUG] cbm (../src/bootman/bootman.c:L784): Non regular file: ///usr/lib/initrd.d/.., skipping.
[DEBUG] cbm (../src/bootman/bootman.c:L784): Non regular file: ///usr/lib/initrd.d/., skipping.
[INFO] cbm (../src/bootman/bootman.c:L459): Checking for mounted boot dir
[INFO] cbm (../src/bootman/bootman.c:L467): boot_dir is already mounted: /boot
[DEBUG] cbm (../src/bootman/update.c:L164): Now beginning update_native
[DEBUG] cbm (../src/bootman/update.c:L173): update_native: 3 available kernels
[DEBUG] cbm (../src/bootman/update.c:L191): update_native: Running kernel is (native) ///usr/lib/kernel/org.clearlinux.native.5.12.8-1045
It is stuck in running kernel is (native) ///usr/lib/kernel/org.clearlinux.native.5.12.8-1045
-
After reboot uname -a shows
Linux venkat 5.12.8-1045.native #1 SMP Fri May 28 05:03:10 PDT 2021 x86_64 GNU/Linux
-
CBM_DEBUG=1 sudo -E clr-boot-manager list-kernels show 5.13.8 as active kernel
[DEBUG] cbm (../src/cli/cli.c:L142): No such file: //etc/kernel/update_efi_vars
[INFO] cbm (../src/bootman/bootman.c:L744): Current running kernel: 5.12.8-1045.native
[INFO] cbm (../src/bootman/sysconfig.c:L179): Discovered UEFI ESP: /dev/disk/by-partuuid/4dfc9fac-ea4e-40dd-b3be-9e8cfc3205c7
[INFO] cbm (../src/bootman/sysconfig.c:L256): Fully resolved boot device: /dev/nvme0n1p1
[DEBUG] cbm (../src/bootman/bootman.c:L140): shim-systemd caps: 0x26, wanted: 0x26
[DEBUG] cbm (../src/bootman/bootman.c:L155): UEFI boot now selected (shim-systemd)
[INFO] cbm (../src/bootman/bootman.c:L459): Checking for mounted boot dir
[INFO] cbm (../src/bootman/bootman.c:L512): Mounting boot device /dev/nvme0n1p1 at /boot
[SUCCESS] cbm (../src/bootman/bootman.c:L525): /dev/nvme0n1p1 successfully mounted at /boot
[INFO] cbm (../src/bootman/bootman.c:L425): Attempting umount of /boot
[SUCCESS] cbm (../src/bootman/bootman.c:L429): Unmounted boot directory
* org.clearlinux.native.5.13.8-1065
org.clearlinux.native.5.12.9-1046
org.clearlinux.native.5.12.8-1045