When configuring Porteus Kiosk 3.7.0 32-bit we are presented with SWAP option (see screenshot)
We are sad that we can not use for swap the same device from which we are booting from. But I do not understand does this means same partition or same disk? After creating Porteus Kiosk USB drive which has 8GB - actual Porteus data use only about 900MB. Other space is just wasted. So my question is - how to create swap partition on free space on this USB flash drive and how to tell Porteus Kiosk to use - swap partition on the same disk from which it boots up?
What does SWAP option in Porteus Kiosk actually means?
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
What does SWAP option in Porteus Kiosk actually means?
Is this really a hard question?
- Ed_P
- Contributor
- Posts: 8373
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
What does SWAP option in Porteus Kiosk actually means?
As a regular Porteus user rather than a Kiosk user I will say I have never used a swap file with my Linux systems. I would say if you have machines with more than 512 MB of RAM you don't need a swap file.
If you want one on the same flash drive partition it and put the swap file in the new partition.
BTW The space outside of the Kiosk can be used to save file downloads, config backups and etc. It doesn't need to be wasted.
If you want one on the same flash drive partition it and put the swap file in the new partition.
BTW The space outside of the Kiosk can be used to save file downloads, config backups and etc. It doesn't need to be wasted.
Ed
What does SWAP option in Porteus Kiosk actually means?
If you burn Porteus Kiosk installation directly ro Flash drive - it's burned as 3 partitions - the 3rd partition is xfs file system and I think is not used by Porteus Kiosk. So you can delete that partitioin and create linux_swap partition of needed size on it's place. If in Porteus wizard swap was enabled - the system will connect this swap partition. So yes - swap partition can be on the same disk as Porteus Kiosk installation. You can check if swap is connected by entering free -m command while connected via ssh or in terminal in debug mode.
However if you burn Porteus Kiosk installation as ISO to Flash Drive using Rufus or other burn software - the flash drive contain only 1 parition of ISO9660 file system - which can not be resized by GParted. This partition uses all flash drive space, so you can not create swap partition on the this flash drive.
New 64 bit versions of proteus kiosk, as I know, use SWAP file, instead of partition, so that shoud not be a problem.
However if you burn Porteus Kiosk installation as ISO to Flash Drive using Rufus or other burn software - the flash drive contain only 1 parition of ISO9660 file system - which can not be resized by GParted. This partition uses all flash drive space, so you can not create swap partition on the this flash drive.
New 64 bit versions of proteus kiosk, as I know, use SWAP file, instead of partition, so that shoud not be a problem.