Bootwiz command line parameters
search cancel

Bootwiz command line parameters

book

Article ID: 266320

calendar_today

Updated On:

Products

Deployment Solution Ghost Solution Suite

Issue/Introduction

Bootwiz.exe command line parameters for Ghost Solution Suite and Deployment Solutions

Resolution

Usage:

bootwiz <switches and options>

 

Switches/Commands:

-install <os> <processor> <path(s)>

install pre-boot OS files (-os, x86, x64, ia64, -rootpath)

-package <pkgos> <pkgcpu> <os> <processor> <paths(s)>

Create an automation partition installer package (-pkgos, pkgcpu,  -taskinstall, task, -os, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete,, rootpath, -create)

-pxeinstall <os> <bdc> <path(s)>

Create a PXE boot image (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-pxe

Create a PXE boot configuration  (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-iso <os> <bdc> <path(s)>

Create an ISO boot image (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-disk <os> <bdc> <path(s)>

Write to a disk device  (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-files <os> <bdc> <path(s)>

Place boot files in order (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-floopy <os> <bdc> <path(s)>

Write to a floppy disk (-os, -task, -x86, -x64, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create, -nonetboot)

-config <os> <bdc> <path(s)>

Create a boot configuration  (-os, -task, -bdc, -cfg, -oem, -include, -save, -delete, -rootpath, -create)

-havedisk <src> <os> <path>

Install a preboot OS driver  (-os, -path, -x86, -x64, ia64, -force, -rootpath)

-driver {[src] | <path>} [<cmd>] <os> ,path>

Add, List,or Delete preboot OS drivers (-add, -list, -delete, -xml, -os, -path, ,-x86, -x64, -ia64, -rootpath, -pkgcpu, -oem, -source,, -force)

( accepted options are noted at end in ( ); [ ] indicates optional items; < >indicated optional spelling )

 

-Options:

-oem <oem> *OEM name to use as an override
-include <file> *Include folder to add to boot image
-bdc <file> *BDC file to get setting from
-cfg <file> *CFG file to get settings from
-pkgos <pkgos> Specify package OS type (windows, wince, winpe)
-pkgcpu <processor> Specify package processor type (x86, x64, ia64)
-os <os> Specify preboot OS type (dos, freedos, msdos, linux, winpe16, winpe21, winpe20, winpe40, winpe50, winpe100, winpe110, lin)
-taskinstall <task> Specify installer task type (ebwinstall, hbwinstall, bwuninstall, folderinstall, folderuninstall)
-task <task> Specify driver source type (automation, network, standalone,  master, client)
-source  <task> Specify driver source type (base, standard, custom, all)
-rootpath <path> Path to base for other paths
-path <path(s)> Path to boot image or pre-boot files
-x86 <path(s)> Path to x86 boot image or pre-boot files
-x64 <path(s)> Path to x64 boot image or pre-boot files
-ia64 <path(s)> Path to ia64 boot image or pre-boot files
-create Always create a new configuration
-delete Delete driver , or delete OEM
-nonetboot Disable the 'Network boot' option
-save Save override values in configuration
-add Add driver, or add OEM to OEM list
-force Force some action to occur
-list List drivers or OEMS
-xml Generate list in XML format
-lang <lang code> *Specify the language code for the user interface
-quiet *Don't display the UI or errors
-progress *Display progress dialog
-cancel *Displays progress dialog with Cancel button

( * indicates options that can be used with any command; [ ] indicates optional items; < > indicates optional spelling )

 

Process exit codes:

0 BDC_SUCCESS - Succes
2 BDC_EXIT_PARSE_CMDLINE_ERROR - Error parsing command line
3 BDC_EXIT_ERROR_PERFORMING-CMD - Error performing command
26 BDC_EXIT_CREATE_CONFIG_FILES - Error creating configuration files
27 BDC_EXIT_CREATE_BOOTFILE - Error creating boot file
28 BDC_EXIT_NO_DOS_AVAILABLE - No DOS files are available
29 BDC_EXIT_NO_LINUXX86_AVAILABLE - No Linux X86 files are available
32 BDC_EXIT_NO_WINPE86_AVAILABLE - No WinPE X86 files are available

 

Examples:

bootwiz -install -os msdons -x86 d:\

bootwiz -install -os winpe16 -x86 d:\ d:\

bootwiz -install -os msdos -rootpath \pxe\masterimages\menuoption160 -bdc bdc\menuoption160.bdc -x86 x86pc

bootwiz -pxeinstll -os msdos -rootpath  \pxe\masterimages\menuoption160 -bdc bdc\menuoption160.bdc -x86 x86pc