Clarity wrote: Tue Apr 29, 2025 9:37 am
Using Ventoy this ISO is booted to desktop via its 2nd boot stanza. of RAM2-Persistence-Sessions. I am reporting a couple of issues.
First - The distro is not picking up the presence of the Linux SWAP partition. On several occasions this has had some bad behaviors in performance. I just recently discovered that in this PC's desktop. Can a future version of the ISO be generated that has the necessary ability to detect and use the SWAP partition?
Next - After several minutes of desktop inactivity it will timeout to sleep to a re-login screen. BUT, if I am gone for an hour, when I return the screen has been blanked. Moving the mouse will not awaken nor will htting any keyboard either. I did use the 'standard' Cntrl-f12 and other keyboard sequences but nothing awakens the screen. Further, tapping-pressing the on-off button does not send an interrupt. ONLY option is to cold-start the PC losing all work done since booting. Anyone familiar with this phenom? Any ideas of a solution? This Intel desktop PC has an nvidia adapter HDMI'd to the TV monitor.
1. This has already been written about before
viewtopic.php?p=129380#p129380
viewtopic.php?p=129382#p129382
1.1
To mount the swap partition during system boot
in /etc/fstab
register UUID
get UUID by entering in terminal sudo blkid /dev/sda3
- where "sda3" is the partition where your Swap is located replace with yours
fstab
Code: Select all
#
# See fstab(5).
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs defaults,nosuid,nodev 0 0
# Swap
UUID=67e75917-d277-4581-8741-4f821cb520ab none swap defaults 0 0
_____________________________________________________________________________________________________________________________________
Creating and Enabling a Swap Partition
To create a swap partition, you need enough unallocated disk space to create an additional partition. If you do not have enough space, skip to the next section. A swap partition can be created in any disk management / partition management tool and should be set as type linux-swap.
Once you have a swap partition you will need to initialize the swap partition with mkswap. For example, if your swap partition is /dev/sda3, you could use the command:
sudo mkswap /dev/sda3
Next we need to enable the swap partition with the swapon command. Following our example above this could be done with:
sudo swapon /dev/sda3
In order to ensure that the swap is enabled at boot we can add an entry to /etc/fstab. It is best to use the UUID instead of the device name for this purpose. You can add the line to fstab manually or using the command:
sudo bash -c "echo UUID=$(lsblk -no UUID /dev/sda3) none swap defaults 0 0 >> /etc/fstab"
- where "sda3" is the partition where your Swap is located replace with yours
2. I don't use it because it doesn't work correctly in Void from the start. And I have the sleep mode disabled. For further questions about this, please refer to the Void wiki.