Author Topic: How to run Linux userland under Android  (Read 14293 times)

graynada

  • Full Member
  • ***
  • Posts: 117
    • View Profile
How to run Linux userland under Android
« Reply #15 on: August 12, 2018, 07:08:20 pm »
Quote from: Murple2
Quote from: graynada
The advantages I see from using an in Android partition (only the one Android partion as when received) over having a separate partion are:

   1. You should still be able to use OTA updates.
   2. Maximum flexibility with storage. When setting up a separate partition you have to take a punt at how much you want for each. With the Android solution you can just use all your 64Gb as it suits you at the time between Linux and Android.

Yeah, unless you want to dualboot (or multiboot) there is little advantage to using a separate partition for linux. Although OTA's should still work so long as you have left enough space for Android!

Yes for sure and definitely re OTAs but unfortunately that is not the case at the moment

Lastic

  • Newbie
  • *
  • Posts: 5
    • View Profile
How to run Linux userland under Android
« Reply #16 on: January 17, 2019, 02:10:10 pm »
Quote from: Murple2
Quote from: peter
Quote from: TheKit
As a bonus, if you flash Linux dualboot, you can configure Linux Deploy to mount Linux partition and chroot there.

I've installed Linux Deploy, but I have no idea how to mount my dualboot image as you suggest.  Any hints?
Create a new profile and then in the settings for that profile select 'installation type: partition' and 'installation path: /dev/block/mmcblk0p29'. Select debian for your distro. Don't 'install' as linux is already on the partition. If you look around the forum you'll find some instructions for setting up the networking. otherwise you are pretty much golden.

I have the Planet Computers triple boot installation , rooted Android, Debian , Sailfish , have installed LinuxDeploy but doesn't seem to start the Debian partition ?

Or am I missing something , should I still setup VNC or xSDL so I can get to LXDE ?

Lastic

  • Newbie
  • *
  • Posts: 5
    • View Profile
How to run Linux userland under Android
« Reply #17 on: January 23, 2019, 01:42:19 pm »
Quote from: Lastic
Quote from: Murple2
Quote from: peter
Quote from: TheKit
As a bonus, if you flash Linux dualboot, you can configure Linux Deploy to mount Linux partition and chroot there.

I've installed Linux Deploy, but I have no idea how to mount my dualboot image as you suggest.  Any hints?
Create a new profile and then in the settings for that profile select 'installation type: partition' and 'installation path: /dev/block/mmcblk0p29'. Select debian for your distro. Don't 'install' as linux is already on the partition. If you look around the forum you'll find some instructions for setting up the networking. otherwise you are pretty much golden.

I have the Planet Computers triple boot installation , rooted Android, Debian , Sailfish , have installed LinuxDeploy but doesn't seem to start the Debian partition ?

Or am I missing something , should I still setup VNC or xSDL so I can get to LXDE ?

Can anybody please explain me the setup and steps, I have tried a few times already and it looks like Debian simply isn't started.

Lastic

  • Newbie
  • *
  • Posts: 5
    • View Profile
How to run Linux userland under Android
« Reply #18 on: February 23, 2019, 02:55:37 pm »
Quote from: Lastic
Quote from: Lastic
Quote from: Murple2
Quote from: peter
Quote from: TheKit
As a bonus, if you flash Linux dualboot, you can configure Linux Deploy to mount Linux partition and chroot there.

I've installed Linux Deploy, but I have no idea how to mount my dualboot image as you suggest.  Any hints?
Create a new profile and then in the settings for that profile select 'installation type: partition' and 'installation path: /dev/block/mmcblk0p29'. Select debian for your distro. Don't 'install' as linux is already on the partition. If you look around the forum you'll find some instructions for setting up the networking. otherwise you are pretty much golden.

I have the Planet Computers triple boot installation , rooted Android, Debian , Sailfish , have installed LinuxDeploy but doesn't seem to start the Debian partition ?

Or am I missing something , should I still setup VNC or xSDL so I can get to LXDE ?

Can anybody please explain me the setup and steps, I have tried a few times already and it looks like Debian simply isn't started.


After a long period of thinking the Debian partition wasn't started , changing the LinuxDeploy filesystem type from ext4 to ext2 to no avail, trying to get xSDL to work,
I just left it at ext4 and started focussing on getting a VNC display.

So I think i got a step further, i've setup tightvncserver under the geminu user on Debian and now when I start LinuxDeploy in Android from the Debian partition
I can get a VNC session with my supplied VNC password using either 127.0.0.1:1 or <mycurrentAndroidIP>:1 but I only get a grey screen with an X and nothing further

I changed my ~/.vnc/xstartup to start

/usr/bin/startlxqt &
qterminal &

but still nothing.

Is there please anybody from this topic who got it working who can tell me what I'm doing wrong ?