See the solution below in Explanation. Explanation: Solution: * Create the swap partition: fdisk /dev/sdb partprobe /dev/sdb * Format it for swap: mkswap /dev/sdb2 * Enable it: swapon /dev/sdb2 * Persist it in /etc/fstab: echo "/dev/sdb2 swap swap defaults 0 0" > > /etc/fstab * Verify: swapon --show Detailed Explanation: * mkswap prepares the partition as swap space. * swapon activates it immediately. * Adding an /etc/fstab entry ensures it survives reboot. * The lab uses a partition-based swap workflow.