FDisk stands for "Fixed Disk" utility (not "Format Disk" — that's a common misunderstanding).

On Linux, fdisk It is still used today for managing partitions

A partition is like dividing your hard drive into separate sections (like rooms in a house). Each partition can hold an operating system, files, or backups

Step-by-step guide for adding and mounting a new disk on a Linux virtual machine

  1. Add disk

  2. format disk

  3. create folder

  4. mount

  5. Permanent mount

  6. Add a Disk Go to the Virtual Machine settings in your hypervisor (e.g., VMware, VirtualBox, Proxmox). Click on "Add Disk" and attach a new virtual disk (e.g., /dev/sdc)

  7. Format the Disk using mkfs.ext4 to format the newly added disk command - mkfs.ext4 /dev/sdc ( press enter)

  8. Create a Mount Point (Folder) Create a directory where the disk will be mounted mkdir /mnt/foldername

  9. Mount the Disk (Temporary Mount) Mount the disk to the folder you created command - mount /dev/sdc/mnt/foldername (press enter)

  10. Make the Mount Permanent (Using /etc/fstab) Edit the fstab file to make the mount persist after reboot:

command - vi /etc/fstab

Device | mount point | FS type | Permission | backup | fs check /dev/sdc | /mnt/foldername | ext4 | default | 0 | 2

  1. for unmount command umount /mnt/newdisk