Remote Boot with BpBatch

(c) 1999-2000 Copyright Rembo Technology SaRL - All rights reserved
http://www.bpbatch.org

download remote_boot_with_bpbatch.zip (24,4 Mb)

An introduction to remote-boot
BpBatch reference manual (known as the Linux Remote-boot mini-Howto).
Linux remote-boot quick guide
Windows remote-boot quick guide
Remote-boot glossary
Support
downloads

 

What is BpBatch ?

BpBatch is a versatile remote-boot processor, that can be downloaded for free from the Web. It can perform a large variety of actions on a computer at boot-time, before any operating system operation has started. Actions performed by BpBatch ranges from partitioning hard disk to authenticating users, including a graphical interface. The main feature of BpBatch is the partition cloning facility, which let you create an image of a computer's hard disk partition and then distribute and install this image on a cluster of PC.

How does it works ?

We assume that you are familiar with remote-booting technology. If not, read our remote-boot quick introduction.

BpBatch is a PXE secondary bootstrap. It takes control at an early stage of the boot process of the computer. Most importantly, it takes control before any operating system. This makes possible to handle files without the constraints of locked files or system files as for a user-level software.
BpBatch's loader must be specified as the bootfilename in the DHCP information for the client computer. BpBatch's loader will then use TFTP to retrieve the main BpBatch program from the server.
Once BpBatch is started, it looks for a default script on its network server. Every command found in this script will be executed in order, until the end of the script is reached.
Here is an example of script.

# Comments start with '#'
#
# Say hello
#
Log "Hello"
#
# Go in graphic mode, 1024x768. Then draw a window.
#
InitGraph "1024x768"
DrawWindow 300 300 500 200 "Window title"
#
# Create partitions: 1st for Windows, 2nd for Linux
#
SetPartitions "FAT32:512 linux-ext2:512 linux-swap:32"
#
# Ask for user password, check it
#
:again
DrawText 310 330 "Please enter the password for user bob"
Input password
CheckUser "bob" "$password" "unix"
if "$Security-Check" == "FAILED" goto again
#
# Uncompress a disk image on the hard disk, partition 1
#
fullunzip "win95.imz" 1
#
# Copy a file from the server to the 1st partition
#
copy "autoexec.bat" "{:1}autoexec.bat"
#
# Release memory used by the bootrom, continue the boot process
#
hidebootprom
hdboot :1

The above example show the most valuable features of BpBatch:

 

[ top ]