Created
August 28, 2024 08:49
-
-
Save Max95Cohen/2c236fe99bf0e4ba981c584be3544319 to your computer and use it in GitHub Desktop.
Create partition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create new partition | |
sudo fdisk /dev/sda | |
# in fdisk console | |
n - add a new partition | |
p - print the partition table | |
w - write table to disk and exit | |
q - quit without save changes | |
# make file system | |
sudo mkfs.ext4 /dev/sda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment