Re: Increased RAM memory, How do I increase Swap Memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You forgot to specify that the file should be set up
as swap with mkswap(8). IOW, the sequence of commands
is:

dd if=/dev/zero of=/newswapdevice bs=1024 count=131072
mkswap /newswapdevice
swapon /newswapdevice

You will need to add a suitable entry to /etc/fstab if
you want your new area to be mapped in as swap during
boot:

/newswapdevice none swap defaults 0 0

Best Wishes

David Gillies
San Jose
Costa Rica

--- Anticipating a Reply <ruxyz@yahoo.com> wrote:
> Hi ,
> 
>   Create a file of size 128MB using dd(1) .
> Then use swapon(8) to add this file as swap . 
> 
> Cheers !
> 
>  --- Ravi <ravivsn@roc.co.in> wrote: > Hi,
> >  If this is a simple question please bear with me.
> I
> > have increased RAM 
> > memory from 64 to 128 MB, when Installing I have
> > swap partition of 128 
> > MB, now I would like to have 256MB.
> > Is it possible to increase swap memory with out
> > re-installing linux.
> > Note:Version:  Linux-2.4.18-14 , Redhat 8.0 on
> intel
> > 810
> > 
> > Thanks in advance,
> > Ravi
> > 
> > 
> > 
> > 
> > 
> > --
> > Kernelnewbies: Help each other learn about the
> Linux
> > kernel.
> > Archive:      
> > http://mail.nl.linux.org/kernelnewbies/
> > FAQ:           http://kernelnewbies.org/faq/
> >  
> 
>
________________________________________________________________________
> Yahoo! India Mobile: Download the latest polyphonic
> ringtones.
> Go to http://in.mobile.yahoo.com
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux