Command syntax netbootloader, Fdisk – Kontron NetBootLoader User Manual

Page 46

Advertising
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 <num>|-d <num>|-n <num>

… <cylStart> <cylEnd>

where:

fdisk

command

-p

option: display data
show geometry and defined partitions

-a

option: set boot flag

<num>

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

-d

option: delete partition

<num>

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

-n

option: create partition

<num>

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

<cylStart>

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

<cylEnd>

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

Advertising