Forum

Please or Register to create posts and topics.

Booting Image for Linux (IFL)

Does anyone have experience booting Terabyte Unlimited Image for Linux (IFL) from iso? I have questions about scripts.

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.

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

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

 

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?

 

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.

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.

 

 

Multi-buy discount 10%

eBooks (in PDF format)

Easy-to-read eBooks are available in PDF format (each eBook is over 100 pages) – rated 4.5/5 stars.
Learn the secrets of Legacy and UEFI USB booting and then make your perfect multiboot USB drive.
E2B eBook #1 includes instructions on how to remove the E2B 5-second start-up delay blue screen.

E2B is unique in that it uses partition images which allows you to directly boot from Secure Boot images (no need to disable Secure Boot or run MOK manager or modify your UEFI BIOS).

Most eBooks are over 100 pages long, contain original content (not AI generated!) and step-by-step exercises which are suitable for both the beginner or the more experienced user.
Customer reviews are located at bottom of each eBook product page and multi-buy discounts are available when you buy more than one eBook. Please also visit RMPrepUSB.com and the E2B Forum.
Subscribe to my blog for the latest news, tips, USB boot articles and free eBook updates.