use a script and BIBM to make an image

User discussion and information resource forum for BootIt Bare Metal and BootIt UEFI
Post Reply
now_john
Posts: 23
Joined: Wed Aug 31, 2011 1:15 pm

use a script and BIBM to make an image

Post by now_john »

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.
TeraByte Support(PP)
Posts: 1644
Joined: Fri Aug 12, 2011 12:51 am

Re: use a script and BIBM to make an image

Post by TeraByte Support(PP) »

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
now_john
Posts: 23
Joined: Wed Aug 31, 2011 1:15 pm

Re: use a script and BIBM to make an image

Post by now_john »

Thanks,

That worked perfectly. And now that I have a template it was easy to setup the other drives that I wanted to image.
Post Reply