beautypg.com

Command syntax netbootloader, Fdisk – Kontron NetBootLoader User Manual

Page 46

background image

ID 1022-8317, Rev. 2.0

Command Syntax

NetBootLoader

Page 38

FDISK

FUNCTION:

Create or remove primary partitions on the NAND Flash

SYNTAX:

fdisk -p|-a |-d |-n

where:

fdisk

command

-p

option: display data
show geometry and defined partitions

-a

option: set boot flag

parameter: numeric string
0, 1, 2, 3, 4
set the boot flag on partition and remove it
from the other partitions
when set to 0 (zero) the boot flag is removed from
all partitions

-d

option: delete partition

parameter: numeric string
1, 2, 3, 4
delete the partition specified by

-n

option: create partition

parameter: numeric string
1, 2, 3, 4
specifies the primary partition to be created
the partition type is set to FAT-16

parameter: numeric string
<[n …]n>
start cyclinder for the partition specified

parameter: numeric string
<[n …]n>
end cylinder for the partition specified