Removing Swap Partition with Mandrake 10

I am running Mandrake 10.0. I currently have 512M or RAM and am increasing RAM to 1 Gig. I notice that the swap is not really used and have read posts indicating that everything would probably run faster, if the Swap was removed. I did see s...




Topic Options
#148494 - 10/19/04 02:13 PM Removing Swap Partition with Mandrake 10
zenarcher Offline
enthusiast

Registered: 10/14/04
Posts: 238
Loc: Miami, Oklahoma USA
I am running Mandrake 10.0. I currently have 512M or RAM and am increasing RAM to 1 Gig. I notice that the swap is not really used and have read posts indicating that everything would probably run faster, if the Swap was removed. I did see some posts talking about removing Swap, but I'm really a newbie and not sure of the exact steps to do so. Could someone help?

Thanks,
zenarcher

Top
Advertisement
#148499 - 10/19/04 04:44 PM Re: Removing Swap Partition with Mandrake 10
zenarcher Offline
enthusiast

Registered: 10/14/04
Posts: 238
Loc: Miami, Oklahoma USA
I figured this one out on my own. A bit scary, being new...but I removed the swap, rebooted and all is working....and a bit faster, I think.

zenarcher

Top
#148547 - 10/19/04 11:55 PM Re: Removing Swap Partition with Mandrake 10
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
Did you also remove or comment out the swap reference in /etc/fstab? This may not be necessary, but will help to keep errors from occuring during boot..although you may not care!

Top
#148557 - 10/20/04 03:56 AM Re: Removing Swap Partition with Mandrake 10
zenarcher Offline
enthusiast

Registered: 10/14/04
Posts: 238
Loc: Miami, Oklahoma USA
No, I did not remove that comment and I'm not quite sure how to do so. Could you please detail the procedure for me? I'm completely new to Linux, so trying to learn this as I go. Also, I see when I look at the partitions, since removing the swap, there is a small area, where the swap was located, now apparently not allocated to anything. Is there some simple way to rectify this? I have rebooted and not seen any errors, but would like to remove the comment you mentioned.

Thanks,
zenarcher

Top
#148573 - 10/20/04 12:10 PM Re: Removing Swap Partition with Mandrake 10
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
What partition tool are you using (did you use) to remove the swap file?

If you have PartitionMagic, you can resize the free space, where swap once was, to take up the empty space.

You can also use the Mandrake install cd to navigate to the partitioning tool, then resize the space under the expert mode. Then back out of the installer.

Qtparted is a partitioning utility for Linux, but I have had some unexpected results with it and do not recommend it.

In terms of commenting-out the entry in /etc/fstab, this is how I do it (other opinions will vary).

1. Go to a console

2. type in su (hit the enter key)

3. type in the root password (hit the enter key)

You now have a root user console, which allows editing easily.

4. type konqueror (hit the enter key)

When the file manager comes up, hit the back button once. This brings you to the main directory. Then navigate to /etc and scroll down to the fstab file and double click on it.

When the file opens, look for the swap entry and place a # in front of the beginning of the line. This tells Linux to ignore the entry. Save the file and your done! If you decide to use it again, you can just remove the # comment.

There is also a editing utility called vi which runs from the command line. But i find newbies find iit cumbersome to use. Takes a little getting used to.

Top
#148576 - 10/20/04 02:05 PM Re: Removing Swap Partition with Mandrake 10
zenarcher Offline
enthusiast

Registered: 10/14/04
Posts: 238
Loc: Miami, Oklahoma USA
I may have done this all wrong...I'm not sure. I'm using Mandrake 10.0. I went into the Configure Your Computer....to a section called Mount Points and removed the Swap there. Initially, when I set Mandrake up on the computer, I let Mandrake automatically create the partitions. Maybe you can guide me from there. Thanks so much for the information on the comment line. I am making notes of all the information and help I get for future reference. It is sincerely appreciated.

zenarcher

Top
#148582 - 10/20/04 03:32 PM Re: Removing Swap Partition with Mandrake 10
Dapper Dan Offline
Pooh-Bah

Registered: 09/27/03
Posts: 1703
Loc: The Sovereign state of South C...
If I may make a suggestion zenarcher, I'd leave it as a swap space and just comment it out as danleff has suggested. You never know when you may need it, and it won't hurt a thing to have it. I keep a swap space because there are two Windows games I play under Cedega which will not install unless they see a swap space. So, I just turn it on by un-commenting it out, install the game, then re-comment out the entry for swap in /etc/fstab.

Another impression of vi: It was the first command line editor I ever used, (that saved my life! ;)) and to me, with vi improved, (vim), it is exceedingly easy to navigate and edit with. you just use the arrows to get where you want to go, press "insert," make your changes and exit by pressing the esc key, then : x [enter] (without the space between : and x ). Done!

Top
#148591 - 10/20/04 05:00 PM Re: Removing Swap Partition with Mandrake 10
zenarcher Offline
enthusiast

Registered: 10/14/04
Posts: 238
Loc: Miami, Oklahoma USA
Thanks for the suggestion. I will follow that one. I have learned about the vi....when I had to install the drivers for my NVIDIA card. I got the instructions from a forum, which explained the vi command, so it came fairly easily, since I didn't know any other way! I'm thankful I was familiar with DOS 5 and 6...worked with them a lot, long ago. While I've forgotten a lot of it, the concept of command line is somewhat familiar....once I know what I'm looking for. Also, a thanks for my copy of "Linux for Dummies."

zenarcher

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
What version of Linux is this?
by DxxLinux
12/15/09 07:59 PM
Anything like HyperCam?
by Luckycharm8989
12/11/09 02:08 PM
Who's Online
1 Registered (Philipp), 185 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91391 Members
24 Forums
59243 Topics
189768 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22