HP Integrity rx1620 SmartSetup Scripting Toolkit Deployment Guide: HP Integrit - Page 80

Set ESP Partition GUID

Page 80 highlights

• To print general help, or help on COMMAND: help [COMMAND] • To create a new disk label (partition table): mklabel PARTITION_TYPE The supported values for PARTITION_TYPE are: gpt, bsd, mac, dvh, msdos, pc98, sun, amiga, loop • To make a file system FTYPE on partition MINOR: mkfs MINOR FTYPE FTYPE is file system type: fat16, fat32, ext2 and linux-swap. • To create a partition: mkpart PTYPE START END PTYPE is partition type: primary, logical or extended. For GPT partition table only "primary" is used. • To create a partition with a file system: mkpartfs PTYPE FTYPE START END PTYPE is partition type: primary, logical or extended. For GPT partition table only "primary" is used. FTYPE is file system type: fat16, fat32, ext2 and linux-swap. • To move a partition MINOR: move MINOR START END • To name a partition MINOR to NAME: name MINOR NAME • To display a partition table, or a partition: print [MINOR] • To exit: quit • To recovery a lost partition near START and END: rescue START END • To resize a file system on partition MINOR: resize MINOR START END • To delete partition MINOR: rm MINOR • To select the device to edit: select DEVICE • To change a flag on partition MINOR: set The relevant flags are: - - boot : Set ESP Partition GUID - - hidden : Hidden partition - - hp-service : Set HPSP Partition GUID The accepted value to state is "on" or "off". 80 Utilities Reference

  • 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
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85

To print general help, or help on
COMMAND
:
help [COMMAND]
To create a new disk label (partition table):
mklabel PARTITION_TYPE
The supported values for PARTITION_TYPE are: gpt, bsd, mac, dvh, msdos, pc98, sun,
amiga, loop
To make a file system
FTYPE
on partition
MINOR
:
mkfs MINOR FTYPE
FTYPE is file system type: fat16, fat32, ext2 and linux-swap.
To create a partition:
mkpart PTYPE START END
PTYPE is partition type: primary, logical or extended. For GPT partition table only “primary”
is used.
To create a partition with a file system:
mkpartfs PTYPE FTYPE START END
PTYPE is partition type: primary, logical or extended. For GPT partition table only “primary”
is used.
FTYPE is file system type: fat16, fat32, ext2 and linux-swap.
To move a partition
MINOR
:
move MINOR START END
To name a partition
MINOR
to
NAME
:
name MINOR NAME
To display a partition table, or a partition:
print [MINOR]
To exit:
quit
To recovery a lost partition near
START
and
END
:
rescue START END
To resize a file system on partition
MINOR
:
resize MINOR START END
To delete partition
MINOR
:
rm MINOR
To select the device to edit:
select DEVICE
To change a flag on partition
MINOR
:
set <
MINOR
> <
FLAG
> <
STATE
>
The relevant flags are:
-
boot
: Set ESP Partition GUID
-
hidden
: Hidden partition
-
hp-service
: Set HPSP Partition GUID
The accepted value to state is “on” or “off”.
80
Utilities Reference