As I said in the title, there is a problem making swap in case I choose ¹alongside installation, ²erase partition or any other way BUT there are no problems in the " erase whole disk " option, which I don’t need because I need DualBoot with Windows since my family could never understand how Linux works.
So, can I even - and if so, how do I allocate swap without Windows getting rekd in the process?
( I already deleted the Kanjaro partition, will reinstall the whole thing again ).
I installed it last night on the partition I had reserved for it and in one moment it froze so badly even the cursor was paralysed. I had FireFox and AppCenter opened.
I searched for answers on-line and found several answers pointed in the " no swap - yes freeze " direction.
I value all the time, effort and guidance. Thank you in advance.
( My level of English is undeveloped, please use simple words while explaining ).
Thank you for this answer. I’ll look at it and study it since I have no idea what that really means. Is there possibly an option to do it " old fashioned way " as I asked or is this the only way to go?
Sorry if I am being repetitive or asking way too much.
I don’t understand what the “old fashioned way” is.
You should rephrase what you actually want to do and what your current layout is. To me, it read like you already have all partitions fixed but now want to add swap ⇒ Hence, the swap file.
When you select to manually partition - or install alongside another distribution - you must define the setup manually.
However - if you have a swap partition - and the partition is defined as swap partition using the type 0x8200 then the booted system will find the partition automagically. This is how systemd works and as such you don’t need to setup the swap partition in fstab.
I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.
However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or or if you agree)
P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.