LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2006, 11:00 AM   #1
jabulani_jonny
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
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...

Jonathan
 
Old 05-02-2006, 11:13 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
 
Old 05-02-2006, 11:17 AM   #3
jabulani_jonny
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
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.

Last edited by jabulani_jonny; 05-02-2006 at 11:39 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiboot system swap part ? Mandle Linux - Newbie 2 04-28-2006 11:22 AM
Partition Hd fr DSL and Win XP p2 What size for part, & swap file beekers Linux - Newbie 4 06-09-2005 10:14 PM
No medium found: cant mount swap part Dark Elf Linux - Hardware 5 06-02-2005 11:52 PM
swap part. question pine0279 Slackware 17 11-18-2003 07:26 AM
swap part. question pine0279 Linux - Hardware 3 07-03-2003 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration