Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
SmartSetup Scripting Toolkit Deployment Guide: HP Integrity Servers with Linux > Chapter 4 Setting Up the Toolkit Environment

Editing the linux-setup.sh Script

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

The linux-setup.sh script starts the Linux installation process after it partitions the hard disk, and then it copies the OS files into the appropriate partitions.

The script performs the following operations:

  1. Creates four partitions: EFI System Partition (ESP), HP Service Partition (HPSP), the Linux-swap partition, and the Linux partition.

  2. Formats these partitions.

  3. Copies the Linux distribution boot files to the ESP partition.

  4. Updates the unattended files.

  5. Creates a new boot option in the EFI boot manager, which starts the Linux Setup process.

  6. Reboots the server.

NOTE: The parted utility uses decimal, instead of binary, units to measure disk size. This means that the parted command treats 1 KB as 1000 bytes, 1 MB as 1000 KB, and 1 GB as 1000 MB. Other programs calculate this conversion based on multiples of 1024 (2^10). As a result, when you specify a size as an argument to the parted command, the actual size is slightly less than you expect.

Multiply a factor of 1.0464 (1.024 x 1.024) to the size in MB of the partition you want to have. Then add it to the start of the partition (to account for the other partitions).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007–2008 Hewlett-Packard Development Company, L.P.