Comments (10)
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.
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.
I checked on my device, Arch Linux installation is correct. It looks like a physical problem with memory.
from linuxdeploy.
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.
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.
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.
Any ideas how to check it under Android? As I said before - there is no SD-card, however 32GB internal storage.
from linuxdeploy.
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.
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.
I was partly setting up Arch by LinuxDeploy, than it failed and than I tried next:
- Mount .img and continue installation by pacman - android freezes on 4th package.
- 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)
- Arch Linux installation failed with`Installation type` set to `Directory` HOT 3
- ip inaccurate when vpn is enabled
- Solution for no internet as user! HOT 3
- How to change the mount point on an already installed Linux system?
- Static ip debian
- Cannot install pihole image to SD card
- How do I change ubuntu kernel to another version on Linux Deploy? HOT 1
- "sudo Account validation failure, is your account locked", can't login linux system error
- When the device screen is off, it can only use LAN, ping anything else will fail HOT 3
- Execute /system/bin commands from container HOT 1
- I Can't Use 2 Profiles
- Installed Debian12 in a Redmi8 phone - try to install Home Assitant Supervised but have errors HOT 1
- Any chance of getting newer versions of ubuntu? HOT 2
- sudo: PERM_ROOT: setresuid(0, -1, -1): Permission denied
- How to use framebuffer video option on modern android?
- The virtual machine cannot be powered on
- Fake Battery Percentage? HOT 3
- Linuxdeploy can access the network normally under the root user, but after switching to a regular user, it cannot access the network.
- Я HOT 2
- Please, bro explain where is the fucking mounted container!? I already have spent two days searching for that mounted locations. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linuxdeploy.