Git Product home page Git Product logo

Comments (10)

meefik avatar meefik commented on May 23, 2024

Image file /storage/emulated/0/linux.img are size 5000. If the partition (sdcard) is formatted in FAT, then maximum size of the image file should not exceed 4095 MB.

from linuxdeploy.

frol avatar frol commented on May 23, 2024

I have only 32GB internal storage, mount said, that I have only rootfs on / and nothing else for /sdcard, but:

/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,allow_other...

Nevertheless, I've changed image size to 3.5GB, just started new setup.

Here is other strange fail:
[23:09:04] mkdir: can't create directory 'etc': I/O error
[23:09:04] fail

http://dl.dropboxusercontent.com/u/18807070/tmp/deploy_linux_archlinux_2.log

PS I've got Asus Transformer TF300T with Android 4.2.1.

from linuxdeploy.

meefik avatar meefik commented on May 23, 2024

I checked on my device, Arch Linux installation is correct. It looks like a physical problem with memory.

from linuxdeploy.

frol avatar frol commented on May 23, 2024

I've used LinuxOnAndroid with Arch image and it works good, but there is an outdated Arch and it's a problem to update it because of updated libc, pacman and systemd...

PS Now i'm trying install Ubuntu Precise...

from linuxdeploy.

frol avatar frol commented on May 23, 2024

I caught two different failures (I've tried setup it three times) even with Ubuntu (precise and quantal):

First:
[23:31:47] + debootstrap --no-check-gpg --arch armel --foreign --extractor=ar --include=locales,openssh-server,sudo,man-db precise /data/local/linux/mnt http://ports.ubuntu.com
[23:31:47] I: Retrieving InRelease
[23:31:48] I: Failed to retrieve InRelease
[23:31:48] I: Retrieving Release
[23:31:48] E: Failed getting release file http://ports.ubuntu.com/dists/precise/Release

Second:
[23:58:04] mkdir: can't create directory '/data/local/linux/mnt/debootstrap': I/O error
[23:58:04] /data/local/linux/bin/debootstrap: line 511: can't create /data/local/linux/mnt/debootstrap/debootstrap.log: I/O error

Full logs with three installations:
http://dl.dropboxusercontent.com/u/18807070/tmp/deploy_linux_archlinux_3.log

from linuxdeploy.

meefik avatar meefik commented on May 23, 2024

Very similar to bad blocks on memory card (storage). For test mount Linux image and try command:

dd if=/dev/urandom of=/data/local/linux/mnt/test bs=1024000 count=100

from linuxdeploy.

frol avatar frol commented on May 23, 2024

Any ideas how to check it under Android? As I said before - there is no SD-card, however 32GB internal storage.

from linuxdeploy.

frol avatar frol commented on May 23, 2024

I cannot mount Linux image by hands: device or resource is busy.
I've tried fill storage from /dev/zero:

dd if=/dev/zero of=/sdcard/qq.iso bs=1024000 count=10000

10237403136 bytes transferred in 14207.731 secs (720551 bytes/sec)

dd if=/dev/zero of=/sdcard/qq2.iso bs=1024000 count=10000

10239131648 bytes transferred in 2053.329 secs (4986600 bytes/sec)

dd if=/dev/zero of=/sdcard/qq3.iso bs=1024000 count=10000

4188737536 bytes transferred in 3494.050 secs (1198820 bytes/sec)

I don't know why dd stops on 10237403136 and 10239131648 even I required 1024000000
But there are no I/O errors.

Full log: http://dl.dropboxusercontent.com/u/18807070/tmp/dd.log

from linuxdeploy.

frol avatar frol commented on May 23, 2024

That is strange! I've mounted loop image to /data/local/linux/mnt/ and after ~1-2 minutes of dd'ing Android freezed! Any ideas?

from linuxdeploy.

frol avatar frol commented on May 23, 2024

I was partly setting up Arch by LinuxDeploy, than it failed and than I tried next:

  1. Mount .img and continue installation by pacman - android freezes on 4th package.
  2. Move .img to SD card and mount it from there - after some installed packages android rebooted itself...
    Thus, I think there is no connection to bad blocks of storage. Now I think about RAM corruption or kernel bug :(

from linuxdeploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.