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?

-- 
I am me, I wanna be me. Like me or not, this is the way I am-

Junayeed Ahnaf Nirjhor
Linux Mint Bangladesh
Facebook- http://www.facebook.com/nirjhor
Twitter - http://www.twitter.com/nirjhor
Myspace- http://www.myspace.com/nirjhor1992
Blog - http://nirjhor.wordpress.com

-- 
Ubuntu Bangladesh | http://ubuntu-bd.org
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd

Reply via email to