IFL 2.79: problem with setup script

User discussion and information resource forum for Image products.
Post Reply
Brian49
Posts: 26
Joined: Thu Jun 07, 2012 12:58 pm

IFL 2.79: problem with setup script

Post by Brian49 »

When I try to run the setup script for IFL 2.79, I get these messages in the terminal:

"STEP 1: Check for required files and loop devices
The file config.zip already has been extracted
Using included 32-bit version of genisoimage
Using included version of cpio
All required files found

STEP 2: Decompress and extract the root fs. Please wait...
Error 127 for command: cp isomount/isomount/* cdroot
Possible cause: less than 100 MB of free disk space before running setup
Exiting setup... "

I have set up many previous versions of IFL using this method, without the slightest problem. There is plenty of free space on my hard drive. The reference to "cdroot" is a mystery, since at this stage I am not using my CD/DVD drive (if that is what "cdroot" means).

Please help me figure out what is going on here. Many thanks.
TeraByte Support(TP)
Posts: 305
Joined: Wed Aug 31, 2011 4:22 pm

Re: IFL 2.79: problem with setup script

Post by TeraByte Support(TP) »

Brian49 wrote:
> When I try to run the setup script for IFL 2.79, I get these messages in
> the terminal:
>
> "STEP 1: Check for required files and loop devices
> The file config.zip already has been extracted
> Using included 32-bit version of genisoimage
> Using included version of cpio
> All required files found
>
> STEP 2: Decompress and extract the root fs. Please wait...
> Error 127 for command: cp isomount/isomount/* cdroot
> Possible cause: less than 100 MB of free disk space before running setup
> Exiting setup... "
>
> I have set up many previous versions of IFL using this method, without the
> slightest problem. There is plenty of free space on my hard drive. The
> reference to "cdroot" is a mystery, since at this stage I am not
> using my CD/DVD drive (if that is what "cdroot" means).
>
> Please help me figure out what is going on here. Many thanks.

Installing the 'rsync' package should fix that.

If you prefer, you can also get it working by editing the setup script with a text editor as follows:

1. At lines 293 and 294 you will find these 2 lines:
# cp isomount/isomount/* cdroot
rsync -ax --delete isomount/isomount/ cdroot/ > /dev/null 2>&1

2. Change those 2 lines above to the following:
cp -a isomount/isomount/* cdroot
# rsync -ax --delete isomount/isomount/ cdroot/ > /dev/null 2>&1

Basically comment out the rsync line, then uncomment the 'cp' line above it, and add a '-a' to it (as in cp -a)
(The intent in the release was to use the cp -a command)
Brian49
Posts: 26
Joined: Thu Jun 07, 2012 12:58 pm

Re: IFL 2.79: problem with setup script

Post by Brian49 »

Thanks very much for responding. Installing rsync solved the problem. Would it be helpful if the error message flagged up the fact that rsync is not present?
TeraByte Support(TP)
Posts: 305
Joined: Wed Aug 31, 2011 4:22 pm

Re: IFL 2.79: problem with setup script

Post by TeraByte Support(TP) »

Brian49 wrote:
> Thanks very much for responding. Installing rsync solved the problem. Would
> it be helpful if the error message flagged up the fact that rsync is not
> present?

Yes, and it would have been flagged that way if it was intended to keep 'rsync' in there (it was put in for testing). It should have been changed back to the 'cp' comand, the reason being that 'cp' is available on all distros, while 'rsync' is not installed by default on most.
Post Reply