Booting Image for Linux (IFL)
Quote from Craftwork2829 on 2024-12-12, 5:31 AMDoes anyone have experience booting Terabyte Unlimited Image for Linux (IFL) from iso? I have questions about scripts.
Does anyone have experience booting Terabyte Unlimited Image for Linux (IFL) from iso? I have questions about scripts.
Quote from Craftwork2829 on 2024-12-12, 8:25 PMI am trying to mount e2b_ptn2 partition automatically to save ifl.log file
When I boot the iso from e2b flash drive, the script to mount the partition does not run. I have to run it manually after IFL is loaded.
Maybe someone can download the trial version and see if they can figure it out.
I can send my script, if anyone is interested.
The script searches partition 2 of sda...z drives for e2b_ptn2 label and when it finds it, it mounts it.
I am trying to mount e2b_ptn2 partition automatically to save ifl.log file
When I boot the iso from e2b flash drive, the script to mount the partition does not run. I have to run it manually after IFL is loaded.
Maybe someone can download the trial version and see if they can figure it out.
I can send my script, if anyone is interested.
The script searches partition 2 of sda...z drives for e2b_ptn2 label and when it finds it, it mounts it.
Quote from SteveSi on 2024-12-12, 8:49 PMIf the script doesn't run then it doesn't matter what is in it.
Or do you mean the script does run but doesn't give the expected result?
I know nothing about IFL, so you will need to explain.
Where is the script located. How is it detected and run. How do you know it doesn't actually run. What is a simple test scenario. Etc
If the script doesn't run then it doesn't matter what is in it.
Or do you mean the script does run but doesn't give the expected result?
I know nothing about IFL, so you will need to explain.
Where is the script located. How is it detected and run. How do you know it doesn't actually run. What is a simple test scenario. Etc
Quote from Craftwork2829 on 2024-12-12, 11:42 PMOkay... download IFL GUI version 64 bit from TerabyteUnlimted,com (do not click on 686 link - that's the 32 bit). Also make sure it is the GUI version. Unzip the file to a folder. I believe the trail version is the network version. I am using the registered non-network version, bit I do not believe it matters here. There is a scripts folder - where the scripts go. I will post my script at the end of the message. Add the script (findifl - no extension) to the scripts folder.
Open Makedisk.cfg - change line "ADD1=scripts\*.*,>\scripts/initrmfs" with
"ADD1=scripts\*.*,>/tbu/scripts/|initrmfs" save and close
Run Makedisk.exe - I am running from standard user account - Windows 10
Traditional...custom
Do not select anything on the next 2 screens
ifi,ini options - I have my TimeZone set and path for ifl,log file, but I do not think it is necessary for this purpose.
License info - skip since you are using the trial version
Normal Boot
Run all - Run all scripts in scripts folder
Boot It license Info - Skip
Enter filename - Do not name it ifl.iso - name it ifl2.iso. The file should be in same folder you unzipped the zip to.
Copy ifl2.iso to E2B drive - /ISO/BACKUP
Now boot your system from E2B menu (Legacy) and select the iso.
When IFL is loaded, Right-click and choose mount...; Nothing is mounted. Close Window.
Right-click and select Show Menu scripts; it should show list of scripts, in my case only one (findifl)
Click on it - It should run and find the E2B_PTN2 partition and mount it. You can right-click and choose mount... and it should show that partition is mounted. It is suppose to mount automatically in IFL loads. It does if you create a bootable flash drive instead of iso. I believe it also works if you test the iso (not easy2boot) using QEMU. I use QEMU Simple Boot. I believe that is all the details.
findifl (no extension)
#! /bin/bash
for f in sd{a..z}
do
p=2
echo Checking /dev/$f$p...
blkid /dev/$f$p | grep "LABEL=\"E2B_PTN2" > /dev/null
if [ "$?" = "0" ]; then
echo IFL partition found: /dev/$f$p
mkdir /tbu/iflmedia
mount /dev/$f$p /tbu/iflmedia
break
fi
done
Okay... download IFL GUI version 64 bit from TerabyteUnlimted,com (do not click on 686 link - that's the 32 bit). Also make sure it is the GUI version. Unzip the file to a folder. I believe the trail version is the network version. I am using the registered non-network version, bit I do not believe it matters here. There is a scripts folder - where the scripts go. I will post my script at the end of the message. Add the script (findifl - no extension) to the scripts folder.
Open Makedisk.cfg - change line "ADD1=scripts\*.*,>\scripts/initrmfs" with
"ADD1=scripts\*.*,>/tbu/scripts/|initrmfs" save and close
Run Makedisk.exe - I am running from standard user account - Windows 10
Traditional...custom
Do not select anything on the next 2 screens
ifi,ini options - I have my TimeZone set and path for ifl,log file, but I do not think it is necessary for this purpose.
License info - skip since you are using the trial version
Normal Boot
Run all - Run all scripts in scripts folder
Boot It license Info - Skip
Enter filename - Do not name it ifl.iso - name it ifl2.iso. The file should be in same folder you unzipped the zip to.
Copy ifl2.iso to E2B drive - /ISO/BACKUP
Now boot your system from E2B menu (Legacy) and select the iso.
When IFL is loaded, Right-click and choose mount...; Nothing is mounted. Close Window.
Right-click and select Show Menu scripts; it should show list of scripts, in my case only one (findifl)
Click on it - It should run and find the E2B_PTN2 partition and mount it. You can right-click and choose mount... and it should show that partition is mounted. It is suppose to mount automatically in IFL loads. It does if you create a bootable flash drive instead of iso. I believe it also works if you test the iso (not easy2boot) using QEMU. I use QEMU Simple Boot. I believe that is all the details.
findifl (no extension)
#! /bin/bash
for f in sd{a..z}
do
p=2
echo Checking /dev/$f$p...
blkid /dev/$f$p | grep "LABEL=\"E2B_PTN2" > /dev/null
if [ "$?" = "0" ]; then
echo IFL partition found: /dev/$f$p
mkdir /tbu/iflmedia
mount /dev/$f$p /tbu/iflmedia
break
fi
done
Quote from SteveSi on 2024-12-13, 8:35 AMI found this from 2022
https://www.terabyteunlimited.com/ucf/viewtopic.php?t=4202
Maybe you could add an extra line into your findifl script or two?
e.g. after each echo line add read to pause execution
Then see if the echo output can be seen in a terminal window - i.e. check if the script starts to run or not.
#! /bin/bash
for f in sd{a..z}
do
p=2
echo Checking /dev/$f$p...read
blkid /dev/$f$p | grep "LABEL=\"E2B_PTN2" > /dev/null
if [ "$?" = "0" ]; then
echo IFL partition found: /dev/$f$pread
mkdir /tbu/iflmedia
mount /dev/$f$p /tbu/iflmediamount
read
break
fi
done
Your instructions say
Open Makedisk.cfg - change line "ADD1=scripts\*.*,>\scripts/initrmfs" with
"ADD1=scripts\*.*,>/tbu/scripts/|initrmfs" save and close
but is this line correct? Why is it needed when all scripts inside the script folder will be run anyway by default?
I assume your use of \ instead of / is a typo?
I found this from 2022
https://www.terabyteunlimited.com/ucf/viewtopic.php?t=4202
Maybe you could add an extra line into your findifl script or two?
e.g. after each echo line add read to pause execution
Then see if the echo output can be seen in a terminal window - i.e. check if the script starts to run or not.
#! /bin/bash
for f in sd{a..z}
do
p=2
echo Checking /dev/$f$p...
read
blkid /dev/$f$p | grep "LABEL=\"E2B_PTN2" > /dev/null
if [ "$?" = "0" ]; then
echo IFL partition found: /dev/$f$p
read
mkdir /tbu/iflmedia
mount /dev/$f$p /tbu/iflmedia
mount
read
break
fi
done
Your instructions say
Open Makedisk.cfg - change line "ADD1=scripts\*.*,>\scripts/initrmfs" with
"ADD1=scripts\*.*,>/tbu/scripts/|initrmfs" save and close
but is this line correct? Why is it needed when all scripts inside the script folder will be run anyway by default?
I assume your use of \ instead of / is a typo?
Quote from Craftwork2829 on 2024-12-13, 9:35 AMThanks, Steve! I found a solution. I created a file called runscript -- it contains the command runall. runall tells IFL to run all scripts in the folder.
I have another question that I know you have the answer.
I have a program that only runs under UEFI. Obviouly, the program will not run in E2B Menu, but it does run in agFM menu. Is there a way to hide it in E2B, but show it in agFM? I currently have the iso in /ISO/UTILITIES.
Thanks, Steve! I found a solution. I created a file called runscript -- it contains the command runall. runall tells IFL to run all scripts in the folder.
I have another question that I know you have the answer.
I have a program that only runs under UEFI. Obviouly, the program will not run in E2B Menu, but it does run in agFM menu. Is there a way to hide it in E2B, but show it in agFM? I currently have the iso in /ISO/UTILITIES.
Quote from SteveSi on 2024-12-13, 9:46 AMWhat extension does the program have?
You can move it to a sub-folder like \_ISO\UTILITIES\EFI_PROG and browse to it within agFM
You can add an entry into the agFM default startup menu just for that file.
https://easy2boot.xyz/agfm/#User_Startup_Menu
What extension does the program have?
You can move it to a sub-folder like \_ISO\UTILITIES\EFI_PROG and browse to it within agFM
You can add an entry into the agFM default startup menu just for that file.