meefik / linuxdeploy

Install and run GNU/Linux on Android
https://meefik.github.io/linuxdeploy
GNU General Public License v3.0
5.27k stars 680 forks source link

Galaxy tab S install issued #647

Open tag4lucy opened 8 years ago

tag4lucy commented 8 years ago

Hi guys, I have a galaxy tab S, I have the following issue when trying to install kali. I have linux delpoy 2.0.0-215 and meefik busy box 1.25.1-27, ENV path veritable is /system/xbin , My sd card has 5Gb of ext2 partion

[20:29:28] >>> deploy [20:29:29] :: Installing bootstrap/rootfs ... [20:29:29] Checking installation path ... done [20:29:29] Making file system ... fail [20:29:29] <<< deploy

I have the following information:

screenshot_2016-11-06-20-32-51

screenshot_2016-11-06-20-41-39

[20:44:32] + DISK_SIZE=0 [20:44:32] + component_is_exclude bootstrap/rootfs [20:44:32] + local component=bootstrap/rootfs [20:44:32] + [ -n bootstrap/rootfs ] [20:44:32] + return 1 [20:44:32] + [ false != true ] [20:44:32] + params_check SOURCE_PATH [20:44:32] + local params_list=SOURCE_PATH [20:44:32] + local key val params_lost [20:44:32] + eval val=$SOURCE_PATH [20:44:32] + val=http://http.kali.org/kali/ [20:44:32] + [ -z http://http.kali.org/kali/ ] [20:44:32] + [ -n ] [20:44:32] + return 0 [20:44:32] + [ true = true ] [20:44:32] + msg ## bootstrap/rootfs : do_install && do_configure [20:44:32] + echo ## bootstrap/rootfs : do_install && do_configure [20:44:32] + set +e [20:44:32] + eval do_install && do_configure [20:44:32] + do_install [20:44:32] + [ /data/local/mnt != /storage/extSdCard/linux.img ] [20:44:32] + container_mounted [20:44:32] + [ chroot = chroot ] [20:44:32] + is_mounted /data/local/mnt [20:44:32] + local mount_point=/data/local/mnt [20:44:32] + [ -n /data/local/mnt ] [20:44:32] + grep -q /data/local/mnt /proc/mounts [20:44:32] + [20:44:32] + return 1 [20:44:32] + msg :: Installing bootstrap/rootfs ... [20:44:32] + echo :: Installing bootstrap/rootfs ... [20:44:32] :: Installing bootstrap/rootfs ... [20:44:32] + rootfs_make [20:44:32] + msg -n Checking installation path ... [20:44:32] + echo -n Checking installation path ... [20:44:32] Checking installation path ... + [ -e /storage/extSdCard/linux.img -a ! -f /storage/extSdCard/linux.img ] [20:44:32] + mkdir -p /storage/extSdCard [20:44:32] done [20:44:32] + msg done [20:44:32] + echo done [20:44:32] + [ file = file ] [20:44:32] + local file_size=0 [20:44:32] + [ -f /storage/extSdCard/linux.img ] [20:44:32] + stat -c %s /storage/extSdCard/linux.img [20:44:32] + file_size=4294967295 [20:44:32] + [ -z 0 -o 0 -le 0 ] [20:44:32] + stat -c %s -f /storage/extSdCard [20:44:32] + local block_size=16384 [20:44:32] + stat -c %a -f /storage/extSdCard [20:44:32] Making file system ... + local available_size=341744 [20:44:32] + let available_size=16384*341744+4294967295 [20:44:32] + let DISK_SIZE=(9894100991-9894100991/10)/1048576 [20:44:32] + [ 8492 -gt 4095 ] [20:44:32] + DISK_SIZE=4095 [20:44:32] + [ 4095 -lt 512 ] [20:44:32] + let file_size=4294967295/1048576 [20:44:32] + [ 4095 != 4095 ] [20:44:32] + [ file = file -o file = partition ] [20:44:32] + msg -n Making file system ... [20:44:32] + echo -n Making file system ... [20:44:32] + losetup -a [20:44:32] + grep -c /storage/extSdCard/linux.img [20:44:32] + local loop_exist=0 [20:44:32] + grep -c /storage/extSdCard/linux.img /proc/mounts [20:44:32] + local img_mounted=0 [20:44:32] + [ 0 -ne 0 -o 0 -ne 0 ] [20:44:32] + local fs_args [20:44:32] + [ -n ext2 -a ext2 != auto ] [20:44:32] + fs_args=-t ext2 [20:44:32] + mke2fs -qF -O ^has_journal -t ext2 /storage/extSdCard/linux.img [20:44:32] mke2fs: invalid option -- t [20:44:32] BusyBox v1.25.1-meefik (2016-11-01 16:35:49 MSK) multi-call binary. [20:44:32] [20:44:32] Usage: mke2fs [-Fn] [-b BLK_SIZE] [-i INODE_RATIO] [-I INODE_SIZE] [-m RESERVED_PERCENT] [-L LABEL] BLOCKDEV [KBYTES] [20:44:32] [20:44:32] -b BLK_SIZE Block size, bytes [20:44:32] -F Force [20:44:32] -i RATIO Max number of files is filesystem_size / RATIO [20:44:32] -I BYTES Inode size (min 128) [20:44:32] -L LBL Volume label [20:44:32] -m PERCENT Percent of blocks to reserve for admin [20:44:32] -n Dry run [20:44:32] fail [20:44:32] + is_ok fail done [20:44:32] + [ 1 -eq 0 ] [20:44:32] + [ -n fail ] [20:44:32] + msg fail [20:44:32] + echo fail [20:44:32] + return 1 [20:44:32] + return 1 [20:44:32] + return 1 [20:44:32] + exit 1 [20:44:32] + is_ok [20:44:32] + [ 1 -eq 0 ] [20:44:32] + [ -n ] [20:44:32] + return 1 [20:44:32] + return 1 [20:44:32] + printf $'<<< deploy\n' [20:44:32] <<< deploy [20:44:32] + exit 0

Please help, I have been reading the open issues and googling too no prevail.

meefik commented 8 years ago

Change image size to 2000 MB. busybox mke2fs not supported > 2 GB.

tag4lucy commented 8 years ago

Hi amte, thanks for the fast reply, I gave 2000 MB and 2095 MB a go and still got the same issue. I not sure what the issue is and what direction to take to fix it.

rakshithskumar88 commented 7 years ago

Were you able to solve @tag4lucy ? I am getting the same error.

an0mali commented 7 years ago

@meefik @rakshithskumar88 I had the same problem. The issue is a different version of mke2fs (which doesn't support --t option) being installed with new busybox (both meekfik's and the other one). Use a root file manager to delete mke2fs from system/xbin, then go into /data/data/ru.meefik.linuxdeploy/bin and copy mke2fs from there, then paste into system/xbin. Should work after that