Running IFL on UEFI without a Boot Disk

Discussion in 'backup, imaging & disk mgmt' started by Mr.X, Oct 2, 2016.

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    Yup, I see the error indeed:
    A Run Scripts cmd prompt:
    Something about scriptslist.txt empty or no scripts found LOL
     
  2. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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!!!
     
  3. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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?
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    It's 1044 here. Morning.
     
  5. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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
     
  6. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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 :argh:
    But I truly believe it Works as it said: Please insert media containing file1 /win10.tbi or alike.
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    Sounds good. Standby and I'll get you a backup script.
     
  8. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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.
     
  10. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    Standby. I'll do this after you have created the backup.
     
  11. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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
     
  12. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    There are but it costs $30. I used the Trial and it does work.
     
  13. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    Nice. I think I'll say goodbye to $30.00 dollars one of these days, hehe. Hey but very well invested...

    It happened indeed. :thumb:
     
  14. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    Looks good. I have the command lines when (or if) you need them.
     
  15. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    Please I need them for validate four partitions... thanks.
     
  16. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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
     
  18. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    I did that one like this:
    exec("/tbu/imagel --v --f:l0@0x6:^"/win10^" --sp:0x1,0x2,0x3,0x4", 1)

    Is it good?
     
  19. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    Should be OK. I misunderstood earlier. Though you wanted --v with the restore.
     
  20. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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.
     
  21. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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
    
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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
     
  23. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,792
    Location:
    .
    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
     
  24. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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.
     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,113
    Location:
    NSW, Australia
    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 
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.