The Following User Says Thank You to jayden For This Useful Post: | ||
|
2009-04-02
, 18:28
|
Posts: 155 |
Thanked: 11 times |
Joined on Sep 2007
@ Canada
|
#2
|
|
2009-04-02
, 19:07
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#3
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-04-02
, 22:19
|
Posts: 155 |
Thanked: 11 times |
Joined on Sep 2007
@ Canada
|
#4
|
Sorry I missed this thread until now.
You can use PenguinBait's console-tools to do the partitioning...
And why is Evince for Debian better than Evince for Maemo?
|
2009-04-03
, 19:41
|
Posts: 155 |
Thanked: 11 times |
Joined on Sep 2007
@ Canada
|
#5
|
So to update the step-by-step by Maxoueb with the suggestions from Qole
We are assuming you are using (as in: installed and working) Qole's Debian image (debian.img.ext2, that can be downloaded from here: http://qole.maemobox.org/easy-deb-ch....6-2_armel.deb ).
1 --------
First step: create a new partition/format your memory card.
(easiest way: mount your card on a linux box, use GParted to resize/create the new ext2 partition)
Put back the card in your device, boot it up.
2 --------
Mount the current Debian image:
With this command (as root):
Code:mount -o loop /path/to/currentimgfile /debian
Mount the new formatted partition:
4 --------Code:mount /dev/mmcblkxxx /opt
Copy the whole content of /debian to your freshly formatted partition.
In the present case:
5 --------Code:cd /debian /home/user/img-install/tar cf - . | (cd /opt/; tar xvf -)
Restart device
6 --------
Edit /home/user/.chroot (as root: "vi /home/user/.chroot" ). Note that "IMGFILE=/dev/mmcblk1p1" needs to be modified to meet your needs (ie. replace "mmcblk1p1" to the ext2 partition you created)
# Sample config for chroot
# Device or image containing Debian filesystem.
# Default: first in /media/mmc[12]/debian*.img*
IMGFILE=/dev/mmcblk1p1
# 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: 2M
TMPSIZE=2M
# Debian user to drop privileges
# Default: user
DEBUSER=user
7 --------
You can remove the debian.img.ext2, as it's no longer needed)
8 --------
Tap on the "Debian chroot" menu item. If everything went well, you should see it mount the Debian image from: /dev/mmcblk1p1 (or whatever partition you have chosen)
I found that there was no need to edit the /sbin/debian only the chroot.
|
2009-04-03
, 23:12
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#6
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-04-05
, 04:48
|
Posts: 155 |
Thanked: 11 times |
Joined on Sep 2007
@ Canada
|
#7
|
Tags |
debian, easy debian |
|
1. OS
my understanding is the N800 still boots into OS2008. I cloned OS to internal card. is it ok to install and to run easy debian if N800 boots up from memory card instead of flash?
2. partitions:
in order avoid space limitation, i am intended to partition memory card like this:
dos
ext2 for OS2008
ext3 for easy Debian
swap
is it possible? if yes, can i choose the 3rd partition to install easy debain?
3. what is good PDF reader for easy debian?
thanks in advance.
Palm 500, m505, Sony NR70V and N800 newbie.
8G internal card has 512M dos + 3.0G ext2 for clone os + 3.5G ext2 for easy Debian (just file system, easy-deb-chroot uninstalled) + >512 swap.
**************************
with the help of others and my effort to google internet, I solved some confusions. this is my experience.