Answers to: linux installations errorhttp://linuxexchange.org/questions/2805/linux-installations-error<p>i installed oracle linux 6 on my desktop and i mistakenly set my swap to 250M twice but i wanted it to be 2gig is there any way i can remove it and set it to 2gig?</p>enTue, 17 Apr 2012 13:57:54 -0400Answer by jsphttp://linuxexchange.org/questions/2805/linux-installations-error/2835<p>If u have free space then absolutely u can make 2GB swap .how to make swap partition step-1 free -to check swap space then swapoff it should be off. step-2 make swap partition fdisk -cul (hard disk name like /dev/hda....whatever) press n and 82 (for swap partition) and last step to format this partition using makeswap (swap partition name like /dev/sda1,2,3..whatever) and then swapon </p>jspTue, 17 Apr 2012 13:57:54 -0400http://linuxexchange.org/questions/2805/linux-installations-error/2835Answer by Seth Brownhttp://linuxexchange.org/questions/2805/linux-installations-error/2831<p>If you are comfortable with re-installing, I would suggest you do it over. Hey, it's good practice.</p> <p>You can also set aside a 2GB file somewhere on your filesystem and make it into a swap file, if you REALLY don't want to re-install. <a href="https://www.google.tt/search?q=how+to+create+a+swap+file&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-GB:official&amp;client=firefox-a">How to create a swap file</a></p> <p>Other than that, boot Gparted (or <a href="http://www.sysresccd.org/SystemRescueCd_Homepage">System Rescue CD</a>)and re-size your partitions using that tool. You will have to run mkswap on the resized swap partition afterwards.</p>Seth BrownTue, 17 Apr 2012 07:04:47 -0400http://linuxexchange.org/questions/2805/linux-installations-error/2831Answer by unSpawnhttp://linuxexchange.org/questions/2805/linux-installations-error/2806<p>How you make room for a 2 GB swap area depends on your disk layout. If you have enough adjacent space left you can enlarge the swap partition and format it again or else delete and recreate it. If you don't have enough space you have to shrink the nearest partition first. If you prefer the comfort and safety checks a GUI application provides you could boot the machine with for example the Gparted Live CD.</p>unSpawnSat, 10 Mar 2012 20:33:10 -0500http://linuxexchange.org/questions/2805/linux-installations-error/2806