Hi Fred, that fixed it thanks.
I have almost worked out what is locking up when I try to boot "Devuan-live-boot-3 in RAM persistence".
It is something to do with the copy to ram option. I'm not sure what it is and I'm not going to bother any more as it seems that the persistence works differently than I am used to anyway, as the *cow directory is always empty, so all of my scripts are useless. It is definately not a memory thing, as the machine has 16Gb of RAM, but it also has 26 discs and that may be giving it grief.
Interestingly none of the Devuan Boot options seem to get a dynamic IP and the only way to get a static IP is to put it on the kernel append line (after you've setup everything else.
This may be a side-effect of having Frizbee and the other network modules, although I am pretty sure I've got most of them turned off.
Once again, not something I intend to persue.
There was one little glitch with the new ISO you made.
It requires a "changes.dat" file in /live, without it, the system won't load and hangs. Fortunately an empty file is enough to get it going.
I have one more issue that I can't work out, and would appreciate some assistance with if you don't mind. It seems that the aufs filesystem is not working in the Porteus Boot(s) - either one.
No matter what I've tried, I can't get an aufs overlay to work.
It works fine with the Devuan live boots.
I have tried adding "union=aufs" to the boot line as follows, without any joy.
Code: Select all
label My Buster (save changes /live/changes.dat)
kernel /live/vmlinuz1
append initrd=/live/initrd1.xz noauto from=/ copy2ram changes=/live/changes.dat union=aufs
I have created a simple script that can quickly and easily show the issue:
Code: Select all
#!/bin/bash
Pause ()
{
read -n1 -r -p "Press any key to Continue ..."
}
mkdir /tmp/test1
mkdir /tmp/test2
mkdir /tmp/merged
mount -t aufs -o dirs=/tmp/test1:/tmp/test2 none /tmp/merged
echo "***"
echo "*** in a moment /tmp/merged will be empty"
echo "***"
sleep 5
ls -al /tmp/merged
Pause
date > /tmp/test1/file1
date > /tmp/test2/file2
echo "***"
echo "*** in a moment /tmp/merged will contain files from /tmp/test1 and /tmp/test2"
echo "***"
sleep 5
ls -al /tmp/merged
Pause
umount /tmp/merged
rm -f -r /tmp/test1
rm -f -r /tmp/test2
rm -f -r /tmp/merged
sync
sync
sync
sleep 5
The above works perfectly with either of the Devuan-live boots.
What am I missing?
How do I get aufs to work properly with the Porteus boot?
Thanks and Regards, Brenton