|
2008-08-22
, 18:03
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#82
|
|
2008-08-23
, 00:21
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#83
|
|
2008-08-23
, 02:17
|
Posts: 4,030 |
Thanked: 1,633 times |
Joined on Jul 2007
@ nd usa
|
#84
|
...I tried it but I'm getting endless Cannot open: no such file or directory....
|
2009-11-07
, 01:16
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#85
|
We are assuming you are using (as in: installed and working) Qole's Debian image
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):
qmount /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.
The Following User Says Thank You to qole For This Useful Post: | ||
|
2010-05-11
, 04:48
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#86
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2012-01-02
, 01:57
|
Posts: 124 |
Thanked: 105 times |
Joined on Jul 2010
|
#87
|
The Following User Says Thank You to nman For This Useful Post: | ||
|
2012-02-15
, 09:52
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#88
|
Was reading this old thread trying to set up ED image, and stumbled on super easy way to create ED partition using KDE partition utility...(I was using Kubuntu):
-Download ED image and extract .ext2 file
-Hook up n900 in mass storage mode.
-Open partition utility and make unpartitioned space on SD card big enough for the image (about 2.1 GB)
-Open 'partition' menu and select "restore"
-Choose the ext2 file. Voila, the complete ED partition will be created!
Then just install ED Chroot, and change /home/user/.chroot to point to the partition. The line will look like "IMAGE=/dev/mmcblk1pX" where X is the partition number...ie 1 if it's the first partition on the SD card!
Tags |
chroot, debian, easy debian |
|
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!