Moxa UC-8410A-T-LX [85/86] Creating a new partition

Moxa UC-8410A-T-LX [85/86] Creating a new partition
UC-8410A Series Linux Software Copying Images on an SD Card
C-4
l list known partition types
n add a new partition
p print the partition table
t change a partition type
v verify the partition table
Misc
m print this menu
u change display/entry units
x extra functionality (experts only)
Save & Exit
w write table to disk and exit
q quit without saving changes
Create a new label
g create a new empty GPT partition table
G create a new empty SGI (IRIX) partition table
o create a new empty DOS partition table
s create a new empty Sun partition table
Command (m for help):
Creating a New Partition
Use the n command to create a new partition for the mSATA storage device. You need to select the partition type and
partition number, and then determine where the sector begins and ends as shown in the example below. Alternatively,
you can simply use the default values for these parameters.
#fdisk /dev/sda
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partition)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-35651583, default 2048): 2048
Last sector, +sectors or +size {K,M,G,T,P} (2048-35651583, default: 35651583):
Created a new partition 1 of type ‘Linux’and of size 17 GiB.
Command (m for help): w
Use the
w command to save the settings.
Deleting an Existing Partition
If you want to delete an existing partition on the mSATA drive, use the d command. Select the partition number for the
partition that you want to delete as in the following example:
#fdisk /dev/sda
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): w

Содержание

Скачать