Live Kernel updater fails [solved]

Forum › Forums › Official Releases › antiX-26 “Stephen Kapos” › Live Kernel updater fails [solved]

  • This topic has 23 replies, 6 voices, and was last updated May 3-1:59 am by Xunzi_23.
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #202100
    Robin
    Member

      working on it…

      Many many thanks, Dolphin Oracle! Then the live kernel upgrade will work as fluently like I was used from before, for whatever kernel, and the instruction set I gave above should apply again.

      Windows is like a submarine. Open a window and serious problems will start.

      #202102
      dolphin_oracle
      Forum Admin

        Ok think I found what’s going on.  its more than one thing.

        1. copy-initrd-modules and copy-initrd-programs needs updated in cli-shell-utils to match the ones in iso-snapshot.   live-kernel-updater uses these.
        2. live-kernel-updater does the initrd rebuild when kernels are updated. However, live-kernel-updater only updates the initrd programs when using the “update initrd” function.  When just switching kernels, it only updates the modules. This didn’t matter in the age of uncompressed modules, but now it does.

        So we can modify live-kernel-updater on antiX (and MX) to also update the programs
        BitJam’s note in live-kernel-updater confirms this, and I managed to get a live antiX usb operating on 6.12 debian kernel after using the live-kernel-updater update utility.

        #------------------------------------------------------------------------------
        # Copy programs and libs from linuxfs into the initrd directory
        # Should only be needed when we use a template initrd.gz
        #------------------------------------------------------------------------------
        copy_programs() {
            local from=$1  to=$2  prog=${3:-copy-initrd-programs}
            need_prog $prog
            cmd $prog --from="$from" --to="$to" --encrypt --clean
            cmd $prog --from="$from" --to="$to"
        }

        I’m going to work on modifying live-kernel-updater to do update the programs when kernels are updated.

        #202104
        Robin
        Member

          One more question @Dolphin_Oracle : Does this include and keep or care for the early cpu-microcode upgrade functionality on live and frugal systems? ( See https://www.antixforum.com/forums/topic/antix-25-full-beta1available-for-public-testing/page/24/#post-191595 and https://www.antixforum.com/forums/topic/antix-23-1-live-and-frugal-cpu-microcode-update/ ) If I recollect, this was implemented in antiX 23.2 first.

          Windows is like a submarine. Open a window and serious problems will start.

          #202105
          anticapitalista
          Forum Admin

            Great work @dolphin_oracle

            I just did the same and can confirm the fixes.

            1. cli-shell-utils update deb to appear in the repos soon
            2. I remastered and immediately ran live-kernel-updater and chose the first option is update vmlinuz
            I then ran live-kernel-updater again and this time chose the second option – update initrd.

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #202106
            anticapitalista
            Forum Admin

              One more question @Dolphin_Oracle : Does this include and keep or care for the early cpu-microcode upgrade functionality on live and frugal systems? ( See https://www.antixforum.com/forums/topic/antix-25-full-beta1available-for-public-testing/page/24/#post-191595 and https://www.antixforum.com/forums/topic/antix-23-1-live-and-frugal-cpu-microcode-update/ ) If I recollect, this was implemented in antiX 23.2 first.

              I can confirm that the microcoded live initrd.gz works with new Debian kernel (tested trixie/64bit)

              Philosophers have interpreted the world in many ways; the point is to change it.

              antiX with runit - leaner and meaner.

              #202108
              anticapitalista
              Forum Admin

                I cannot test if secure boot works though as I don’t have any devices with it.

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #202109
                Xunzi_23
                Member

                  Sounds good.

                  For now my sincere thanks to all involved Especially anticapitalista and
                  Dolphin Oracle.

                  Testing on my end will have to wait until either a local user comes
                  home from a short? vacation or when my daughter visits beginning of May.
                  I also have no personal secure boot device available.
                  lady student left this morning assignments have to be submitted by end
                  of month so she will also be busy..

                  #202976
                  bci
                  Member

                    I recently tried various times to update the kernel of an antix 26 live system from 6.6 to 6.12+, and each time it would brick the installation; now I know why. The whole time I kept thinking I was the one doing something wrong.

                    After seeing this thread, I went with the Liquorix kernel (currently at 6.19) and everything went smoothly. Overall it was also good practice for updating the kernel of a live system, since, as has been noted in this thread, the process can be a little bit of a dance.

                    Incidentally, the live system I’ve created is for gradually building what will be my upgrade from antix 23 to antiX 26 🙂

                    – Brandon

                    #203254
                    Xunzi_23
                    Member

                      4 USB sticks now have latest Bug fixed Kernel, all went smooth.

                      Once More a BIG THANKS to Dolphin Oracle and anticapitalista

                      together with a request for a mod to mark the Problem solved.

                    Viewing 9 posts - 16 through 24 (of 24 total)
                    • You must be logged in to reply to this topic.