Welcome to the Linux Foundation Forum!

Installation without swap


Hi Friends,

Do we install redhat or any other Os without an swap partition ?

If Yes, What is the role of swap during the installation or why it's so needed that its an mandatory during the installation?

If No, Explain an installation process ?


Prashant Kadre


  • ujala
    ujala Posts: 1
    Well, swap is the extra memory used when system RAM is insufficient for any process.
  • prashantkadre
    Use of swap is well known to me, Only concern with weather we can install os without it or not ?
  • Goineasy9
    Goineasy9 Posts: 1,114
    One can install Linux without a swap partition. Although it's not recommended. If you have 16 Gb of memory though, I doubt if swap will ever be used.

    I once had a printer driver that was malfunctioning, and, it was sending messages to a log file. It sent so many messages, so fast, that it filled up my root directory. If it wasn't for swap, I wouldn't have been able to recover, so, it's up to you whether you want to take that chance, or not. Swap can sometimes be helpful, especially when you have minimal memory on your machine.


Upcoming Training