maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

freekyfrogy 2009-01-29 00:51

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
YES!!!!! It works!!!!! Oh yeah, thank you SO MUCH man!

andrewfblack 2009-01-29 13:33

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
qole when using Debian installer I get an error why extracting. Tar Failed (Maybe out of space error) but there is over 3.5GB left. I tried to see if I could extract it manually but I get an error then as well when the extracted file is about 1.1GB The downloaded file is 314mb got any ideas?

qole 2009-01-29 17:30

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Andrew: I don't know why you'd have problems with your image file. Like you said, the extracted file is 1.1 GB, the tar file is 314 MB, and those two combined are still a lot smaller than 3.5GB. I can't imagine that you'd have problems downloading it, since it is hosted on your server...

When you try to extract it manually, using the following command, what is the error?
Code:

tar xjvf debian-final.tar.bz2 .

andrewfblack 2009-01-29 18:28

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 260815)
Andrew: I don't know why you'd have problems with your image file. Like you said, the extracted file is 1.1 GB, the tar file is 314 MB, and those two combined are still a lot smaller than 3.5GB. I can't imagine that you'd have problems downloading it, since it is hosted on your server...

When you try to extract it manually, using the following command, what is the error?
Code:

tar xjvf debian-final.tar.bz2 .

I get invalid option --j

qole 2009-01-29 18:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by andrewfblack (Post 260832)
I get invalid option --j

That sounds like you don't have "real" tar. That's odd, since I made my Easy Debian package depend on it.

Try installing tar manually, using:

Code:

sudo apt-get install gnutar
If you get errors from that, please post the output of

Code:

apt-cache policy gnutar
I'd also be curious to know what version of easy-deb-chroot you've got:

Code:

apt-cache policy easy-deb-chroot

andrewfblack 2009-01-29 19:06

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I have 0.9.12 installed I have gnutar version 1.20-1maemo4 if i try gtar instead of just tar I get the 1.1GB file but I get error at end something about not being able to change permission.

qole 2009-01-29 19:24

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
A permission error is harmless (it can't set permissions on the file since it is a fat32 filesystem which doesn't support permissions), and you should be able to proceed to use the extracted image file.

andrewfblack 2009-01-29 19:31

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 260849)
A permission error is harmless (it can't set permissions on the file since it is a fat32 filesystem which doesn't support permissions), and you should be able to proceed to use the extracted image file.

Tried what all do I need to do to open the programs that come with it?

qole 2009-01-29 19:37

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by andrewfblack (Post 260851)
Tried what all do I need to do to open the programs that come with it?

Well, the icons that were added to your menu should all work, and you should be able to run applications by using the command "debbie <appname>" ...

If nothing seems to be working, please do like I asked in a previous post:

Quote:

Originally Posted by qole (Post 260633)
Open a new terminal, and type the following two commands:

Code:

sudo closechroot
sudo debian

post the results.


andrewfblack 2009-01-29 19:52

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Setting up the chroot...
using device: /media/mmc1/debian-final.img.ext2
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File existsUsing ext2 file system
insmod: cannot insert '/mnt/initfs/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
using /media/mmc1/debian-final.img.ext2 on the turbo-loop ;)
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-mod.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21-omap1/dm-loop.ko': File exists (-1): File exists
device-mapper: create ioctl failed: Device or resource busy
Command failed
mount: mounting /dev/dm-0 on /debian failed
.
mount: mounting /dev on /debian/dev failed
mount: mounting /proc on /debian/proc failed
..
mount: none is write-protected, mounting read-only
mount: mounting none on /debian/dev/pts failed
mount: mounting /tmp on /debian/tmp failed
mount: /var/tmp is write-protected, mounting read-only
mount: mounting /var/tmp on /debian/var/tmp failed
...
mkdir: cannot create directory '/debian/media/mmc2': Permission denied
mount: /media/mmc2 is write-protected, mounting read-only
mount: mounting /media/mmc2 on /debian/media/mmc2 failed
mkdir: cannot create directory '/debian/media/mmc1': Permission denied
mount: /media/mmc1 is write-protected, mounting read-only
mount: mounting /media/mmc1 on /debian/media/mmc1 failed
....
mount: /home/user is write-protected, mounting read-only
mount: mounting /home/user on /debian/home/user failed
mount: /var/run/dbus is write-protected, mounting read-only
mount: mounting /var/run/dbus on /debian/var/run/dbus failed
touch: /debian/tmp/chroot-complete: Permission denied
Everything set up, running chroot...
chroot: cannot execute /bin/sh: Permission denied

qole 2009-01-29 20:32

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi Andrew,

You're going to need to reboot your tablet and run "sudo debian" again; there's too much "noise" here for me to figure out what's going on. This bit bothers me, however; it suggests that there's something wrong with the setup of your turbo-loop...

Code:

device-mapper: create ioctl failed: Device or resource busy
Command failed


andrewfblack 2009-01-29 21:06

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
what do you know reboot fixed it

qole 2009-01-29 21:58

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Weird how suddenly there's a flood of problems... are people suddenly starting to use this more for some reason?

freekyfrogy 2009-01-29 22:33

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
dreams CAN come true...

STANUL 2009-01-29 22:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hello Qole,
First of all thank you for the nice port.
One question:
Is there any way to download new applications on the card instead of main memmory?
I tried to install several applications on Debian.
Few worked (smaller ones) such as gpodder, but larger ones , such as Evolution failed to install becouse I ran out of memmory in the main Nokia memory.
Is there any solution?
Thank you again.

qole 2009-01-29 23:25

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by freekyfrogy (Post 260889)
dreams CAN come true...

They're using this at DISNEY WORLD!?!?

Or maybe people are discovering they can meet hot chicks by using Easy Debian?

http://www.handcellphone.com/wp-cont...-in-2008-2.jpg

qole 2009-01-30 00:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by STANUL (Post 260892)
... larger ones , such as Evolution failed to install becouse I ran out of memmory in the main Nokia memory...

You're not running out of room in "main Nokia memory", you're running out of room in your 1.1 GB image file. You can remove some of the bigger applications to get back some space, using "apt-get remove <application>", or you can grow the image file up to 2GB using resize2fs. There are several tutorials on how to do this in this very thread.

Also, make sure you follow the instructions in the first post for getting back some space using localepurge.

pton 2009-01-30 01:33

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
2 Attachment(s)
Hi Qole, I made my own keyboard-mini.xml -- 2 rows, (almost) full keyboard keys. Feel free to use it or modify it or distribute it. A screen shot is attached.

pton 2009-01-30 01:57

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi Qole, I have one suggestion. Currently, CJK (Chinese, Japanese, Korean) users have the following problems with using maemo-cjk, and it seems there is no solution:
1) maemo-cjk replaces hildon virtual keyboard completely with matchbox-keyboard -- not even switching is possible.
2) in diablo, matchbox-keyboard (with maemo-cjk) cannot work in microb browser -- this force most of the users to drop maemo-cjk completely, and rely on online chinese input (like www.g.cn).

Most of the users are casual user (like me). So actually a Chinese editor is sufficient for occasional usage, and cut-and-paste from the editor can be used at least.

I understand you are splitting your (large) software into 2 part: chroot and debian/ubuntu. May I suggest that besides debian/ubuntu, you compiled one with minimum apps to provide a CJK editor (leafpad). What is needed in that image file is simply leafpad, SCIM (scim-pinyin etc), and matchbox-keyboard. No need LXDE, open-office etc. This can then become a viable alternative to maemo-cjk and solves the above 2 problems. In fact, it also gives users the flexibility to use other input methods, like gcin (let advance users install themselves).

I'm actually using it myself, and I keep the CJK leafpad opened all the time to do away with scim loading time (no impact to battery life). I think many CJK users would appreciate this easy CJK Editor apps :)

qole 2009-01-30 04:16

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
pton: I think you should suggest your idea to pipeline; he has a package that can run various "appliances" like the one you describe. Go to this thread for more info.

andrewfblack 2009-01-30 17:05

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Just had a few questions can the tools bar on lxde be moved to top or bottom of screen. Also is there away to make icon for maemo apps in lxde laucher menu?

qole 2009-02-02 01:36

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
The tool bars can be moved around in LXDE using tap-and-hold (right-click) on an existing tool bar, and you can set where you want it to go there...

The only way to make a maemo launcher in LXDE is via LXDE as Replacement Desktop. This is because most Maemo apps won't launch on a secondary desktop.

matatron 2009-02-02 18:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi. I'm trying to install Easy Debian but got a problem. I installed easy-deb-chroot, then downloaded the image file, the one that is about 300mbs, but then i get this error window:

-------------------------------------------
TAR ERROR
-------------------------------------------
ERROR! ERROR! ERROR!

TAR FAILED!

(MAYBE OUT OF SPACE ERROR)

Unable to install EASY DEBIAN IMAGE FILE
-------------------------------------------

I'm trying to install it on a SD card of 4gb, that currently has 3.5gb of free space. How much free space do i need to install the Image File then???

Also, if this doesnt work... how can I uninstall all the links that appeared with easy debian?

Finally, what happened with Easy Ubuntu?

qole 2009-02-02 18:55

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I would recommend deleting your 300mb tar file and trying the install again.

As for Easy Ubuntu... I'm slowly working away at making a new all-purpose chroot script. I've actually figured out some neat stuff, like determining the file system type of a partition using the "blkid" command. But I confess that it isn't high priority. The Easy Debian framework works fine for Ubuntu, if you know how to set up a partition or image file, and Ubuntu has some new cool apps, but nothing earth-shattering (hey prove me wrong, what super-important thing does Ubuntu have?)

I don't have the same urgency I did when building Easy Debian in the first place, and I have a family and stuff... Also, there's a new device coming out in a few months that might make much of this stuff completely redundant.

But if you're impatient for Ubuntu, grab b-man's Ubuntu rootfs and put it into an empty image file or a partition, then use Easy Debian to use it. My Debian threads are chock-full of advice on how to do this.

EDIT: Here it is. Isn't it cool? Can someone confirm that blkid runs on your tablet (ie it doesn't depend on some exotic package that I've got installed)?

Code:

~ $ export PARTITION="/dev/mmcblk0p2"
~ $ export PART`blkid | grep "$PARTITION" | awk '{ print $NF }'` ; echo $PARTTYPE
"ext2"


matatron 2009-02-02 22:47

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Qole. sorry for my noobness... but i deleted the tar file and runned again the Debian Image Installer, it downloaded again the image, and then gives me the same error,
TAR FAILED!

(MAYBE OUT OF SPACE ERROR)


In the terminal, this is what it says:
Downloading EASY DEBIAN IMAGE FILE package...
tar: invalid option -- j
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) multi-call binary

Image: tar -[czxtv0] [-f TARFILE] [-C DIR] [FILE(s)] ...



and the window i said in the previous post pops up. :S

qole 2009-02-02 23:02

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
matatron: You're having the same problem as andrewfblack... I think someone has changed the tar package so you have to use "gtar" now instead of "tar"...

I'm going to have to issue an update for Easy Debian quickly.

In the meantime, here's a quick fix. Enter these two commands into the terminal, then run the installer again. You shouldn't have to re-download the image file.

Code:

sudo mv /bin/tar /bin/busytar
sudo ln -s /bin/gtar /bin/tar

This replaces the link to the busybox version of tar with a link to the "real" gnutar version.

matatron 2009-02-03 15:47

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
That worked perfectly!!! Thanks Qole.
Just one question more. Iceweasel and gimp seems very usefull to me, but openoffice writer, despite its usefullnes, i dont think that i will be using it a lot.... how can i remove it to free space? with apt-get remove?

dross 2009-02-05 06:53

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 261598)
Ubuntu has some new cool apps, but nothing earth-shattering (hey prove me wrong, what super-important thing does Ubuntu have?)

I think someone (ahem) upthread said that it ran java much better...:-) - DR

qole 2009-02-05 07:08

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Well, OK, Ubuntu runs Java much better, but "much better" is a relative term. Several more Java apps run poorly with Ubuntu Java, as opposed to not running at all with Debian Java.

VirtusRex 2009-02-06 00:23

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hey guys,

Need some help from the experts out there.

I've got openssh setup on my N800, but what I want is to setup openssh on my Deblet running Debian.

I've got Easy Debian turbo-charge edition running from an img file on my sd-card.

How do I setup debian so I can openssh into it and not my N800 Maemo system?

What steps do i need to do?

At first I thought I should stop the openssh process on my N800 and then start LXDE and open a terminal and running openssh within LXDE, would this be the correct course of action?

Thanks,

Virtusrex

qole 2009-02-06 00:38

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
The best way to start up your Debian SSH (replacing your maemo SSH server) is to do the following:

From a maemo terminal

Code:

sudo /etc/init.d/ssh stop
sudo debian /etc/init.d/ssh start

Benefit: X forwarding (of non-maemo apps) works without problems.
Problem: You ssh into your chroot, not into maemo.

VirtusRex 2009-02-06 00:54

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Thanks, I'll give it a try!

qole 2009-02-09 06:38

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Ok, beta-tester types, I've decided to use my own repository instead of extras-devel as a staging area for this next version. So in order to try the newest version out, you need to add my repository to your list of sources. After doing that, you should get easy-deb-chroot version 0.9.13, and it will automatically install my seriously revamped chroot scripts as a separate package, easy-chroot.

I've decided that, due to problems discovered with my packages after I moved them to Extras, I'm going to be patient this time and wait till I get some feedback here before uploading them to Extras. If I don't get any feedback, I'll start another thread. Still no feedback, I'll post something on maemo.org/news, and if there's still no feedback... well, I'll cross that bridge when I get to it.

My repository:
Catalogue Name: Qole
Web address: http://qole.maemobox.org/repository
Distribution: maemo
Components: main

Once I'm sure that these new packages are working smoothly, I'll get my Easy Ubuntu package put together. The beauty of this new system is that Easy Ubuntu and Easy Debian will be able to live side-by-side, and you'll even be able to run apps from both distros simultaneously. That'll be weird.

rocketboy 2009-02-09 16:36

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Using the new repository

Installed and running debian from a 4GB partiton.

Tested Apache and mySQL and all works from chroot fine.

Edit: LXDE window just sits on white screen and nothing else happens.

qole 2009-02-09 19:04

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
rocketboy: thanks for your beta testing. I'll try to get it fixed tonight.

qole 2009-02-10 03:37

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
New version 0.9.14 in my testing repo; fixes rocketboy's LXDE bug.

Keep testing, folks!

Next version will have pton's mini keyboard.

smog 2009-02-11 12:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by qole (Post 263341)
New version 0.9.14 in my testing repo; fixes rocketboy's LXDE bug.

Keep testing, folks!

Next version will have pton's mini keyboard.


on a fresh flash, fresh install of 0.9.14 :

you can go to LXDE one time only.

I boot the nit, log to LXDE, log out of LXDE, back to NIT WM, try to log to LXDE for the second time and it's a no-go.

I have to reboot the n810 if I want to go back to lxde after I logged out of it.

anyway Qole, your application is very polished and usable.

It look like your ubuntu package will also fall in the "must-have" category

a BIG thank you

smog 2009-02-11 12:45

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by smog (Post 263707)
on a fresh flash, fresh install of 0.9.14 :

I boot the nit, log to LXDE, log out of LXDE, back to NIT WM, try to log to LXDE for the second time and it's a no-go.


false alert; happened 3 times yesterday, can't replicate the bug today.

rocketboy 2009-02-11 14:52

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi Qole

Just started to use the Switch to LXDE option and it complains about GTK+ icon theme not properly set but apart from that it appears to function.

Windows need to be expanded and there is a bit of messing around with the screen when you logout of LXDE and then wireless restarts.

Awesome work though!

euphoric215 2009-02-12 04:48

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi! I just got my n810 two days ago and I am really excited by the idea of running Open Office on it. Easy Debian sounds amazing! However, when I try to follow the install instructions in this thread, my n810 crashes. Specifically, I download the package, start the Image Installer, which starts the download... then it gets to anywhere between 1 and 25% (usually around 4%) and freezes. And the n810 reboots.
I tried simply re-initializing the image installer (it gets a tiny bit more then crashes again) as well as downloading the image on my desktop and copying it to my memory card (the image installer freezes while checking to see if the image is good). I never get an error message--it just freezes and reboots--so I have no idea what is causing this! Any ideas/suggestions? Thank you! :)


All times are GMT. The time now is 15:38.

vBulletin® Version 3.8.8