LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Possible to create Swap part. after the fact? (https://www.linuxquestions.org/questions/linux-newbie-8/possible-to-create-swap-part-after-the-fact-440911/)

jabulani_jonny 05-02-2006 11:00 AM

Possible to create Swap part. after the fact?
 
I searched, but didn't come up with anything pertinent. I've got Suse 10.0 installed and thought I had told it to create a swap partition on install, however I apparently didn't. So now I need to create a 2gb swap partition in the 10.2 gb linux partition. Is there a way to resize it and add the swap partition in the free space while Linux is running? Or should I reboot into XP and use PartMagic to create some free unallocated space in my Linux partition and create a swap part that way?

What would be the most user friendly? I'm posting in the Linux Newbie forum for a reason... :newbie:

Jonathan

pljvaldez 05-02-2006 11:13 AM

Here's a tutorial on how to make a swap file in the /opt directory: http://www.netadmintools.com/part1.html

Here's a link to an old RH8 tutorial on how to make either a swap partition or a swap file: http://www.redhat.com/docs/manuals/l...ap-adding.html

2GB is an awful lot of swap. Are you doing some intensive computing? I only have 512MB RAM and almost never swap... If you have at least 1 GB of RAM, you probably don't need more than a 512MB swap space.

jabulani_jonny 05-02-2006 11:17 AM

Hmmm, that's a good question pl, I've just seen that number bandied about and figured WTH. Thanks for the links. I'm headed there now. I'll go with 1 gb swap to compliment 1gb Ram. Thanks again.

Jonathan

Edit: Damn, checked out those links and it'll take me longer to boot into rescue mode and then re-partition than it would to just reinstall Suse. Do you have to go through that to create free space in your Linux part and add a swap part? Apparently Partition Magic won't allow you to resize a Linux Partition, so no luck there. Thanks for the help so far.


All times are GMT -5. The time now is 04:03 AM.