learning target:
Through this experiment to master the creation and management under Linux swap partition.
Steps:
1, in the second a new hard disk partition 1G, swap type is set to
2, activate the new swap partition, and the boot is automatically enabled new swap
Command:
The first step: disk partition
fdisk -l to see the new hard drive is found
for the swap partition according to the following steps, type 82
Step two: the new partition as swap
NOTE: The new partition must first activate before use by partprobe
The third step: Mount swap
The fourth step: activate the new swap, and view
Before activating only one swap, activated by the swapon -a, you can see the new swap