Yup, I see the error indeed: A Run Scripts cmd prompt: Something about scriptslist.txt empty or no scripts found LOL
Brian, I didn't notice the time in the clock, haven't you been awake for all night long in your timezone? If so, then I'm sorry for that man. Pfff!!!
Great. Lets try a script. Create a folder called Validate. It can be anywhere. Create a text file in the folder and paste this.. Code: @echo off CD /d %~dp0 set TBOSDT=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win "%TBOSDT%\tbosdtw.exe" type.tbs echo. pause start "" "C:\Program Files\EasyUEFI\bin\easyuefi.exe" Save it as type.cmd Create a text file in the folder and paste this.. Code: sub main() ext("open fs 0: 0 0x07") ext("del file 0:\scripts\scriptslist.txt /y") ext("SET TEXTLINE 0:\scripts\scriptslist.txt ^"Validate Recovery partition.tbs^"") printl("") ext("type 0:\scripts\scriptslist.txt") ext("close fs 0:") end sub Save it as type.tbs Right click type.cmd and Run as Admin. You should see Validate Recovery partition.tbs in the Command Window. Press any key and EasyUEFI opens Select IFL, click Set/Unset one-time boot. Power, Reboot, Yes. Does the Validate run?
I forgot, you might get an error. If so go to C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win Right click tbosdtw.exe (and tbosdtw64.exe), Properties, Compatibility tab, put a tick in Run this program as an administrator. OK. etc
No it doesn't but it's due to the lack of win10.tbi file. Now I recall I deleted it when re-doing partitions But I truly believe it Works as it said: Please insert media containing file1 /win10.tbi or alike.
Brian, do you know how to edit this line in order to Validate image (four partitions) prior restoration? Code: sub main() exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4 --rb:4", 1) end sub
Create a folder called Backup. Copy your type.cmd and type.tbs into the folder. Edit your type.tbs to.. Code: sub main() ext("open fs 0: 0 0x07") ext("del file 0:\scripts\scriptslist.txt /y") ext("SET TEXTLINE 0:\scripts\scriptslist.txt ^"Backup.tbs^"") printl("") ext("type 0:\scripts\scriptslist.txt") ext("close fs 0:") end sub Run type.cmd as Admin, etc. The backup should happen.
On a side note I think there's need for cmd lines support on EasyUEFI to skip the GUI and everything goes in auto mode, lol
Nice. I think I'll say goodbye to $30.00 dollars one of these days, hehe. Hey but very well invested... It happened indeed.
For safety, that is running the wrong scriptslist, can you change your IFL scripts to... (--rb:4 has been removed and a few other lines) Give IFL a drive letter and edit your tbs files Code: sub main() exec("/tbu/imagel --b --uy --d:l0@0x1,0x2,0x3,0x4 --f:l0@0x6:^"/win10^" --v", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub Code: sub main() exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub Code: sub main() exec("/tbu/imagel --v --f:l0@0x6:^"/win10^" --sp:0x1", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub
Code: exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4 --v --rb:4", 1) So Code: sub main() exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4 --v", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub
I did that one like this: exec("/tbu/imagel --v --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4", 1) Is it good?
You understood right Brian. I am adding four partitions to a separate script. So I have validation for restore operation and a separate one too.
So please take a look or final check to my scripts please: Backup Code: sub main() exec("/tbu/imagel --b --uy --d:l0@0x1,0x2,0x3,0x4 --f:l0@0x6:^"/win10^" --v", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub Restore Code: sub main() exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4 --v", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub Validate Code: sub main() exec("/tbu/imagel --v --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub
OK. In Restore.tbs you can remove --v if you don't want it. It's a personal choice. Code: sub main() exec("/tbu/imagel --r --uy --d:l0 --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4", 1) ext("del file /tbu/boot/scripts/scriptslist.txt -y") exec("reboot") end sub
I am adding four partitions to a separate script. So I have validation for restore operation and a separate one too, it's fine that way Brian. In other words validation for restore operation is good Brian, lol
Create another .tbs in the scripts folder. Call it IFL_GUI.tbs Code: sub main() exec("/tbu/imagel", 1) end sub The script to boot this will be... Code: sub main() ext("open fs 0: 0 0x07") ext("del file 0:\scripts\scriptslist.txt /y") ext("SET TEXTLINE 0:\scripts\scriptslist.txt ^"IFL_GUI.tbs^"") printl("") ext("type 0:\scripts\scriptslist.txt") ext("close fs 0:") end sub It just runs IFL.
So you will need a folder for Restore and a folder for IFL. Each folder will contain a relevant type.cmd and type.tbs. Only the latter need be edited. If you pay $30 then type.cmd for each folder would be.. Code: @echo off CD /d %~dp0 set TBOSDT=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win "%TBOSDT%\tbosdtw.exe" type.tbs echo. pause start "" "C:\Program Files\EasyUEFI\bin\easyuefi.exe" --one-time-boot --index 1 shutdown -r -t 0