02-26-06 04:32 PM
carl (aliceinchains_@hotmail.com) writes:
>Thanks scott,
>
>I inputted what you wrote at the terminal and it output nothing.
>any more ideas?
>
>I formatted a SWAP partition during the install, I don't know why it isn't
>showing up?
>how do I make the swap active?
>
>Thanks
First, identify your swap partition:
# fdisk -l /dev/sda
Disk /dev/sda: 255 heads, 63 sectors, 4425 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 257008+ 83 Linux
/dev/sda2 33 163 1052257+ 82 Linux swap
/dev/sda3 164 2203 16386300 83 Linux
/dev/sda4 2204 4425 17848215 83 Linux
Then, add a line in your /etc/fstab like:
/dev/sda2 swap swap defaults 0 0
Then,
# swapon -a
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda2 partition 1052248 70256 -1
# man swapon
# man mkswap
scott
[ Post a follow-up to this message ]
|