IFL log file

User discussion and information resource forum for TeraByte Drive Image products, including TBNetManage.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

I think it is working!

I booted it twice and the partition mounted both times; no problem. The IFL window no longer comes up automatically, but I can click the IFL icon at the top to start it...No big deal.

i created iflscript with runall in it. I put the file the folder with makedisk,exe, makedisk,cfg, etc.
I added the following line to makedisk.cfg

ADD3=iflscript,>/tbu/utility|initrmfs

I will test it several times and make an image this weekend and report back.

Thank you for spending so much time with me to find a solution. I learned a lot during this process.

You may want to consider adding this information to the manual and FAQ. This may help others who are using multiboot programs.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

P.S. What part of the registry is the stored information?
TeraByte Support(PP)
Posts: 1720
Joined: Fri Aug 12, 2011 12:51 am

Re: IFL log file

Post by TeraByte Support(PP) »

IFL doesn't run automatically on startup when scripts are run. To make IFL run after mounting, edit the iflfind (or whatever you named it) script and insert the following two lines after the "mount" command (before the "break" command).

Code: Select all

nohup /tbu/imagel &
disown $!
For example:
(Showing an entire example script here, but you would only be adding those two lines and not making any other changes to your script.)

Code: Select all

#! /bin/bash

for f in sd{a..z}
do
	p=2
	echo Checking /dev/$f$p...
	blkid /dev/$f$p | grep "LABEL=\"IFL_4" > /dev/null
	if [ "$?" = "0" ]; then
		echo IFL partition found: /dev/$f$p
		mkdir /tbu/iflmedia
		mount /dev/$f$p /tbu/iflmedia
		nohup /tbu/imagel &
		disown $!
		break
	fi
done
The MakeDisk settings are normally located at "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\TeraByte Unlimited\MakeDisk" but they're not editable.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

Almost there...

nohup /tbu/imagel &
disown $!

This cause an error - No file of directory. I removed nohup

/tbu/imagel &
disown $!

This load the IFL window. Is this okay.? Do I need nohup?
TeraByte Support(PP)
Posts: 1720
Joined: Fri Aug 12, 2011 12:51 am

Re: IFL log file

Post by TeraByte Support(PP) »

That should still work okay.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

Why doesn't nohup work? What can I do to get it to work?
TeraByte Support(PP)
Posts: 1720
Joined: Fri Aug 12, 2011 12:51 am

Re: IFL log file

Post by TeraByte Support(PP) »

Not sure. It worked for me. The main thing was to separate imagel from the terminal so it remains running after the terminal running the script closes, which both nohup and disown can do. So, if IFL is remaining running (which you said it is), you should be good.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

Where is nohup command located? The error message makes me think that nohup is not found
TeraByte Support(PP)
Posts: 1720
Joined: Fri Aug 12, 2011 12:51 am

Re: IFL log file

Post by TeraByte Support(PP) »

It's a function in BusyBox. The link is at /usr/bin/nohup and runs /bin/busybox.
tbifan39
Posts: 62
Joined: Fri Sep 16, 2011 5:08 pm

Re: IFL log file

Post by tbifan39 »

Okay. I used midnight commander to search for nohup and it didn't find it. It must not be there for some reason.

No biggie... I can click on the IFL icon at the top.

I'm happy you figured out how to mount the partition automatically. That was what I was mainly needing.

I did a back up and it worked and saved the IFL.log also.

Thank you so much for your help!
Post Reply