[Android Software Development] PunkUnity:
u0_a181@m7ul:/ $ su root

root@m7ul:/ # sh install-or-mount

sh: install-or-mount: No such file or directory

127|root@m7ul:/ # cd /data/local

root@m7ul:/data/local # sh install-or-mount

root@m7ul:/data/local # cd /install-or-mount

sh: cd: /install-or-mount: No such file or directory

2|root@m7ul:/data/local # cd /data/local/install-or-mount

root@m7ul:/data/local/install-or-mount # sh install-or-mountsh: install-or-mouun: No such file or directory

127|root@m7ul:/data/local/install-or-mount # sh install-or-mount

usage: install-or-mount options

Building debootstrap images on the device and mounting chroot images.

-h Show this help

Select, what you want to do.

-i Install

or

-z Mount Only

[Install and Mount Only]

[Required Options]

-n Image name

eg: ubuntu-12.04.img

-m Mount path

/data/local/linux is default

-l Image location

[Install]

[Required Options]

-o Distro - default: Precise

Supported: Ubuntu

[Optional Image Sizes]

[DEFAULT: 800M]

-0 800M - Min

-1 1G

-2 1.5G

-3 2G

-4 2.5G

-5 3G

-6 3.5G - Max

example mount: install-or-mount -z -n linux.img -m /data/local/temp -l /data/local

example install: install-or-mount -i -n linux.img -m /data/local/temp -l /data/local -o precise -0

1|root@m7ul:/data/local/install-or-mount # install-or-mount i -n linux.img -m <

sh: install-or-mount: not found

127|root@m7ul:/data/local/install-or-mount # install-or-moun-i -n linux.img -m /data/local/tmp -l /data/local -o precise -6

sh: install-or-mount: not found

127|root@m7ul:/data/local/install-or-mount # sh install-or-mnt -i -n linux.i <

usage: install-or-mount options

Building debootstrap images on the device and mounting chroot images.

-h Show this help

Select, what you want to do.

-i Install

or

-z Mount Only

[Install and Mount Only]

[Required Options]

-n Image name

eg: ubuntu-12.04.img

-m Mount path

/data/local/linux is default

-l Image location

[Install]

[Required Options]

-o Distro - default: Precise

Supported: Ubuntu

[Optional Image Sizes]

[DEFAULT: 800M]

-0 800M - Min

-1 1G

-2 1.5G

-3 2G

-4 2.5G

-5 3G

-6 3.5G - Max

example mount: install-or-mount -z -n linux.img -m /data/local/temp -l /data/local

example install: install-or-mount -i -n linux.img -m /data/local/temp -l /data/local -o precise -0

cal -o precise -6 <

sh: install-or-mount: not found

nt -i -n linux.img -m /data/local/tmp -l /data/local -o precise -5 <

Install options:

Distro: precise

image: linux.img size: 6144 img location: /data/local

Build enviroment initializing...

check ar xbin path

check awk xbin path

check bzip2 xbin path

check cat xbin path

check chmod xbin path

check chroot xbin path

check cp xbin path

check cut xbin path

check dd xbin path

check grep xbin path

check gunzip xbin path

check head xbin path

check id xbin path

check mkdir xbin path

check mke2fs xbin path

check mkfs.ext2 xbin path

check mknod xbin path

check mount xbin path

check mv xbin path

check printf xbin path

check reset xbin path

check rm xbin path

check sed xbin path

check sh xbin path

check sha1sum xbin path

check sort xbin path

check sysctl xbin path

check tar xbin path

check tr xbin path

check umount xbin path

check uname xbin path

check uniq xbin path

check vi xbin path

check wc xbin path

check wget xbin path

check which xbin path

check zcat xbin path

setting up enviroment: [OK]

checking root: [OK]

Creating image: [OK]

Formating ext2

[fail]

>>CMD: [mkfs.ext2 -F] ARGS: [/data/local/linux.img ]

>>>ERROR: [mkfs.ext2: lseek: Value too large for defined data type]

1|root@m7ul:/data/local/install-or-mount # sh install-or-mount -i -n linux.img>

Install options:

Distro: precise

image: linux.img size: 6144 img location: /data/local

setting up enviroment: [OK]

checking root: [OK]

image:/data/local/linux.img exits, exiting

/local/tmp -l /data/local -o precise -5 <

Install options:

Distro: precise

image: linux.img size: 6144 img location: /data/local

setting up enviroment: [OK]

checking root: [OK]

image:/data/local/linux.img exits, exiting

1|root@m7ul:/data/local/install-or-mount #

What happened?