On Tuesday 27 March 2001 08:21, you wrote:
> I have 64 MB SWAP in my Linux Mandarake 7.2 box, i want to make it 125MB,
> can i do it without re installation ? Can i do it without data loss ? i

If you have extra space somewhere else, you don't even have to resize
your partitions if you add secondary swap space as a swap file. Swap files 
are slower than regular swap partitions, but since part of your swap already 
is a partition, you might not notice that much of an impact.

As root do something like:

# dd if=/dev/zero of=/swapfile bs=1M size=64
# mkswap /swapfile
# swapon /swapfile

This sets up, formats, and attaches a 64 meg area called swapfile as 
additional swap space.

If you want to make it available on boot, then you'll also need to add it to 
your /etc/fstab.

-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------

Reply via email to