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.
-
AuthorPosts
-
June 1, 2019 at 11:02 am #22373Member
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 availableI 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"June 1, 2019 at 11:09 am #22374Forum Admin
dolphin_oracle
June 1, 2019 at 11:40 am #22376Member
manyroads
::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"June 1, 2019 at 3:06 pm #22380Forum Admin
BitJam
::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.gzThe 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" | sortYou can count them with:
find initrd/lib/modules -name "*.ko" -printf "%f\n" | wcAnd you an look for the overlay module with:
find initrd/lib/modules -name "*.ko" -printf "%f\n" | grep overlayAs 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
June 1, 2019 at 5:32 pm #22383Member
manyroads
::@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/sq1The second was less useful:
$ unpack-initrd -f /mnt/iso/iso1/antiX/initrd.gz bash: unpack-initrd: command not foundSeems 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"June 1, 2019 at 6:29 pm #22388Forum Admin
BitJam
::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/binContext is worth 80 IQ points -- Alan Kay
June 3, 2019 at 9:25 am #22496Member
manyroads
::I tried reinstalling aufs and overlayfs… my error on created snapshot(s) continues. Here’s the screenshot. Any ideas?
Attachments:
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"June 3, 2019 at 9:51 am #22499Forum Admin
anticapitalista
::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.
June 3, 2019 at 1:00 pm #22515Member
manyroads
::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"June 3, 2019 at 2:37 pm #22517Forum Admin
anticapitalista
::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.
June 3, 2019 at 3:35 pm #22519Member
manyroads
::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" -
AuthorPosts
- You must be logged in to reply to this topic.
