IFL without boot disk (Windows) - Destroys UEFI boot entry?
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
Thanks Brian, waiting for it
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
highend,
Got home last night. Still interested?
Got home last night. Still interested?
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
Yeah, absolutely!
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
I've been using this IFL restore method for years. I'm really happy with it. Here are my scripts. You will need to edit them. You need BIU and an IFL partition.
When you make the IFL UFD, select...
Traditional - You have control over options. (Custom)
Leave Boot Drive Mounted as /tbu/boot
Run List - Run Scripts Listed in scriptslist.txt
In BootIt, copy the UFD partition to Free Space on your SSD. You can resize the IFL partition to 150 MiB
Create an IFL Boot Item
In Windows, create type.cmd and type.tbs and IFL.cmd
Create the BOOTNOW folder
Make sure BootNow Support is enabled in BootIt
type.cmd is...
.
.
.
type.tbs is...
.
.
.
IFL.cmd is...
.
.
.
restore_brian_.tbs is in the IFL scripts folder...
You create this file in IFL (Restore menu) and add the extra lines using the Editor icon
.
.
.
Win11boot.sh is in the IFL scripts folder...
Create this in IFL Editor
Save in /tbu/boot/scripts
I previously created the bn folder in scripts folder and copied in bootnowu (Linux version). Maybe I did this on the UFD before I copied the partition to the SSD.
.
.
.
0_IFL.tbs is...
Create this in IFL Editor
Save in /tbu/boot/scripts
To restore a backup from Windows, I change the filename of abcdef.tbi to brianabcdef.tbi
Then run type.cmd as an Administrator
I hope my brief notes make sense. Questions?
When you make the IFL UFD, select...
Traditional - You have control over options. (Custom)
Leave Boot Drive Mounted as /tbu/boot
Run List - Run Scripts Listed in scriptslist.txt
In BootIt, copy the UFD partition to Free Space on your SSD. You can resize the IFL partition to 150 MiB
Create an IFL Boot Item
In Windows, create type.cmd and type.tbs and IFL.cmd
Create the BOOTNOW folder
Make sure BootNow Support is enabled in BootIt
type.cmd is...
Code: Select all
@echo off
CD /d %~dp0
set TBpath=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\TeraByte OSD Tool Suite Pro\win
"%TBpath%\tbosdtw64.exe" type.tbs
echo.
pause
D:\My_files\BOOTNOW\BIGGIGA\IFL.cmd
.
.
type.tbs is...
Code: Select all
sub main()
ext("open fs 0: 0 0x2")
ext("del file 0:\scripts\scriptslist.txt /y")
printl("Creating scriptslist.txt")
ext("SET TEXTLINE 0:\scripts\scriptslist.txt ^"restore_brian_.tbs^"")
printl(" ")
ext("type 0:\scripts\scriptslist.txt")
ext("close fs 0:")
end sub
.
.
IFL.cmd is...
Code: Select all
CD /d D:\My_files\BOOTNOW\bootnowuefi 1.02\win
bootnowu64.exe IFL
.
.
restore_brian_.tbs is in the IFL scripts folder...
You create this file in IFL (Restore menu) and add the extra lines using the Editor icon
Code: Select all
sub main()
printl(" ")
printl("Restore brian")
printl(" ")
exec("ntfs-3g /dev/sda3 /mnt")
exec("/tbu/imagel --r --uy --d:{8B9E0625-CEAB-CDC3-DC5D-585E6A73FFFF} --f:{ED486460-7118-1AD0-A75D-585E9773FFFF}@0x2:^"/TeraByte_TBI_Backups/brian*^" --sp:0x1,0x2,0x3,0x4 --vb --wco --logfile:/mnt/IFL_log/RESTORE.LOG", 1)
ext("del file /tbu/boot/scripts/scriptslist.txt -y")
ext("SET TEXTLINE /tbu/boot/scripts/scriptslist.txt ^"0_IFL.tbs^"")
exec("umount /mnt")
exec("/tbu/scripts/Win11boot.sh")
end sub
.
.
Win11boot.sh is in the IFL scripts folder...
Create this in IFL Editor
Save in /tbu/boot/scripts
Code: Select all
#! /bin/sh
cd boot/scripts/bn
./bootnowu Win11
.
.
.
0_IFL.tbs is...
Create this in IFL Editor
Save in /tbu/boot/scripts
Code: Select all
sub main()
printl(" ")
printl("IFL gui")
printl(" ")
exec("/tbu/imagel", 1)
end sub
Then run type.cmd as an Administrator
I hope my brief notes make sense. Questions?
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
If you also have backup scripts in the scripts folder, then you will need to have relevant type.cmd and type.tbs in another Windows folder.
After a restore I change the filename back to abcdef.tbi.
After a restore I change the filename back to abcdef.tbi.
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
Thank you Brian!
Was a bit out of time during the last days. Will try your notes (hopefully) today or tomorrow now
Was a bit out of time during the last days. Will try your notes (hopefully) today or tomorrow now
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
I suggest you make your initial IFL script a backup script. Less stressful.
You don't need to use the ntfs-3g line in your early scripts. You can read ifl.log from Windows anyway.
You don't need to use the ntfs-3g line in your early scripts. You can read ifl.log from Windows anyway.
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
A sample full backup script...
Remember to add --uy
Code: Select all
sub main()
exec("/tbu/imagel --b --uy --d:{8B9E0625-CEAB-CDC3-DC5D-585E6A73FFFF}@0x1,0x2,0x3,0x4 --f:{ED486460-7118-1AD0-A75D-585E9773FFFF}@0x2:^"/TeraByte_TBI_Backups/Backup-l1-0x1-0x2-0x3-0x4-$~YYYY$-$~MM$-$~DD$-$~HHMM$^" --vb --hash --rb:4", 1)
end sub
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
Ok, finally had the time for it...
Works as expected here
I could simplify it a little bit (e.g. I don't need Win11boot.sh and the call for it, BootIt is running in IT mode with a timeout of 2 and Win 10 as the default boot entry)...
Thanks a bunch for your instructions, very helpful!
Regards,
highend
Works as expected here
I could simplify it a little bit (e.g. I don't need Win11boot.sh and the call for it, BootIt is running in IT mode with a timeout of 2 and Win 10 as the default boot entry)...
Thanks a bunch for your instructions, very helpful!
Regards,
highend
Re: IFL without boot disk (Windows) - Destroys UEFI boot entry?
One thing that doesn't work as expected...
This is the script that does get executed when I boot into IFL via bootnow:
The setup script:
The imaging works fine, the reboot works fine.
But the cleaning up (delete content of scriptfolder and setting up an empty scriptslist.txt doesn't work in the first script...
It doesn't matter that much because I have written a .bat script that sets up the backup / restore scripts (which cleans up the scripts folder when run from a windows command prompt) but I would like to be able to boot into the IFL partition "manually" (and thus starting the menu from there) without an automatic running script...
I'm creating the IFL no net usb stick with:
(o) Normal Boot - Boot Drive is Not Mounted
Do I need to use:
(o) Leave Boot Drive Mounted as /tbu/boot
and change the script back to your values like:
to get that part to work?
This is the script that does get executed when I boot into IFL via bootnow:
Code: Select all
sub main()
exec("/tbu/imagel --b --d:{0CD8DDD9-4A45-4239-948D-03238DD825B3}@0x1 --f:l1@0x1:^"/Backup/Windows_10^" --md --uy --comp:14 --log:0", 1)
ext("del /tbu/scripts/* -y -q")
ext("set textline /tbu/scripts/scriptslist.txt ^"^"")
ext("reboot -f")
end sub
Code: Select all
sub main()
ext("open fs 0: 1 0x3")
ext("del 0:\scripts\* /y /q")
ext("set textline 0:\scripts\scriptslist.txt ^"Backup_Windows_10.tbs^"")
ext("copy D:\Tools\BootIt_UEFI\@tmp\Backup_Windows_10.tbs 0:\scripts /y /q")
ext("close fs 0:")
end sub
But the cleaning up (delete content of scriptfolder and setting up an empty scriptslist.txt doesn't work in the first script...
It doesn't matter that much because I have written a .bat script that sets up the backup / restore scripts (which cleans up the scripts folder when run from a windows command prompt) but I would like to be able to boot into the IFL partition "manually" (and thus starting the menu from there) without an automatic running script...
I'm creating the IFL no net usb stick with:
(o) Normal Boot - Boot Drive is Not Mounted
Do I need to use:
(o) Leave Boot Drive Mounted as /tbu/boot
and change the script back to your values like:
Code: Select all
sub main()
exec("/tbu/imagel --b --d:{0CD8DDD9-4A45-4239-948D-03238DD825B3}@0x1 --f:l1@0x1:^"/Backup/Windows_10^" --md --uy --comp:14 --log:0", 1)
ext("del /tbu/boot/scripts/* -y -q")
ext("set textline /tbu/boot/scripts/scriptslist.txt ^"^"")
ext("reboot -f")
end sub