Monday, May 13, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1467  / 2 Years ago, tue, august 16, 2022, 10:30:06

I'm using ubuntu as a hypervisor with my production OSes running in VMware.



Since I installed everything onto an SSD, I placed the swap file off on a data HDD during install. Once I got everything setup, I needed to move the swapfile to a different section of a different physical HDD.



Being honest, I know enough about linux to get it to boot. I'm a windows power user who is completely flummexed trying to get this to work. I had no problems getting my virtual XP & 8 machines to use pagefiles I setup on HDDs even though their virtual machine files are stored on the SSD.



How do I get the swap space to turn on at boot. I have 14gb's of RAM, but VMware wants a swap file anyways. With terabytes of HDD space, I have no problem allocating a partition for this use, and without any other ideas, I used teh standard windows practice of as much swap space as you have ram.



Sorry for the long winded question.


More From » partitioning

 Answers
0

Add the following line to your /etc/fstab to activate the swap partition at boot.



/dev/sdx  none    swap    sw     0       0

[#22594] Thursday, August 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aciousoun

Total Points: 178
Total Questions: 110
Total Answers: 98

Location: Lithuania
Member since Fri, Sep 4, 2020
4 Years ago
;