Running IFL on BIOS without a Boot Disk

Discussion in 'backup, imaging & disk mgmt' started by Mr.X, Feb 6, 2016.

  1. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    IFL.ini will create "defaults" in IFL Settings and Options. Mainly for manual use. Your script will over-ride these "defaults". I'd make the script...

    Code:
    sub main()
      exec("/tbu/imagel --r --uy --um --d:l0@0x1 --f:l0@0x246:^"/win7x64^" --v --t --rft --log:0 --rb:4 --nvn:^"^"", 1)
    end sub
    --comp:14 is for backups
     
    Last edited: Feb 13, 2016
  2. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    If you want IFL to write a log to your HD you can adapt my script.
    /dev/sdd1 is the partition where the log will be written.

    Code:
    sub main()
      exec("ntfs-3g /dev/sdd1 /mnt")
      exec("/tbu/imagel --r --uy --um --d:l0 --f:l1@0x1:^"/Images/10_01^" --logfile:/mnt/Images/RESTORE.LOG", 1)
      exec("umount /mnt")
      exec("shutdown -r")
    end sub
    
     
  3. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Thanks for this.
     
  4. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Then I can infer to leave IFL.ini in blank and just make use of my scripts, right? I believe if I was going to work manually most likely will do it from a USB stick.
     
  5. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    I haven't tested this but I agree. You could leave IFL.ini blank. The product key will be added to IFL.ini (in the .bin file) when you run setupifl.bat.
     
  6. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Now I edited this ifl_boot.cfg file:

    Code:
    RUNSCRIPTS=(BACKUP.tbs RESTORE.tbs)
     
  7. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    I'll test it, don't worry LOL. If I don't get back with something on this then it means it worked leaving it blank.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    To look at the contents of the .bin file and IFL.ini, run tbosdtw.exe

    open fs 0: C:\IFLBOOT\ifl.bin
    0:
    dir
    type IFL.ini
    close fs 0:
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    I don't think that will work. Both scripts will run. One after the other.
     
  10. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Alright then how to setup this for either backup or restore?
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    I think you will need 2 ifl.bin. Say in...

    C:\IFLBOOT
    C:\IFLBOOT_backup
     
  12. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Ok I'm going to work and make some tests on this.
     
  13. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    I need to go for the time being Brian so once again, many thanks for your time and invaluable help.
     
  14. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    You could use a single ifl.bin containing multiple .tbs scripts (in the ifl_scripts folder) and keep updating ifl_boot.cfg in the .bin
    But it's probably easier to have several different ifl.bin

    open fs 0: C:\IFLBOOT\ifl.bin
    copy file D:\iflsetup\ifl_boot.cfg 0: /y
    type 0:ifl_boot.cfg
    close fs 0:
     
  15. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    I did it the n00b way :D:
    To maintain IFL_backup & IFL_restore separate folders, tested. Haven't tried your procedure though. I think my way can do it faster when it comes to edit scripts RESTORE.tbs and BACKUP.tbs for different partition signatures on different scenarios/machines. What do you think?
     
    Last edited: Feb 13, 2016
  16. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    Your way is fine.
     
  17. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Thanks, I appreciate you bear with me...
     
  18. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Do you think it's time to address UEFI and GPT disks?
     
  19. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    I wouldn't use bootfile with UEFI systems. With my UEFI system I have a single IFL UFD which boots to a menu. I have about 10 scripts in the menu.
     
  20. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Oh it's a shame as I wish to boot IFL without a boot disk.
     
  21. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    As I mentioned earlier, TBWinRE bootfile works in my UEFI test computer but IFL bootfile doesn't. Bootfile was designed for Legacy systems.

    MudCrab might have a method of booting IFL from the HD.
     
  22. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Ah ok. I think before I ask for his help I'm going to take a look at Terabyte site or google.
    Thank you and have a nice day.
     
  23. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    MisterX,

    I have a method where IFL is installed on the HD (UEFI system) but it has to be booted from the BIOS boot menu. You indicated this isn't what you desire. MudCrab has a slick method of installing TBWinRE on the HD and booting it from Windows. Maybe start a new thread and see if that method is suitable.

    For me, I'm going back to booting an IFL UFD with a scripts menu. It is the easiest even though it might take 10 seconds longer.
     
  24. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,804
    Location:
    .
    Alright thank you.

    Btw could you suggest a title for the thread, I ran out of ideas.
     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    How about "TBWinRE" on the HD: UEFI system"
     
  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.