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)

pichlo 2013-06-30 10:39

Re: Easy Debian Fremantle Beta Testing
 
@fw190, you may need to edit /home/user/.chroot (if I got the path right, I don't have ED installed right now to check). The file is well commented so it's easy to figure out what to do.

fw190 2013-06-30 12:03

Re: Easy Debian Fremantle Beta Testing
 
I have found the file:

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

Now how to tweak it to have it working? ;)

As I understand I have to change to ext3 but that is all

pichlo 2013-06-30 15:22

Re: Easy Debian Fremantle Beta Testing
 
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/mmcblk1p1
#IMGFILE=/dev/mmcblk0p4

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

# 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

Assuming your ext3 partition is mmcblk1p1. Substitute as necessary.

marmistrz 2013-06-30 15:30

Re: Easy Debian Fremantle Beta Testing
 
Posting here the sources.list of Estel's squeeze in case anyone needs it (so that dl of the image isn't necessary)

Code:

# deb http://http.us.debian.org/debian lenny main
deb http://backports.debian.org/debian-backports squeeze-backports main
deb http://ftp.pl.debian.org/debian squeeze main
#deb http://ftp.de.debian.org/debian wheezy main
#deb http://http.us.debian.org/debian squeeze main
#deb http://security.us.debian.org/ lenny/updates main
deb http://security.debian.org/ squeeze/updates main
#deb http://www.debian-multimedia.org lenny main
deb http://www.debian-multimedia.org squeeze main
#deb http://www.debian-multimedia.org sid main
#deb http://http.us.debian.org/debian experimental main
#deb http://packages.tspre.org squeeze main
#deb http://packages.tspre.org sid main
#deb-src http://http.us.debian.org/debian lenny main
#deb-src http://http.us.debian.org/debian squeeze main
#deb-src http://http.us.debian.org/debian sid main

/edit:

@Estel: why did you comment out
Code:

deb http://packages.tspre.org squeeze main
?

/edit2: well, this one is down. As well as debian-multimedia isn't working.

fw190 2013-06-30 17:16

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by pichlo (Post 1355768)
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/mmcblk1p1
#IMGFILE=/dev/mmcblk0p4

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

# 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

Assuming your ext3 partition is mmcblk1p1. Substitute as necessary.

Here is what I did:
-I have ext3 and two swap on my uSD card
-I have downloaded debian-5-chroot-rootfs.tar.bz2
-extracted it to ext3 partition on my sd card (not to a folder - jus on the card)
-I have put the chroot file as you wrote in the apropriate place

While trying to start lxde with icon in menu nothing happens. This means I did something wrong or missed a step or two.

I can start Debian chroot which gives:
Code:

Chroot dir specified: /.debian
/dev/mmcblk1p1 specified in ~/.chroot
Mounting...
using device: /dev/mmcblk1p1
Using ext3 file system
mounting device: /dev/mmcblk1p1
.
..
...
....
mount: mounting /var/run/pulse on /.debian/var/run/pulse failed: No such file or directory
Everything set up, running chroot...
[root@chroot: /]

Also after inserting the card the cpu is running like mad. Could this be the tracker?

Could someone help?

pichlo 2013-06-30 19:06

Re: Easy Debian Fremantle Beta Testing
 
I'm sorry, fw190, but seriously, what did you expect in 54MB? A golden watch with a water feature? It's a barebone image, meaning you have nothing but the very basic components. Which means basically just the terminal, apt to install additional ppackages and their dependencies (except, IIRC, it was not quite as barebone as I would have liked, ISTR there were some extra packages already included which I had to remove - but I digress).

It looks like your system is running fine. The chroot works and you get a command-line prompt. You drive from there. If you want LXDE, install it. If you want Open/LibreOffice, install it. BTW I suggest starting from editing your /etc/apt/sources.list in your ED root and updating it with current Squeeze (or Wheezy if you feel adventurous) links. I believe the image has not been updated in years and contains some out-of-date hybrid.

I understand that the LXDE or Office icons on the desktop may be a little confusing. That's an unfortunate artifact of ED; Maemo knows nothing about packages you install in ED. So we have to cheat a little and create desktop files manually. Some of them are pre-made for you but it does not mean they point anywhere. For example OpenOffice may need editing to point to LibreOffice or vice versa and you may need to add entries manually for packages that do not have ready-made icons.

fw190 2013-06-30 19:45

Re: Easy Debian Fremantle Beta Testing
 
Hmm maybe I should write it more specific in my post. I have downloaded the 277mb file which after extracting gave more than 800mb and that is why I'm confused that it didn't work with the lxde icon and wrote about it.

pichlo 2013-06-30 20:04

Re: Easy Debian Fremantle Beta Testing
 
Hmm, I have no idea about that one. And I have no way to try out as both my N900s are a bit indisposed right now. Sorry.

Estel 2013-06-30 20:30

Re: Easy Debian Fremantle Beta Testing
 
Quote:

Originally Posted by fw190 (Post 1355786)
Code:

mount: mounting /var/run/pulse on /.debian/var/run/pulse failed: No such file or directory

That one is quite self-explanatory - it seems like you don't have (under Maemo) directory /.debian. Create it.

*If* it still doesn't work after that (and error about /.debian/var/run/pulse not existing still shows up), check, if you have /var/run/pule in the package you've downloaded. If not, there is something wrong with it.

Frankly, I have no clue what this debian-5-chroot-rootfs.tar.bz2 thing is - for sure, ti wasn't created by me. I don't know if you, accidentally, haven't decided to try some qole's unfinished WIP chroot content, not meant for end-users.

You should rather try one of provided images (*.ext3 or *.ext2 files), mount it, and extract it content to your partition.

/Estel

pichlo 2013-06-30 20:35

Re: Easy Debian Fremantle Beta Testing
 
Having gone down the barebone image route myself, I second Estel's suggestion. It is easier to take one of the finished images (Estel's are the best-polished ones) and remove things you don't need. Once done, just copy the content as it is to your target directory or partition. The ready-made images have a lot of the legwork done already, so you don't have to worry about things like key bindings, screen adjustment and what have you.


All times are GMT. The time now is 10:34.

vBulletin® Version 3.8.8