1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| root@panabit[ ~ ]# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.35.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0x010f447f.
Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): First sector (2048-625142447, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-625142447, default 625142447): 64G Value out of range. Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-625142447, default 625142447): +64G
Created a new partition 1 of type 'Linux' and of size 64 GiB.
Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p):
Using default response p. Partition number (2-4, default 2): First sector (134219776-625142447, default 134219776): Last sector, +/-sectors or +/-size{K,M,G,T,P} (134219776-625142447, default 625142447):
Created a new partition 2 of type 'Linux' and of size 234.1 GiB.
Command (m for help): w The partition table has been altered. Calling ioctl() to re-read partition table. Syncing disks.
|