UPDATE: Issue was solved by adding the boot parameter "from=all". I'm keeping this post here in hopes it may help somebody else with the same problem.
Thanks Adrian. I'm now taking a different approach, storing the snapshot on the hard drive (it's under 3 GB), and making a GRUB menu entry to launch it when I want to do a restore. This should allow us to distribute laptops without USB sticks, as they are a hassle for us to manage, especially across many users in many places. It has a lot of promise, but gets stuck after it boots from the /antiX/vmlinuz and /antiX/initrd files. It can't find /antiX/linuxfs because it's not looking for it on the hard drive. I can't figure out how to point it there. Any ideas?
I can put the snapshot files on a separate partition (e.g. sda2), so when it is restored (e.g. to sda1) it doesn't clobber itself .
In order to extract the files I mounted the snapshot ISO and copied the contents of the antiX folder to /antiX. linuxfs is in there. I'm hoping there's some boot or kernel directive I can append to a line in GRUB that points it to /antiX/linuxfs (e.g. to search all block devices, or at least /dev/sda1). It's currently restricting its search to USB and CD devices only. Any ideas?
Contents of /etc/grub.d/40_custom
Code: Select all
menuentry "MX Linux reinstall" {
linux /antiX/vmlinuz
initrd /antiX/initrd.gz
}
Here's the output, manually copied from my test VM's screen (ugh)
Code: Select all
Current boot codes:
BOOT_IMAGE=/antiX/vmlinux
Loading hardware specific modules . . .
Scan usb,cd devices. Look for boot file(s) antiX/linuxfs
Filtered devices /dev/sr0
Retry for 15 seconds . . . . .
Fatal Error
Could not find file antiX/linuxfs
Searched devices: /dev/sr0
Searched types : usb,cd
All block devices: /dev/sr0 /dev/sda2 /dev/sda1 /dev/sda
Please contact BitJam at https://mxlinux.org
Screenshot:
https://photos.app.goo.gl/gzN57RrvVth1Yd4AA
I looked up BitJam's posts and it says he hasn't been active for a few months.
Thanks!