SmartSetup Scripting Toolkit Deployment Guide for HP Integrity Servers with Microsoft Windows Server 2003 for Itanium-based Systems
Table Of Contents
- SmartSetup Scripting Toolkit Deployment Guide
- Table of Contents
- About This Document
- 1 Overview
- 2 Creating a server profile
- 3 Setting up the toolkit environment
- 4 Setting up the boot mechanism
- Using a bootable CD/DVD
- Using a USB flash device
- Using network boot
- Interrupting the SSTK deployment process
- 5 Utilities Reference
• 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
- msftres : Set MSRES Partition GUID
The accepted value to state is “on” or “off”.
• 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
80 Utilities Reference