ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #14223
chroot file systen on the data partition (was: Made your system writeable? Is your disk full? OTA might break)
El día Friday, July 17, 2015 a las 09:58:54AM -0400, Rodney Dawes escribió:
> If you really need to install some command line tools on your phone for
> some reason, or you need to compile something on your phone, the best
> way to do it, is with a chroot on the data partition, rather than by
> making the root partition, which has very limited space, writable.
>
> See my answer to this question[1] on Ask Ubuntu, for details on how to
> set up a chroot for doing such development work in. The only issue here
> is that you can't do "sudo chroot" from within the Terminal app itself,
> due to confinement rules, but it works fine over adb/ssh.
>
>
> [1] https://askubuntu.com/questions/620740
Hi Rodney,
When I follow your steps in the above URL and unpack the tar archive
into some dir with
$ mkdir root
$ cd root
$ tar xzf ../vivid-preinstalled-touch-armhf.tar.gz
it gives a lot of error messages of the type:
...
tar: dev/ram14: Cannot mknod: Operation not permitted
tar: dev/ram1: Cannot mknod: Operation not permitted
tar: dev/mixer2: Cannot mknod: Operation not permitted
tar: dev/sndstat: Cannot mknod: Operation not permitted
tar: dev/audio: Cannot mknod: Operation not permitted
...
Is this by intention to unpack the archive as unpriv user 'phablet' or
shouldn't it better done as root or sudo?
Thanks
matthias
--
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-176-38902045
No! Nein! ¡No! Όχι! -- Ευχαριστούμε!
References