Created
March 22, 2020 16:43
-
-
Save Ovis/4985f96b65dfb737ab0af2e4264de359 to your computer and use it in GitHub Desktop.
RaspberryPi4 sudo parted /dev/sda
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
pi@raspberrypi:~ $ sudo parted /dev/sda | |
GNU Parted 3.2 | |
Using /dev/sda | |
Welcome to GNU Parted! Type 'help' to view a list of commands. | |
(parted) mklabel gpt | |
Warning: The existing disk label on /dev/sda will be destroyed and all data on this disk will be lost. Do you want to continue? | |
Yes/No? y | |
(parted) mkpart primary ext4 0% 100% | |
(parted) p | |
Model: SanDisk Ultra Fit (scsi) | |
Disk /dev/sda: 30.8GB | |
Sector size (logical/physical): 512B/512B | |
Partition Table: gpt | |
Disk Flags: | |
Number Start End Size File system Name Flags | |
1 1049kB 30.8GB 30.8GB ext4 primary | |
(parted) q | |
Information: You may need to update /etc/fstab. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment