0% found this document useful (0 votes)
8 views2 pages

Lab6 IS DP PDF

The document outlines a lab assignment for a course on Information Security and Data Protection, focusing on Linux file systems. Students are required to perform tasks such as adding virtual hard disks, creating partition tables, formatting partitions, and understanding the differences between MBR and GPT. It includes detailed instructions on using various console commands for disk management and file system operations.

Uploaded by

abdrahymaset2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Lab6 IS DP PDF

The document outlines a lab assignment for a course on Information Security and Data Protection, focusing on Linux file systems. Students are required to perform tasks such as adding virtual hard disks, creating partition tables, formatting partitions, and understanding the differences between MBR and GPT. It includes detailed instructions on using various console commands for disk management and file system operations.

Uploaded by

abdrahymaset2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Course title: Information security and data protection

Instructor: Adilbekkyzy Sairan

Lab work 6

WARNING: Points WILL NOT BE COUNTED for plagiarism or copying someone


else's work (plagiarism is a violation copyright)

ASSESSMENT: Students are required to demonstrate and receive a grade for their lab
work during class.

Topic. Linux: File systems

Lab practice assignments:

1. Add 2 virtual hard disk to the virtual machine running the Linux operating system (this is
done in the virtual machine settings). VMWare OR VirtualBox.
2. Start a virtual machine running the Linux operating system.
3. Review the fdisk command and its capabilities in the help documentation.
4. For fist disk create a partition table (3 primary and 1 logical) using the fdisk command on
the added virtual disk (usually the /dev/sdb disk).
5. Write changes to disk
6. Check whether partitions have been created using the fdisk command. (You can also
check the creation of partitions using the command ls /dev/sd*)
7. Format the created partitions to the ext4 file system.
8. Review the mount and umount commands and their capabilities in the help
documentation.
9. Mount the created partitions and create arbitrary files there.
10. Install gdisk <sudo apt-get install gdisk>
11. For second disk Create a GPT partition table (5 primary partitions) using gdisk.
12. Format the created partitions to the ext3 file system.
13. Mount the created partitions and create arbitrary files there.
14. Unmount the partitions.
15. Identify the advantages and disadvantages of MBR and GPT partition tables.

Instructions and Recommendations:

Before you get started, learn about the LINUX file system.

Console commands:
fdisk <parameters> - Console program for managing disks (Works only with MBR).
gdisk<parameters> - a disk management utility. It allows us to create, manage, and delete
standard GPT partitions on Linux.
lsblk <parameters> - list block devices
dd <parameters> - Console program for copying data.
mkfs.<file system type> <disk partition> - A class of console commands for creating file
systems on partitions.
mount -t <file system type> <disk partition> <mount point> - Console program for
mounting hard disk partitions.
umount /path/to/mount/point - Unmounting a disk in Linux means disabling access to the
file system that resides on that disk.

More information:
How to Create Partitions in Linux
Create a Partition in Linux - A Step-by-Step Guide
Manage Linux Disk Partition with gdisk Command

You might also like