Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Easy Debian Fremantle Beta Testing

    Reply
    Page 295 of 333 | Prev | 285   293     294   295   296     297   305 | Next | Last
    pichlo | # 2941 | 2013-06-30, 10:39 | Report

    @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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to pichlo For This Useful Post:
    Estel, fw190

     
    fw190 | # 2942 | 2013-06-30, 12:03 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to fw190 For This Useful Post:
    nokiabot

     
    pichlo | # 2943 | 2013-06-30, 15:22 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pichlo For This Useful Post:
    fw190

     
    marmistrz | # 2944 | 2013-06-30, 15:30 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by marmistrz; 2013-07-02 at 11:34.
    The Following User Says Thank You to marmistrz For This Useful Post:
    Estel

     
    fw190 | # 2945 | 2013-06-30, 17:16 | Report

    Originally Posted by pichlo View Post
    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?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by fw190; 2013-06-30 at 17:59.

     
    pichlo | # 2946 | 2013-06-30, 19:06 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pichlo For This Useful Post:
    misiak

     
    fw190 | # 2947 | 2013-06-30, 19:45 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to fw190 For This Useful Post:
    Estel, nokiabot

     
    pichlo | # 2948 | 2013-06-30, 20:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pichlo For This Useful Post:
    nokiabot

     
    Estel | # 2949 | 2013-06-30, 20:30 | Report

    Originally Posted by fw190 View Post
    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Estel For This Useful Post:
    fw190, pichlo

     
    pichlo | # 2950 | 2013-06-30, 20:35 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pichlo For This Useful Post:
    fw190

     
    Page 295 of 333 | Prev | 285   293     294   295   296     297   305 | Next | Last
vBulletin® Version 3.8.8
Normal Logout