Password for this install?
Keeps asking for password when i try to login and i dont have a onboard keyboard it seems so i cant enter or try any password...
Same here, keeps asking for a password...
Password for this install?
Keeps asking for password when i try to login and i dont have a onboard keyboard it seems so i cant enter or try any password...
I hacked together a small shell script that can be used in Android to enter the Ubuntu installation as chroot and run console programs like apt-get in it. Maybe it is of use to someone.
Code:GNU_ROOT=/data/ubuntu mount -o bind /dev $GNU_ROOT/dev mount -o bind /dev/pts $GNU_ROOT/dev/pts mount -o bind /sys $GNU_ROOT/sys mount -o bind /proc $GNU_ROOT/proc mkdir $GNU_ROOT/run/resolvconf rm $GNU_ROOT/run/resolvconf/resolv.conf for i in 1 2 3 4; do ns=`getprop dhcp.wlan0.dns$i` if [ $ns ]; then echo nameserver $ns >> $GNU_ROOT/run/resolvconf/resolv.conf fi done chroot $GNU_ROOT /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -l umount $GNU_ROOT/proc umount $GNU_ROOT/sys umount $GNU_ROOT/dev/pts umount $GNU_ROOT/dev
Save e.g as /data/enter-ubuntu and chmod 700. Feel free to use it or to post improvements.
Has this happened to anyone else...?
I got the Unity flavor of this mod working splendidly. Then somehow I ended up at the lock screen (I can't remember how--maybe I hit the lock button or power button or closed the lid). The screen flashed and went blank. I hit the power button, but the screen kept flashing the lock screen, and I couldn't get my password in, so I did a hard reboot (held down the power button).
Now I can't boot into Ubuntu. It hangs a black screen.
Any ideas what's going on?
Hi guys
I know this thread is only for development purposes, but I was wondering if one of you could post a video of ubuntu running natively on our tab.
I would like to see how smooth and stable it is before I start to try to dual boot my tf700t.
Hi,
thanks for making this work first of all! I have been really wanting to get this going, but didn't have the time yet to sit down and work on it.
However I am aiming at a little more complex setup, I hope this is the right place to discuss it.
1) Dual boot CM10 and GNU/Linux (preferrably Debian SID, but Ubuntu would be ok for starters)
2) encrypted partition that serves both as android data and GNU home.
My plan was to:
1) Unlock device
2) install CM10
3) repartition (i.e. shrink data partition "D" by 10GB + create a new ext4 partition "L" of 10GB)
4) install GNU/Linux on "L"
5) encrypt data partition "D"
6) add magic to CM10 to decrypt "D" on boot and bind mount "D"/data to data
7) add magic to GNU/Linux to decrypt "D" on boot and bind mount "D"/home to /home
I have Linux (and bsd) skills, but I don't know too mch about Android. I know how to do steps 1,2,5,7. Assuming I have regular unix tools on CM10, I also know how to do 3. Assuming I can use this thread's instructionts and the image for this setup, I also know how to do 4. The biggest issue will probably be 6, although there is supposed to by encryption support in Android beginning of 4.0, I haven't seen it work, yet...
Do you have any comments on this?
Thank you for your help!
1) Dual boot CM10 and GNU/Linux (preferrably Debian SID, but Ubuntu would be ok for starters)
3) repartition (i.e. shrink data partition "D" by 10GB + create a new ext4 partition "L" of 10GB)
This would require some way to put two kernels on the machine and choose one at boot time. The bootloader is encrypted and cryptographically signed. So the only ways for dual booting that I see are:
* you abuse the choice of recovery or Android for dual booting, but that means you lose the recovery option.
* you create some kernel chainloading implementation using kexec.
Tegra devices have a proprietary partition table, and another one that is GPT (at the end of the MMC - see the thread about the TF700's flash layout). I don't know if the two partition tables must match or not, but the Tegra proprietary partition table may not even be writable using normal means. Just to say: repartitioning will not be trivial.
Maybe using an external microSD card is an alternative?
You could also try booting both Android and Linux with the same kernel.
Ah, interesting, so unlocked bootloader just means I can flash a different kernel, it is not really unlocked in a general sense? I come from BSD-land so I will have to read more into Linux-Kernel stuff to know how to proceed.This would require some way to put two kernels on the machine and choose one at boot time. The bootloader is encrypted and cryptographically signed. So the only ways for dual booting that I see are:
* you abuse the choice of recovery or Android for dual booting, but that means you lose the recovery option.
* you create some kernel chainloading implementation using kexec.
jeeze, they do take a extra effort to make life hard for the people that buy their products...Tegra devices have a proprietary partition table, and another one that is GPT (at the end of the MMC - see the thread about the TF700's flash layout). I don't know if the two partition tables must match or not, but the Tegra proprietary partition table may not even be writable using normal means. Just to say: repartitioning will not be trivial.
Yes, I will go with this for now.
Also a good idea.You could also try booting both Android and Linux with the same kernel.
Ah, interesting, so unlocked bootloader just means I can flash a different kernel, it is not really unlocked in a general sense?
So, the new plan is:
1) unlock bootloader
2) go with default cm10
3) encrypt device with builtin encryption
4) get ubuntu on a microsd and try to make the system boot that with its default kernel
5) once that works think of a way to boot a kernel from the microsd
6) once that works think of a way of how to get the GNU/L on the internal disk
For some reason when I'm in TWRP it will not show the precise-armhf.tgz or the unity2d-rootfs.tgz in the internal sdcard. Is there something I'm needed to do with ADB to make that happen?
GNU_ROOT=/data/ubuntu
mount -o bind /dev $GNU_ROOT/dev
mount -o bind /dev/pts $GNU_ROOT/dev/pts
mount -o bind /sys $GNU_ROOT/sys
mount -o bind /proc $GNU_ROOT/proc
mkdir $GNU_ROOT/run/resolvconf
rm $GNU_ROOT/run/resolvconf/resolv.conf
for i in 1 2 3 4; do
ns=`getprop dhcp.wlan0.dns$i`
if [ $ns ]; then
echo nameserver $ns >> $GNU_ROOT/run/resolvconf/resolv.conf
fi
done
chroot $GNU_ROOT /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -l
umount $GNU_ROOT/proc
umount $GNU_ROOT/sys
umount $GNU_ROOT/dev/pts
umount $GNU_ROOT/dev
Do you know if your ubuntu implementation works for the tf300t?
Thanks!
What I meant is: Do you think it's possible to use cb22's kernel (used to boot his arch implementation) and ramdisk on the tf300 and chroot to this ubuntu's init?