maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Easy Debian Fremantle Beta Testing (https://talk.maemo.org/showthread.php?t=34550)

Coffee 2010-08-02 22:25

Re: Easy Debian Fremantle Beta Testing
 
Can anyone please assist me?
Sorry a simpleton when it comes to this sort of stuff and not a linux user. I have downloaded: debian-m5-v3b-rootfs.tar.bz2
I have extracted it and have on my n900 under /MyDocs.
I don't know how to install it on my MicroSD card, partition 3 (mmcblk1p3). Could someone please help me?

ivyking 2010-08-02 23:19

Re: Easy Debian Fremantle Beta Testing
 
on a linux pc : plug your n900 in via usb , select mass storage mode ,using gparted create your partition , mount the volume , using file-roller extract the .tar.bz2 onto your sdcard partition 3 .
you can do the following on the phone , but it will take some time...
open x-terminal and do the following

apt-get install bzip2
cd /home/user/MyDocs/
bzip2 -d debian-m5-v3b-rootfs.tar.bz2

assuming , you have already created and formatted partition 3 on your sdcard , for use by easydebian

cd /
mkdir /easydebian
mount /dev/mmcblk1p3 /easydebian
cd /easydebian
tar xvf /home/user/MyDocs/debian-m5-v3b-rootfs.tar

i hope this is what you needed..

Coffee 2010-08-03 04:16

Re: Easy Debian Fremantle Beta Testing
 
Thanks mate, exactly what I needed, last section as had it all partitioned, extracted and in MyDocs ready.
Cheers

Coffee 2010-08-03 12:13

Re: Easy Debian Fremantle Beta Testing
 
guys,
downloaded, extracted and fully installed on the partiton of the microsd card. So i have rebooted and realise i don't have any of the usual icons on the desktop to load it. does this mean it hasn't installed correctly or need to do something else to load it?

karas38 2010-08-04 15:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 762557)
It works fine for me, provided I use "su - user" which is now provided by "debbie-sue". I need to do that both from the terminal and when running from a desktop item. Correspondingly my gramps.desktop file reads:
Code:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=gramps
Icon=gramps
Exec=debbie-sue gramps
Type=Application


Finaly it works without sue but it's longer than with terminal command debbie gramps.

zeltak 2010-08-06 01:42

Re: Easy Debian Fremantle Beta Testing
 
Hi guys

discovered easy debian today and boy is it a sweet discovery

first of all thx qole for all you work..its truly remarkable

I have 2 questions:

so i have successfully created a nice launcher and i can launch keepassx perfectly (and very fast!!) only problem i cant get the keyboad to work no matter what. i followed all the wiki tricks (power button, the Fix LXDE keyboard" application icon etc..nothing works. since i cant put a pass word i cant use keepassx..is there any solution to that?

also..how does one run a cli app..i tried creating a launcher as i did for keepass x for the cli prog task. i used "debbie task shell" for example in the exec section . the launcher appears but nothing happens when i press it..what am i missing?

thx again

Zeltak

Coffee 2010-08-06 01:49

Re: Easy Debian Fremantle Beta Testing
 
guys,
With the install. Do we have any files on the internal directory not required that we can erase to free space. I noticed a folder /home/user/img-install for example, what about the unextracted image, is it still floating around somewhere?

pkubaj 2010-08-06 14:52

Re: Easy Debian Fremantle Beta Testing
 
How can I make Easy Debian image larger? I decided to upgrade to Squeeze completely, there were some pulseaudio issues, which I eventually had to remove. Everything was going well, then the message about the lack of space. Can it be largened?

soeiro 2010-08-07 13:58

Re: Easy Debian Fremantle Beta Testing
 
Now that Debian/Squeeze is frozen and it is starting to morph into the next debian/stable, is there any chance of building a new image with squeeze?

extendedping 2010-08-07 14:14

Re: Easy Debian Fremantle Beta Testing
 
how I wish one of the smart folks here would make an easy fedora. It took me 2 days to get chroot fedora and rpm and yum seem broken plus when I umount it a df shows tons of errors (so I reboot the phone).

Coffee 2010-08-09 11:31

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by ivyking (Post 773689)
on a linux pc : plug your n900 in via usb , select mass storage mode ,using gparted create your partition , mount the volume , using file-roller extract the .tar.bz2 onto your sdcard partition 3 .
you can do the following on the phone , but it will take some time...
open x-terminal and do the following

apt-get install bzip2
cd /home/user/MyDocs/
bzip2 -d debian-m5-v3b-rootfs.tar.bz2

assuming , you have already created and formatted partition 3 on your sdcard , for use by easydebian

cd /
mkdir /easydebian
mount /dev/mmcblk1p3 /easydebian
cd /easydebian
tar xvf /home/user/MyDocs/debian-m5-v3b-rootfs.tar

i hope this is what you needed..


Mate,
Once completed this. How do you start Easy Debian, I have no icons, so how would I do it via xterm and also close it down?

qole 2010-08-09 15:30

Re: Easy Debian Fremantle Beta Testing
 
Just edit the .chroot file in your N900's /home/user directory. I use leafpad, like so:

Code:

leafpad .chroot
Change the IMGFILE line so it reads:

Code:

IMGFILE=/dev/mmcblk1p3
If you don't have any icons, make sure you have Easy Debian installed. Then you can run, from the terminal:

Code:

sudo debian
That will get you into your partition as root.

Code:

debbie
That will get you in as user.

Cue 2010-08-09 15:47

Re: Easy Debian Fremantle Beta Testing
 
has anybody been able to add hp printer drivers. I tried to install the latest hplip but it fails to extract without giving a reason. anybody else had some success?
here is where i got it from.
http://hplipopensource.com/hplip-web/index.html

extendedping 2010-08-10 04:27

Re: Easy Debian Fremantle Beta Testing
 
I see yum is available doing apt-cache search. what will this do to my easy debian chroot if I install (yes I know I can reinstall but it is time consuming), will it overwrite apt-get, work seperately, kill the chroot? looks like some type of rpm/yum on easy debian would be as close to running a redhat type of system on this n900 for me as my hacking together a chroot fedora just made me relize how good easy debian actually is...

Coffee 2010-08-10 04:54

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 780496)
Just edit the .chroot file in your N900's /home/user directory. I use leafpad, like so:

Code:

leafpad .chroot
Change the IMGFILE line so it reads:

Code:

IMGFILE=/dev/mmcblk1p3
If you don't have any icons, make sure you have Easy Debian installed. Then you can run, from the terminal:

Code:

sudo debian
That will get you into your partition as root.

Code:

debbie
That will get you in as user.

Sorry Qole,
I must have done something wrong or not getting something. I am pretty sure I followed the other members code exactly and now see easydebian listed under my file explorer:
N900
MicroSD
easydebian
All the folders, bin, boot, build, dev etc are listed and it looked to install perfectly. I don't see a .chroot file under /home/user/.
I see:
img-install
MyDocs
imagelist-fremantle-01
photorec.ses
Xorg.0.log

Under /home/user/img-install/
I have debian-installer.sh
Is this the file you are talking about to edit in leafpad?

I am using the debian package you told me to install a few posts back, not the OTA from repo.

Cue 2010-08-10 08:07

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Coffee (Post 781103)

Under /home/user/img-install/
I have debian-installer.sh
Is this the file you are talking about to edit in leafpad?

there should be a hidden file in your home directory called .chroot.

/home/user/.chroot

is the full path.
the contents are below.
Code:

# Sample config for chroot

# Device or image containing Debian filesystem.
# Default: first in /home/user/MyDocs/debian*.img*, /media/mmc1/debian*.img*
# Some examples:
#IMGFILE=/home/user/MyDocs/debian-squeeze-m5.img.ext2
#IMGFILE=/media/mmc1/debian-squeeze-m5.img.ext2
#IMGFILE=/dev/mmcblk1p2
#IMGFILE=/dev/mmcblk0p4

# Filesystem used; must always be set when using a partition.
# Default: from extension of IMGFILE, or ext2.
#IMGFS=ext2

# Mount point for Debian.
# Default: /debian
CHROOT=/.debian

# New /tmp dir size for printing / PDF creation
# Default: 6M
#TMPSIZE=6M

# Debian user to drop privileges
# Default: user
#DEBUSER=user


pingvps 2010-08-10 16:01

Re: Easy Debian Fremantle Beta Testing
 
Hello, firstly thumbs up for this epic achievement, I've had a n900 for a few months now and finally got round to testing out easy debian, and its so much more than I was hoping/expecting!

A random input: on my preferences menu in lxde I have 2 links to synaptic

My only pain was the download, it was floating between 250kb down to less than 20kb a second, took ages to download! If you want a mirror on one or more 1gbps ports pm me qole and I'll set it up.

cfh11 2010-08-10 16:48

Re: Easy Debian Fremantle Beta Testing
 
I was thinking of using easy debian for a file manager on the n900... you have full root access in LXDE right? Any disadvantages/warnings in doing this?

I rather like the windowed desktop view for managing files.

Cue 2010-08-10 17:09

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by cfh11 (Post 781796)
I was thinking of using easy debian for a file manager on the n900... you have full root access in LXDE right? Any disadvantages/warnings in doing this?

I rather like the windowed desktop view for managing files.

I've been doing this for a while now but I don't use LXDE. I just created a shortcut to a script that mounts my samba shares and does a simple

debbie pcmanfm

so I get to browse all my files without the default slow file manager that comes with maemo and without having to launch a full LXDE.

Coffee 2010-08-11 02:33

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by Cue (Post 781235)
there should be a hidden file in your home directory called .chroot.

/home/user/.chroot

is the full path.
the contents are below.
Code:

# Sample config for chroot

# Device or image containing Debian filesystem.
# Default: first in /home/user/MyDocs/debian*.img*, /media/mmc1/debian*.img*
# Some examples:
#IMGFILE=/home/user/MyDocs/debian-squeeze-m5.img.ext2
#IMGFILE=/media/mmc1/debian-squeeze-m5.img.ext2
#IMGFILE=/dev/mmcblk1p2
#IMGFILE=/dev/mmcblk0p4

# Filesystem used; must always be set when using a partition.
# Default: from extension of IMGFILE, or ext2.
#IMGFS=ext2

# Mount point for Debian.
# Default: /debian
CHROOT=/.debian

# New /tmp dir size for printing / PDF creation
# Default: 6M
#TMPSIZE=6M

# Debian user to drop privileges
# Default: user
#DEBUSER=user


My Stupidity, sorry. The .chroot file is their, when I looked I forgot to "Show Hidden Files". Will give it a try

Coffee 2010-08-11 12:37

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by ivyking (Post 773689)
on a linux pc : plug your n900 in via usb , select mass storage mode ,using gparted create your partition , mount the volume , using file-roller extract the .tar.bz2 onto your sdcard partition 3 .
you can do the following on the phone , but it will take some time...
open x-terminal and do the following

apt-get install bzip2
cd /home/user/MyDocs/
bzip2 -d debian-m5-v3b-rootfs.tar.bz2

assuming , you have already created and formatted partition 3 on your sdcard , for use by easydebian

cd /
mkdir /easydebian
mount /dev/mmcblk1p3 /easydebian
cd /easydebian
tar xvf /home/user/MyDocs/debian-m5-v3b-rootfs.tar

i hope this is what you needed..

Guys,
I am sorry for being a pain. I have reflashed all and starting from scratch, fresh clean install. I have partitioned using Ubuntu and the mccblk1p3 is 2.2gb etx2 debian. When I complete the line above highlighted, I get it can't mount invalid argument. If I try umount /dev/mmcblk1p3 i also get the same. what am I doing wrong?

Honza. 2010-08-17 12:12

Re: Easy Debian Fremantle Beta Testing
 
Hi, I have question. I just reflashed N900, installed Easy Debian on clean device, used debian-m5-v3b-rootfs.tar.bz2. Everything is working fine, but i cant do right-clik with holding stylus. In past it was working fine, but not now. Do you know where is the problem? Thanks

pingu 2010-08-17 21:07

Re: Easy Debian Fremantle Beta Testing
 
Hi,
I'm connecting to the internet on my n900 using a usb cable an my pc (usb networking and a DUMMY network) and it works great. But in easy debian it doesn't work, in the connctions under lxde i can see the usb connection and choose it but i still cant access the web from easy debian. I am able to ping to my computer in easy debian but when i try to www.google.com i get unknown host. is there any way i can make easy debian use the maemo's connection?
Thanks

qole 2010-08-17 21:17

Re: Easy Debian Fremantle Beta Testing
 
pingu,

My N900 is dead at the moment, so I'm going from memory, but I think this should work...

After you have the USB network running, but before opening LXDE, perhaps try the following:

1. open Easy Debian by clicking on the red swirl icon
2. close that terminal window.
3. open a Maemo terminal and type:
Code:

sudo synchroot
sudo closechroot
exit

4. run LXDE as normal.

rebhana 2010-08-18 20:56

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 789791)
My N900 is dead at the moment

Sorry to hear that. What has happened?

My N900 got stolen 3 weeks ago, and I got a new one just today, and I'm in the process of restoring everything (fortunately I have rather complete backups of everything).

aligatro 2010-08-18 21:02

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 791009)
Sorry to hear that. What has happened?

My N900 got stolen 3 weeks ago, and I got a new one just today, and I'm in the process of restoring everything (fortunately I have rather complete backups of everything).

Nice you are like the exact opposite of me. xD I never keep backups for anything. (BAD! I know) and I put files all over the place. Good thing that I have a separate partition for /home on my BB linux.

rebhana 2010-08-18 21:14

Re: Easy Debian Fremantle Beta Testing
 
Yup, occasionally it does pay off to make backups! For example, PR1.2 messed up the osso-pdf-viewer, and from my backups I could revert to the good one from 1.1.1. So I heartily recommend backups!

aligatro 2010-08-18 21:20

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by rebhana (Post 791037)
Yup, occasionally it does pay off to make backups! For example, PR1.2 messed up the osso-pdf-viewer, and from my backups I could revert to the good one from 1.1.1. So I heartily recommend backups!

My laziness doesn't let me :D

qole 2010-08-19 22:24

Re: Easy Debian Fremantle Beta Testing
 
My N900 got the dreaded Texrat loose USB port problem and the battery stopped charging.

gabby131 2010-08-19 22:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 792425)
My N900 got the dreaded Texrat loose USB port problem and the battery stopped charging.

NO!!!!! why awesome developers need to loose their n900's!!!???

avidscavenger 2010-08-20 08:16

Re: Easy Debian Fremantle Beta Testing
 
Sorry been too busy to look further into this. But now I have maybe you can help. If I start easy-debian while my SDHC card is mounted, when I exit debian, closechroot executes 'fuser -m /.debian -k' (from /proc) which kills dozens of processes, including the root process(!). Unmounting /.debian/media/mmc1 makes no difference. Neither does unmounting /media/mmc1.

So the problem seems to come down to why fuser seems to think that all these processes are accessing files under /.debian This makes no sense to me.

I also tried using fuser from debian - that made no difference.

Do you have any suggestions for further testing?

qole 2010-08-20 15:00

Re: Easy Debian Fremantle Beta Testing
 
avidscavenger: does your Debian system have a dedicated partition or image file? Or is it just a sub-directory on your SD card? If it is just a sub-directory, then fuser will kill everything in Maemo, because Debian isn't a mounted filesystem. You will have to comment out the fuser line in /sbin/closechroot if you don't do it the "proper" way with a special partition or image file.

avidscavenger 2010-08-21 05:51

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 793091)
avidscavenger: does your Debian system have a dedicated partition or image file?

It's just a standard installation using an image file on /home/user/MyDocs The non-standard thing I do is mount a LUKS-encrypted partition on the SDHC card. If that partition isn't mounted, everything works fine. If it is mounted when I first start easy-debian, then when I run closechroot, fuser tries to kill everything.

attila77 2010-08-21 07:24

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by qole (Post 792425)
My N900 got the dreaded Texrat loose USB port problem and the battery stopped charging.


Rest in pieces. If you can't get you-know-who to fix/replace it, there are (N800 friendly, even) alternatives.

extendedping 2010-08-21 12:49

Re: Easy Debian Fremantle Beta Testing
 
quole broken n900 = no easy fedora = me sad :(

qole 2010-08-21 17:55

Re: Easy Debian Fremantle Beta Testing
 
avidscavenger: I too have recently noticed that there are problems when there are two loop-mounted systems. I will investigate. Thanks for the report.

qole 2010-08-22 23:05

Re: Easy Debian Fremantle Beta Testing
 
New Easy Chroot package in Extras-devel will strip the trailing slash off of the given mountpoint (a trailing slash produced weird results) and multiple mounted loops are handled better.

I don't think I fixed avidscavenger's problem, but I fixed some serious annoyances for me.

avidscavenger: perhaps run "sudo closechroot /.debian" from the terminal and tell me what it says...?

avidscavenger 2010-08-23 02:45

Re: Easy Debian Fremantle Beta Testing
 
1 Attachment(s)
I tried it before and after your upgrade and unfortunately it makes no difference. I've attached the output of running 'mount' followed by starting and exiting 'debbie', then 'mount' a second time followed by 'closechroot'. At that point the connection to the n900 is broken as the n900 reboots.

Cheers Jonathan

mscion 2010-08-23 12:56

Re: Easy Debian Fremantle Beta Testing
 
Hi qole,

Just a couple of minor things.

I was never able to figure out how to move
the My Documents folder, which was partially covered by the top panel, so instead, I put all the stuff showing on the top panel on a left side panel and removed the top panel. Since doing this I've noticed a better response to the stylus when, for instance, I'm in full screen mode and I want to select the file option in open office writer which is in the upper left hand corner of the screen. So you might consider setting up the default version that is downloaded without the top panel.

Anyways, it is really great to have open office available on such a portable device. While the other word processing apps available have some nice features and are useful for making simple text documents, none of the other packages come close in editing capability (fonts, equations ect.) as openoffice.

rebhana 2010-08-24 21:45

Re: Easy Debian Fremantle Beta Testing
 
Yet another example of the usefulness of Easy Debian: On my laptop I've always been using gqview (in lenny) and then its successor geeqie (in the squeeze distribution) as a photo viewer. Now, it just works perfectly with debbie, and I find it quite a bit better than Maemo's native image viewer. At least, it's a useful alternative when the latter turns out wanting.

Borrowing the image viewer icon, one can easily build an additional photo app by a desktop file like
Code:

[Desktop Entry]
Encoding=UTF-8
Name=Geeqie
Exec=debbie "cd /home/user/MyDocs/DCIM;geeqie"
Icon=tasklaunch_photos
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true
Terminal=true
Type=Application
StartupNotify=true

(assuming that geeqie has been installed by first activating the squeeze repository and then doing "apt-get install geeqie" from the Debian chroot).


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8