1.

How To Set Up Swap Partition?

Answer»

Steps involved in SETTING up swap partition:

  • CREATE a partition using a partitioning program (fdisk/sfdisk/parted) 
  • Set partition id type to 0x82.
  • Create the signature on the partition using the mkswap command
  • # mkswap -v1 /dev/hdb3
  • Add an ENTRY for the swap in /etc/fstab file as:
  • /dev/hdb3 swap swap defaults 0 0
  • Activate the swap partition using
  • # swapon -a
  • Check the swap partition STATUS using
  • # swapon -s

Steps involved in setting up swap partition:



Discussion

No Comment Found