HP Integrity Superdome SX1000 SmartSetup Scripting Toolkit Deployment Guide: H - Page 81

Service Partition use, HP Service Partition

Page 81 highlights

• To create a new GPT partition table in /dev/sda device: parted -s /dev/sda mklabel gpt • To create a partition with 100 MB, starting in LBA 0 and finalizing in LBA 100 in /dev/ cciss/c0d0 device: parted -s /dev/cciss/c0d0 mkpart 0 100 • To set the ESP partition GUID in the first partition on the table: parted -s /dev/cciss/c0d0 set 1 boot on • To set the name of the second partition of the /dev/cciss/c0d0 partition table to "HP Service Partition" use: parted -s /dev/sda name 2 "HP Service Partition" parted 81

  • 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 create a new GPT partition table in
/dev/sda device
:
parted -s /dev/sda mklabel gpt
To create a partition with 100 MB, starting in LBA 0 and finalizing in LBA 100 in
/dev/
cciss/c0d0 device
:
parted -s /dev/cciss/c0d0 mkpart 0 100
To set the ESP partition GUID in the first partition on the table:
parted -s /dev/cciss/c0d0 set 1 boot on
To set the name of the second partition of the
/dev/cciss/c0d0
partition table to “HP
Service Partition” use:
parted -s /dev/sda name 2
HP Service Partition
parted
81