Create a bootable Linux DVD with a self-contained restoration image.
Contents
Altiris® Deployment Solution™ software provides a number of tools to remotely image computers.
On occasion, you might encounter situations where you need to image a computer without network connectivity or you want the image and tools available locally.
This article outlines the process to create a bootable DVD using automation tools and a computer image. With these tools you can quickly and easily restore an image from a bootable DVD.
Figure 1
Click to view.
Figure 2
Due to ramdisk limitations, there is a size constraint on the files that can be included in a boot image.
To get around this, Boot Disk Creator provides a mechanism to mount a folder outside of the ramdisk, letting you to use the full capacity of a boot DVD.
Figure 3
Figure 4
Figure 5
After you have a configuration with the image file added to the "." folder, you can build the DVD image.
Figure 6
cd /mnt/atrsboot ls
Figure 7
./rdeployt -md -f[imagename.img]
Figure 8
Halt
When the computer restarts it contains the image you just deployed.
@echo off Regsvr32 /s netcfgx.dll Factory -minintecho Starting the network... Netcfg -winpe Net start dhcp Net start lmhosts:chooseset choice=set /p choice=Do you want to Install the Image? (y/n)if '%choice%'=='y' goto installif '%choice%'=='Y' goto installif '%choice%'=='n' goto endif '%choice%'=='N' goto endgoto choose:installrdeployt -md -f x:\i386\images\image.exe:end
wscript.sleep(2000)set objscripting = wscript.createobject("wscript.shell")set FSO = createobject ("scripting.filesystemobject")set coldrives = FSO.drivesfor each objdrive in coldrives if objdrive.drivetype=4 then driveletter=objdrive.driveletter answer=MsgBox("Would you like to install the image?",4,"Image install") if answer = 6 then wscript.echo("Enter the Imaging DVD into the "&objdrive&" drive") objscripting.run("cmd /c start "&driveletter&":\rdeployt -md -f "&driveletter&":\image.exe") end if end ifnext
/mnt/atrsboot/rdeployt -md -f[imagename.img]
#!/bin/sh/bin/sh /etc/mounts.local/mnt/atrsboot/rdeployt -md -f[imagename.img]$$RemRdeploy$$ start rdeploy here if we're in rdeploy stand-alone mode