Linux 2
Linux 2
- 2
Aim/Overview of the practical: Create, remove, and resize various types of partitions through GUI
and command line using fdisk,gdisk, mkfs, mount.
Objective:The objective of the practical is to create, remove and resize various types of partitions using
gdisk, mkfs, mount.
Steps:
1.
Lists all available block devices (disks and partitions) to identify the device you want to work on.
Purpose: To view the disk structure.
2.
Opens the fdisk utility for managing partitions on the /dev/sda3 disk.
Purpose: To create or modify partitions on the disk.
3.
Displays a help menu with available fdisk commands. Purpose: To see what options are available for
disk partitioning.
4.
Displays the partition table for /dev/sda3. Purpose: To check the existing partitions on the disk.
5.
Creates a new partition. Purpose: To add a new partition to the disk.
8.
Allocates 1 GB for the new partition. Purpose: To specify how much space the partition should take.
9. Writes the partition changes to the disk and exits fdisk. Purpose: To save
the changes made to the partition table.
11.
Creates a directory where the new partition will be mounted. Purpose: To establish a mount point for
accessing the partition.
13. lsblk: Rechecks the block devices to confirm the partition is mounted. Purpose: To verify that the
partition is correctly mounted and accessible.
2. I understood how to create and mount a new partition, making it accessible through the file system.
3. I gained practical experience in managing storage devices and performing disk operations in Linux.
Evaluation Grid:
Sr. No. Parameters Marks Obtained Maximum Marks
1. Demonstration and Performance 12
2. Worksheet 8
3. Viva 10