Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Exercise #1 : Viewing existing partitions Switch to root user with the command s

ID: 3738466 • Letter: E

Question

Exercise #1 : Viewing existing partitions Switch to root user with the command su - root To manage partitions, use the /sbin/fdisk command The syntax of the fdisk command is: fdisk device name . Create a directory called lab and make it your working directory Type fdisk /dev/sda Within the fdisk utility type m for a list of menu options at the "Command (m for help):" prompt . Record the (one-character) fdisk command to o displaylist all partitions o create a new partition: ?delete a partition:-- o list partition types o change a partition's system identification: o save changes made to the partition table o exit fdisk without saving Select the option that lists the partition types and record the system id of the following types . "Linux": o "Linux swap.

Explanation / Answer

l is the option to display all the partitions in the drive.

n is the option which adds new partition in the drive.

d is the option to delete the partition.

l is used to see the partition type.

t is used to change the partitions system id.

w is used to save the changes made.

q is the option available which will quit without saving.

To list the partition type and record system id for

Linux :- t

Linux Swap :- t

t is the option in the fdisc command which can list the partition type and let us assign a system id. 83 is for Linux and 82 is for LinuxSwap.