Reply
Thread Tools
Posts: 155 | Thanked: 11 times | Joined on Sep 2007 @ Canada
#1
well, I am thinking to install easy debian. please kindly answer some questions:

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.
 

The Following User Says Thank You to jayden For This Useful Post:
Posts: 155 | Thanked: 11 times | Joined on Sep 2007 @ Canada
#2
it looks easy to me to install Easy Debian:
1. install easy-deb-chroot package
2. download the image file tarball
3. untar the image file to the partition
4. modify some files
5. maybe reboot


the reason i like easy debian is because it is running within os2008. and i want some applications, like Evince for Debian.

if it is as easy as i thought, what i need now is to repartition SD without destruction data. I do not have a linux desktop, i do not know how to do it in os2008.
__________________
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.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#3
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?
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 155 | Thanked: 11 times | Joined on Sep 2007 @ Canada
#4
Originally Posted by qole View Post
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?
because i can highlight text in the Debian version, but i can not do that in OS2008.
i will try pmagic live CD to repartition my SD.
thanks
__________________
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.
 
Posts: 155 | Thanked: 11 times | Joined on Sep 2007 @ Canada
#5
this instructions to me tells how to move Easy-Debian after Easy-Debian has already been installed.
does it work if I install easy-deb-chroot package and then download image file tarball and untar it to the destination partition like what i thought in my previous post?

thanks

Originally Posted by D'ohboy View Post
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:

Code:
mount /dev/mmcblkxxx /opt
4 --------

Copy the whole content of /debian to your freshly formatted partition.
In the present case:

Code:
cd /debian
/home/user/img-install/tar cf - . | (cd /opt/; tar xvf -)
5 --------

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.
__________________
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.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
It would be simpler to download this tarball directly, mount your new partition, and then untar the downloaded file directly to the new partition. (the thread you quoted has instructions for this, too; that is in fact what BrentDC was doing)

Mounting the image file and using tar to move the files is fairly messy, and you only need to do that if you've been customizing your Debian system and you don't want to lose your changes.
__________________
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!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 155 | Thanked: 11 times | Joined on Sep 2007 @ Canada
#7
I untar the debian filesystem, modified the file. indeed i went into debian, both debian LX?? and debian chroot.
but the problem happened when i reboot N800, it keeps rebooting, cannot go into OS located in the card but in the flash.
why I reboot? because webbrowser of os2008 cannot browse any website.
how can i fix the problem?
__________________
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.
 
Reply

Tags
debian, easy debian

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:42.