You'll be right there. The battery will be lucky to last day on a full OS. Its not designed to run on a battery so small.
#!/bin/bash
#Script to start ubuntu image on SGS
su
if `test -d /data/local/mnt` ; then
echo "/data/local/mnt"
else
mkdir /data/local/mnt
fi
export HOME=/root
export USER=root
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
mount -o loop,noatime -t ext2 ubuntu.img /data/local/mnt
sleep 3
mount -t proc proc /data/local/mnt/proc
mount -t devpts devpts /data/local/mnt/dev/pts
chroot /data/local/mnt /bin/bash
I apologize, it seems something went wrong with the upload. I have uploaded a new zip file and have updated the download links on the blog. I am still not authorized to submit links here so I have to ask you to go to my blog for the download link.
Anything worth while? I tried finding sites that list arm linux programs, but couldn't find anything.
apt-cache search xyz
yeah, it looks cool and you can do a lot of things you can do on a full pc! regarding performance: the guy from nexus-one-hacks compares it with a slow netbook and i think i can agree with that. but keep in mind that it runs parallel with android!
I apologize, it seems something went wrong with the upload. I have uploaded a new zip file and have updated the download links on the blog. I am still not authorized to submit links here so I have to ask you to go to my blog for the download link.
I apologize, it seems something went wrong with the upload. I have uploaded a new zip file and have updated the download links on the blog. I am still not authorized to submit links here so I have to ask you to go to my blog for the download link.
hi,
i used your img-file and got it running in the terminal, but i'm struggling with the vnc... is there an "auto-starting" vnc server in the img? what's the password?
thanks
export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 800x480
1
sudo adb shell
2
cd /sdcard
3
mkdir ubuntu
4
exit
1
sudo adb push ubuntu.img /sdcard/ubuntu
2
sudo adb push startA_ubuntu.sh /sdcard/ubuntu
3
sudo adb push stopA_ubuntu.sh /sdcard/ubuntu
1
su
2
cd /sdcard/ubuntu
3
sh startA_ubuntu.sh ubuntu.img
Step 4:
1
exit
2
sh stopA_ubuntu.sh
It ssems you have a weird allocation style on your device. Just try running the commands manually, typeHi ravOr,
thanx for the answer but I still get the same error :
Code:./adb shell $ su # cd sdcard # cd ubuntu # sh startA_ubuntu.sh ubuntu.img /data/local/mnt failed. mknod: /dev/loop/0: No such file or directory losetup: /dev/loop/0: No such file or directory Usage: mount [-r] [-w] [-o options] [-t type] device directory mount: No such file or directory mount: No such file or directory chroot: can't execute '/bin/bash': No such file or directory
I couldnt figure out how to fix this..