That fixes it
Before I changed the link it was
lrwxrwxrwx 1 nevj nevj 49 Jan 5 08:14 menu-applications -> ../../../../desktop-menu/.icewm/menu-applications
Now it is
lrwxrwxrwx 1 nevj nevj 48 Mar 11 18:55 menu-applications -> /usr/share/desktop-menu/.icewm/menu-applications
That is definitely a different place
Thanks, now I can access applications… eg Screenshot
You must define the swap partition when you install.
I dont… I do it afterwards by editing fstab. Some installers muck it up by not using uuid’s. Some reformat it and change the UUID.
I will try the dinit.d mod . It s not a big issue for me… I dont really need 2 huge swap spaces in antiX… I only need that when running large models in R which I usually do in Void. Most users would only have one swap partiton, or none at all and use swapfile.
I changed /etc/dinit.d/swap
nevj@trinity:/etc/dinit.d
$ cat swap
type = scripted
command = /sbin/swapon -a
stop-command = /sbin/swapoff -a
depends-on = udevd
depends-on = root-rw
waits-for = udev-settle
I set2 swap partitions in fstab and booted
Now , it does not fail to boot, but I still only get one swap partiton
$ swapon
NAME TYPE SIZE USED PRIO
/dev/sdd3 partition 293G 0B -2
nevj@trinity:~
$ cat /etc/fstab
# Pluggable devices are handled by uDev, they are not in fstab
UUID=937413ff-d124-49e2-ae13-857ea12a668d / ext4 noatime 1 1
UUID=E4AE-524C /boot/efi vfat noatime,dmask=0002,fmask=0113 0 0
#Swap partition on 4Tb HDD :
UUID=396d565a-a962-4a76-8d69-d36b28f13949 none swap sw 0 0
#Swap partition on 2TB HDD
UUID=23785d73-fcac-40f2-bcd6-e2a77432bdf7 none swap sw 0 0
# common partition - filesystem shared by several os's
# 2Tb HDD
UUID=77cc1e80-1d2b-4139-b391-b1873de9cfed /common ext4 rw 0 2
# 4Tb HDD
UUID=7b735092-4202-453a-bd29-de07590816fa /common ext4 rw 0 2
/dev/sdd3 is the second swap partiton listed in fstab and is on the same disk as antiX26. The other one /dev/sda3 is on a different disk.
I can add it with swapon
root@trinity:/home/nevj# swapon -a
swapon: cannot find the device for UUID=23785d73-fcac-40f2-bcd6-e2a77432bdf7
root@trinity:/home/nevj# swapon /dev/sda3
root@trinity:/home/nevj# swapon
NAME TYPE SIZE USED PRIO
/dev/sdd3 partition 293G 0B -2
/dev/sda3 partition 195.3G 0B -3
Swapon -a does not work… but swapon /dev/sda3 does ?
Maybe something strange in my fstab?
Dont waste time on it
Well there is something weird in /etc/fstab
When I check with blkid the only swap partition uuid that is correct is the 396....
So… erase them all and start again
So the new /etc/fstab is
# Pluggable devices are handled by uDev, they are not in fstab
UUID=937413ff-d124-49e2-ae13-857ea12a668d / ext4 noatime 1 1
UUID=E4AE-524C /boot/efi vfat noatime,dmask=0002,fmask=0113 0 0
#Swap partition on 4Tb HDD :
UUID=396d565a-a962-4a76-8d69-d36b28f13949 none swap sw 0 0
#Swap partition on 2TB HDD
#UUID=23785d73-fcac-40f2-bcd6-e2a77432bdf7 none swap sw 0 0
UUID=add7b156-7d68-4cc7-be9b-e34978bca563 none swap sw 0 0
# common partition - filesystem shared by several os's
# 2Tb HDD
#UUID=77cc1e80-1d2b-4139-b391-b1873de9cfed /common ext4 rw 0 2
# 4Tb HDD
UUID=7b735092-4202-453a-bd29-de07590816fa /common ext4 rw 0 2
I changed the UUID of the swap partition on the 2Tb HDD.
Now when I boot both swap spaces are active
$ swapon
NAME TYPE SIZE USED PRIO
/dev/sdd3 partition 293G 0B -2
/dev/sda3 partition 195.3G 0B -3
So what changed the UUID of /dev/sda3?
I suspect the antiX installer changed it. … but I cant prove it.
I nominated to make / and /boot/efi partitions only.
Maybe it went automatically looking for a swap space and found /dev/sda3 … I know that if I tell the installer about a swap space it changes its UUID because it reformats it. I tried to avoid that by not telling it about swap spaces. Looks like it did it anyway.
Consequences.
Now I have to go and change the UUID of /dev/sda3 in all my other multiboot distros. I only have 7 at the moment.
Afterthought: It may not have been the antiX install that changed my swap uuid. I recently did a Peppermint and a Void/musl install and one of those may have done it. It is difficult to trace.
So far … 2 of my mistakes, one of yours.