You recently upgraded your computer and added an extra 512 MB of RAM. Consequently, you want to increase your swap space by adding a new swap area. The second hard disk has an unused partition (/dev/sdb2) that you want to format for the swap area. In this lab, your task is to: Create a swap partition on /dev/sdb2. Activate the swap partition.

Respuesta :

Limosa

Answer:

Following are the answers of the question.

  • mkswap /dev/sdb2
  • swapon /dev/sdb2

Explanation:

Firstly we have to generate the swap partition on the following directory then we have the following command for the swap partition that is :

mkswap /dev/sdb2

Then, we have to activate the following swap partition after generating the swap partition by using the following commands that is :

swapon /dev/sdb2

So, the following commands is correct for creating or activating the swap partition according to the following scenario.