Live USB Kernel Updater Question

Forum › Forums › Official Releases › antiX-26 “Stephen Kapos” › Live USB Kernel Updater Question

  • This topic has 16 replies, 9 voices, and was last updated Jul 6-12:28 pm by Brian Masinick.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #204712
    frank_a
    Member

      To my understanding, I first have to install the new Kernel, then remaster and then run Live USB Kernel Updater?
      Can someone confirm that this is the correct way of doing this.

      Thank you.

      #204731
      christophe
      Moderator

        Right. That is the correct order.

        antiX on everything, since 2017

        #204743
        frank_a
        Member

          @christophe, thank you for the quick reply.

          #204755
          Robin
          Member

            And you’ll have to reboot between remaster and running the kernel updater.

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

            #204758
            Xunzi_23
            Member

              Hi frank-a, if you run the Live Kernel updater following the hints it gives you
              will be successful.
              Update your live stick then
              Install a new Kernel and the fitting modules package with apt, start the tool,
              it will ask you to remaster as part of the process, pls. do so.
              Follow the tooltips, You may delete or keep the remains of a previous remaster.

              The reboot at the end of the process finishes the install process and starts
              your stick with the new kernel.

              After having done about 20 Live Kernel installs over the past weeks I can say
              the process is easy and reliable using antiX, Debian and Liquorix Kernels and
              modules.

              #205163
              frank_a
              Member

                Initially I tried to run the Live USB Kernel updater from the Control Center. Hovering over the command icon actually shows a little hint window that says to install the Kernel first and run a remaster. So this is actually well documented, actually the ovreall documentation for antiX is pretty good, thanks to the developer.

                Anyways, I did not install the Kernel per apt, I used the antiX Package Manager, so I asume if there is anything else that needs to be installed will be taken care of. Did the remaster, rebooted and ran Live USB Kernel Updater. This was all pretty straightforward, ran smooth and everything is working.

                Thanks again for all the replies.

                #205222
                dolphin_oracle
                Forum Admin

                  you do not have to reboot between the remaster and the live-kernel-updater step. live-kernel-updater is smart enough to look in the linuxfs.new file for the new kernel.

                  #205223
                  anticapitalista
                  Forum Admin

                    You can actually remove the kernel you are booted into as well as long as you have another installed kernel and run live-kernel-updater immediately after live-remaster

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

                    antiX with runit - leaner and meaner.

                    #205346
                    frank_a
                    Member

                      @dolphin_oracle, @anticapitalista, thanks for the additional information, very much appreciated.

                      #205424
                      sybok
                      Member

                        You can actually remove the kernel you are booted into as well as long as

                        I always thought this to be a very very naughty thing to do.
                        That’s why the *buntu|Debian developers modified ‘apt autoremove’ to preserve two kernel – the currently booted one and the one that is the newest, if not the current, or the “next in line”).
                        And it seems it might be managable… interesting.

                        #205427
                        Xunzi_23
                        Member

                          Hi sybok, removing the currently used Kernel using the updater when running live it not
                          a naughty thing. The replacement Kernel is incorporated in to the preparation for the
                          init read image and will automatically, be used next boot.

                          It is not so clever to only have one proven bootable kernel on any daily driver system
                          which is why Debian/Buntu changed apt to keep inexperienced users safe.

                          The antiX Live toolset is an absolute gem. antiX best of the best :-).

                          #205714
                          luke22
                          Member

                            I can confirm that this also works on my manually configured frugal install which did not use Live USB. My install runs as if it is, but no USB’s have been near it.
                            I did have to reboot in the end though.

                            • This reply was modified 3 months, 3 weeks ago by luke22.
                            #206064
                            Robin
                            Member

                              You can actually remove the kernel you are booted into as well as long as you have another installed kernel and run live-kernel-updater immediately after live-remaster

                              you do not have to reboot between the remaster and the live-kernel-updater step. live-kernel-updater is smart enough to look in the linuxfs.new file for the new kernel.

                              @anticapitalista @dolphin_oracle Many many thanks both of you for this incredible valuable piece of information. I have checked out that now while running the latest kernel upgrade, and found it works perfectly. This will save me much time, really! I had added these extra reboots into my default routine for live handling, since the combined method you suggest here always had failed for me still on antiX 17.4, resulting in non-bootable USB-Sticks constantly, and after that I never again tried combining the steps. Thus I was completely convinced they must be done one by one with a reboot in between. After seeing it actually working flawlessly now when combining, I’m pretty sure it was the poor quality of USB sticks those days causing the trouble, which for some reason wouldn’t have accepted doing it in one go. Works like a charm on the new series of sticks now and on antiX 23 full runit 64 bit. Will see how it behaves on antiX 26 soon when updating the 32 bit notebook, but I don’t expect anything different.

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

                              #207826
                              luke22
                              Member

                                I tried this again for a later kernel, based on a MX linux review, and researching, that the recommended kernel 6.6.139 is not fully safe, because a researcher found a ‘loophole’ in this and 6.6.140 or later is recommended to cover the CopyFail, Dirty Frag, and Fragnesia exploits.
                                Unfortunately my efforts failed. I downloaded 6.12.95 via synaptic (MX Linux and independently confirmed as ok for these exploits), ran remaster, as before. rebooted and then Live-USB Kernel updater, as I did before. Rebooted again, because uname -r still showed 6.6.139. Repeated and still no change.
                                As I said above, I’m in a frugal install, and it worked before. This time after downloading/installing via synaptic I ran save-persist. Can’t remember if I did that before.
                                What have I done wrong?

                                EDIT: Ooops. Sorry. I clicked on Live -USB kernel updater from main menu, which opened and closed straightaway, which I though was odd. After I while of worrying, I tried from the control center and the Live tab. Clicked the kernel updater and it took me through the options, recognizing the old kernel and the newly install kernel. I remember doing that now. (old age). Rebooted, and behold, uname -r said it its now 6.12.95. It is working fine. Not sure it has improved my broadband speed yet (posted elsewhere), but need to check tomorrow morning to compare to previous tests.
                                All hail the control center.

                                • This reply was modified 2 months, 3 weeks ago by luke22.
                                #207830
                                Brian Masinick
                                Moderator

                                  @luke22 Since Frugal is a live-based system, you ought to be able to run

                                  sudo live-kernel-updater and from there, select the desired boot kernel; it won’t delete the other kernel(s) but the next time you boot, it should allow you to boot the selected kernel.

                                  I hope that helps!

                                  From the first post in this topic, this is the complete, correct approach:

                                  To my understanding, I first have to install the new Kernel, then remaster and then run Live USB Kernel Updater?
                                  Can someone confirm that this is the correct way of doing this.

                                  Thank you.

                                  --
                                  Brian Masinick
                                  Alternate "Search B":
                                  This search page

                                Viewing 15 posts - 1 through 15 (of 17 total)
                                • You must be logged in to reply to this topic.