use a script and BIBM to make an image

User discussion and information resource forum for BootIt Bare Metal.

use a script and BIBM to make an image

Postby now_john » Thu Jan 12, 2012 1:03 pm

Can some tell me how to make a tbs script out of the line below?

c:\image.exe /b /uy /ui /d:d0@0x80 /f:d0@0x8281:"\2$~MM$$~DD$A-$~HHMM$" /max:4GiB /skp:0 /skh:0 /v /vb /comp:2

After that I plan to save it to the BIBM partition and run bootnow to run the script.
now_john
 
Posts: 23
Joined: Wed Aug 31, 2011 6:15 am

Re: use a script and BIBM to make an image

Postby TeraByte Support(PP) » Thu Jan 12, 2012 3:37 pm

The easiest way is usually to just save the script file directly from IFD GUI. Go through the steps to create the backup and select the Show Command button on the options screen. Then check the Save to File box and click OK. You can edit the line as necessary (e.g. add the "/uy /ui" options) and then save it to a file. Specify the .tbs extension and it will be saved as a TBS script.

It should be something like this:

Code: Select all
sub main()
     exec("C:\IMAGE.EXE /b /uy /ui /d:d0@0x80 /f:d0@0x8281:^"\2$~MM$$~DD$A-$~HHMM$^" /max:4GiB /skp:0 /skh:0 /v /vb /comp:2",1)
end sub
Paul Purviance
TeraByte Support
TeraByte Support(PP)
 
Posts: 1106
Joined: Thu Aug 11, 2011 5:51 pm

Re: use a script and BIBM to make an image

Postby now_john » Thu Jan 12, 2012 6:56 pm

Thanks,

That worked perfectly. And now that I have a template it was easy to setup the other drives that I wanted to image.
now_john
 
Posts: 23
Joined: Wed Aug 31, 2011 6:15 am


Return to BootIt Bare Metal

cron