[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Increasing the swap partition
From: |
Andrew Clausen |
Subject: |
Re: Increasing the swap partition |
Date: |
Tue, 23 Oct 2001 07:15:07 +1000 |
User-agent: |
Mutt/1.2.5i |
On Mon, Oct 22, 2001 at 02:23:30PM -0400, James Trickel wrote:
> (parted) print
> Disk geometry for /dev/hda: 0.000-38166.679 megabytes
> Disk label type: msdos
> Minor Start End Type Filesystem Flags
> 1 0.031 15.688 primary ext2 boot
> 2 15.688 38162.219 extended
> 5 15.719 149.040 logical linux-swap
> 6 149.071 38162.219 logical ext2
>
> 1=/boot
> 5=swap
> 6=/
>
> I would like to increase the swap from 136M to at least 1G.
(parted) resize 6 149 37000
(parted) mkpartfs logical linux-swap 37001 38166
You can keep partition 5 as swap, just it's a long way from the other one,
so it's prolly best to simply not use it.
Andrew