0% found this document useful (0 votes)
27 views

Fdisk Process

The document describes the process of using fdisk to manage partitions on a disk. It outlines steps to view existing partitions, create a new partition, update the partition table, create a filesystem on the partition, mount the filesystem, edit fstab to automount on reboot, unmount the filesystem, and delete a partition. The key steps are using fdisk to create/delete partitions, mkfs to format it, mount/umount to access it, and editing fstab to persist the mount point.

Uploaded by

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

Fdisk Process

The document describes the process of using fdisk to manage partitions on a disk. It outlines steps to view existing partitions, create a new partition, update the partition table, create a filesystem on the partition, mount the filesystem, edit fstab to automount on reboot, unmount the filesystem, and delete a partition. The key steps are using fdisk to create/delete partitions, mkfs to format it, mount/umount to access it, and editing fstab to persist the mount point.

Uploaded by

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

fdisk process

1. fdisk l shows available partitions


2. Use fdisk /dev/sda verify available partitions with p and enter n to create a
new partition specify if the partition is primary or logical,the number of the
partition, the sector to be used and the size of the partition. Finally use w to save
changes.
3. Use partprobe /dev/sda to update the partition table.
4. Create the file system using mkfs t ext3 /name of partition or mkfs.ext3
/name of partition.
5. Create a new directory using mkdir and create a mount in the directory using
mount /name of partition /name of directory to check if the filesystem was
mounted use the df h command.
6. Edit the fstab using any text editor and enter the information of the filesystem,
the options, if you would like to use dump and the order of pass.

7.) To remove the file system first unmount it with the umount /name of the
filesystem command.
8.) Use fdisk /dev/sda and enter d to erase the partition you select finally use
w to keep changes and partprobe to update the partition table.

You might also like