diff --git a/hard_disk_partition_making_filesystem.md b/hard_disk_partition_making_filesystem.md index 5d08b7b..3c1851c 100644 --- a/hard_disk_partition_making_filesystem.md +++ b/hard_disk_partition_making_filesystem.md @@ -1 +1,10 @@ -Welcome to the Wiki. \ No newline at end of file +# 1. Create and format a hard disk partition + +## 1.1. View detected devices of class "DISK" +`sudo lshw -C disk` + +## 1.2. View existing partition table(s) +`sudo fdisk -l` + +# 2. Format new partition as type ext4 +`sudo mkfs -t ext4 /dev/sdb1` \ No newline at end of file