Junayeed Ahnaf Nirjhor wrote:
Hello,
Recently installed opensuse but made a mistake while installation. I've installed without any swap partition. So the system is sluggish. Went to google and found out this command will create a 512 MB file and use it as a swap:
dd if=/dev/zero of=/swapfile bs=1k count=524288 && mkswap /swapfile && sync && swapon /swapfile
Question is, As My ram is 2 GB I need a swap partition of at least 4 GB (It is stated on that site). What'll be the necessary changes to turn that 512 MB into 4GB file?
I know it's not about ubuntu, but this command is not distro based, it's general Linux command.
Can anybody help me out?
That 2x ram swap size idea has been obsolete for many years. It's entirely possible to run Linux without any swap at all. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org