VectorLinux
October 21, 2014, 08:23:36 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Mounting Swap Partition  (Read 1212 times)
bgraybr
Member
*
Posts: 17


« on: August 10, 2009, 06:18:57 pm »

I installed Vector Linux, but forgot to make a swap partition.
My computer is working, but its slow. I've had my computer freeze up completely several times when I had more than one program opened.

I used my Gparted live CD to make a swap partition, but when I try to mount it using VASM I get an error: "Unable to mount dev/hda2, try formatting?"

No tried reformatting the partition but keep getting the same error.
Logged
nightflier
Administrator
Vectorian
*****
Posts: 4026



« Reply #1 on: August 10, 2009, 06:43:21 pm »

Here is a good guide on how to manually enable swap, as well as how to edit your fstab for automatic operation.
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html
Logged
M0E-lnx
Administrator
Vectorian
*****
Posts: 3184



« Reply #2 on: August 10, 2009, 07:15:38 pm »

You dont mount swap partitions you just nable them
Code:
mkswap /dev/hda2
swapon /dev/hda2

and to make sure it loads up at boot
Code:
echo "/dev/hda2 none swap sw 0 0" >> /etc/fstab

Do all that as root
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!