Update 'hard_disk_partition_making_filesystem'

Kaimbacher 2022-07-01 08:28:41 +00:00
parent d612cb1cb4
commit f2d0892c56

@ -9,11 +9,20 @@
## 1.3. Edit the partition table for my chosen device (in this case, "sdb") ## 1.3. Edit the partition table for my chosen device (in this case, "sdb")
`sudo fdisk /dev/sdb` `sudo fdisk /dev/sdb`
Changes will remain in memory only, until you decide to write them. Changes will remain in memory only, until you decide to write them.
Be careful before using the write command. Be careful before using the write command.
Device does not contain a recognized partition table. Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x1c8c9d78. Created a new DOS disklabel with disk identifier 0x1c8c9d78.
1. Type **n** and press Enter.
2. Type **p** and press Enter.
3. Type **1** and press Enter.
4. **Press Enter** to accept the default first sector.
5.** Press Enter** to accept the default last sector.
6. Type **w and press Enter** to write the changes to disk. You should now have a new partition called sdb1.
# 2. Format new partition as type ext4 # 2. Format new partition as type ext4
`sudo mkfs -t ext4 /dev/sdb1` `sudo mkfs -t ext4 /dev/sdb1`