hacked a little bit in init and lib/livekitlib
added boot parameter savefile as in the following grub2 menu entry
Code: Select all
menuentry "AlphaSlax ISO" {
insmod part_msdos
insmod ext2
set isofile="_ISO/MAINMENU/AlphaosSlax122.iso"
search --no-floppy --file --set=root /$isofile
loopback loop /$isofile
linux (loop)/alphaos/boot/vmlinuz from=$isofile slax.flags=toram savefile=testdir/changes.fs4
initrd (loop)/alphaos/boot/initrfs.img
}
and modified save_file_activate() to make a search of devices for the savefile.
(code is QnD but could be cleaned if anyone interested)
changes get saved in savefile.
my /mnt/home link is pointing at the wrong place
? were is it set? is it important?
spacefm looks weird? doesnt have mount command
Is this because of home link
or are the bundles layered in wrong order in union?
Code: Select all
0 changes.fs4
1 extra_12.sb
2 alpha_12.s
Now I can have iso on USB and savefile on ntfs internal HD
remaining is fixing modules dir. Maybe a separate parameter for modules for maximum flexibility!?
I think savefilename and type(.fs2) also should be variable as in alphaos
(a prefix set in DISTRO_SPECS)