snapshot fails to boot (a little help needed) [solved]

Forum Forums New users New Users and General Questions snapshot fails to boot (a little help needed) [solved]

  • This topic has 10 replies, 4 voices, and was last updated Jun 3-3:35 pm by manyroads.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #22373
    Member
    manyroads

      I am trying to build a snapshot of antiX19-alpha2 (customized a bit by me).

      I have tried now three times and every snapshot returns the following error on initial boot:

      Fatal Error
      Neither aufs nor overlayfs is available

      I am booting in the same VBox setup where the initial earlier snapshot is running (from which this snapshot is derived). Is there a reasonably easy fix, for a slow learner, available.

      • This topic was modified 3 years, 11 months ago by anticapitalista.

      Pax vobiscum,
      Mark Rabideau - http://many-roads.com
      "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
      dwm & i3wm ~Reg. Linux User #449130
      20 Jan 2021 ~ "End of an Error"

      #22374
      Forum Admin
      dolphin_oracle
        Helpful
        Up
        0
        ::

        did you change kernels?

        #22376
        Member
        manyroads
          Helpful
          Up
          0
          ::

          No I did not change the kernel.

          This is a second generation build
          1. alpha1 to alpha 2 (built snapshot 1) “works”
          2. snapshot 1 some Desktop edits (build snapshot 2) “does not work”

          Note: what kernel(s?) should work… I can reinstall/install them perhaps?!?!

          • This reply was modified 3 years, 11 months ago by manyroads.
          • This reply was modified 3 years, 11 months ago by manyroads.

          Pax vobiscum,
          Mark Rabideau - http://many-roads.com
          "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
          dwm & i3wm ~Reg. Linux User #449130
          20 Jan 2021 ~ "End of an Error"

          #22380
          Forum Admin
          BitJam
            Helpful
            Up
            0
            ::

            No I did not change the kernel.

            This is a second generation build
            1. alpha1 to alpha 2 (built snapshot 1) “works”
            2. snapshot 1 some Desktop edits (build snapshot 2) “does not work”

            Note: what kernel(s?) should work… I can reinstall/install them perhaps?!?!

            If you did not change the kernel then the “overlay” module should be available so the problem is likely in the snapshot procedure, not in the kernel.

            There should be a couple of new tools in antiX-19 that will help us diagnose this. Perhaps you could try these two commands

            sudo isomount $SNAP_SHOT_FILE
            unpack-initrd -f /mnt/iso/iso1/antiX/initrd.gz

            The first command should mount the snapshot iso at /mnt/iso/iso1. The 2nd command will create an “initrd” directory and unpack that snapshot initrd.gz file into it.

            We can then look for all of the kernel modules in the initrd. There should be 70 or 80 of them. You can list them all with:
            find initrd/lib/modules -name "*.ko" -printf "%f\n" | sort

            You can count them with:
            find initrd/lib/modules -name "*.ko" -printf "%f\n" | wc

            And you an look for the overlay module with:

            find initrd/lib/modules -name "*.ko" -printf "%f\n" | grep overlay

            As a double-check, you can make sure you kernel compiles overlay as a module:
            cat /boot/config-$(uname -r) | grep -i overlay
            Here I get the output:
            CONFIG_OVERLAY_FS=m
            which means overlay is compiled as a module so that module needs to be in the live initrd for the live initrd to boot.

            Context is worth 80 IQ points -- Alan Kay

            #22383
            Member
            manyroads
              Helpful
              Up
              0
              ::

              @Bitjam

              The first of two commands produced:

              $ sudo isomount /media/sf_mark/snapshot/test-antiX-prototype.iso
              isomount: Mounted /media/sf_mark/snapshot/test-antiX-prototype.iso at /mnt/iso/iso1
              isomount: Mounted /mnt/iso/iso1/antiX/linuxfs at /mnt/iso/sq1
              
              isomount mount-points
              File                                              Type      Size  Mounted at   
              /media/sf_mark/snapshot/test-antiX-prototype.iso  iso9660   1.1G  /mnt/iso/iso1
              /mnt/iso/iso1/antiX/linuxfs                       squashfs  1.1G  /mnt/iso/sq1 
              

              The second was less useful:

              $ unpack-initrd -f /mnt/iso/iso1/antiX/initrd.gz
              bash: unpack-initrd: command not found
              

              Seems like something has gone “walk-about.”

              • This reply was modified 3 years, 11 months ago by manyroads.
              • This reply was modified 3 years, 11 months ago by manyroads.
              • This reply was modified 3 years, 11 months ago by manyroads.

              Pax vobiscum,
              Mark Rabideau - http://many-roads.com
              "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
              dwm & i3wm ~Reg. Linux User #449130
              20 Jan 2021 ~ "End of an Error"

              #22388
              Forum Admin
              BitJam
                Helpful
                Up
                0
                ::

                Oops. I had requested that it be put on the PATH as part of the chroot rescue system but I didn’t check to make sure it was there. You can find it at: /usr/local/lib/cli-shell-utils/bin/unpack-initrd. You can run it directly from there or first copy it to /usr/local/bin:
                sudo cp /usr/local/lib/cli-shell-utils/bin/unpack-initrd /usr/local/bin

                Context is worth 80 IQ points -- Alan Kay

                #22496
                Member
                manyroads
                  Helpful
                  Up
                  0
                  ::

                  I tried reinstalling aufs and overlayfs… my error on created snapshot(s) continues. Here’s the screenshot. Any ideas?

                  Pax vobiscum,
                  Mark Rabideau - http://many-roads.com
                  "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
                  dwm & i3wm ~Reg. Linux User #449130
                  20 Jan 2021 ~ "End of an Error"

                  #22499
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    Do you have the latest versions of iso-snapshot-antix (0.3.5) and iso-template-antix (18.4) from the repos?

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

                    antiX with runit - leaner and meaner.

                    #22515
                    Member
                    manyroads
                      Helpful
                      Up
                      0
                      ::

                      I’m downloading 7 installing the repo versions now. I’ll report back what happens (either way).

                      Edit:
                      I managed to create a functional snapshot!

                      • This reply was modified 3 years, 11 months ago by manyroads.

                      Pax vobiscum,
                      Mark Rabideau - http://many-roads.com
                      "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
                      dwm & i3wm ~Reg. Linux User #449130
                      20 Jan 2021 ~ "End of an Error"

                      #22517
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        I added ‘solved’ to the original post.

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

                        antiX with runit - leaner and meaner.

                        #22519
                        Member
                        manyroads
                          Helpful
                          Up
                          0
                          ::

                          Thank you. I tried but was unable to break the ‘code’.

                          Pax vobiscum,
                          Mark Rabideau - http://many-roads.com
                          "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
                          dwm & i3wm ~Reg. Linux User #449130
                          20 Jan 2021 ~ "End of an Error"

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