|
2008-08-21
, 05:03
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#72
|
|
2008-08-21
, 05:23
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#74
|
It is odd because Maemo auto-mounts it, and then it gets mounted into the chroot, and so there's this weird, infinite-mirror thing going on, where /media/mmc1/media/mmc1/media/mmc1/....etc is a valid directory. A crawler like maemo's metalayer-crawler would wander off into the infinite distance trying to index everything over and over again, slowing down your system...
I strongly suggest using qtparted to shrink your partition "to the right" and add a small partition at the beginning of the card.
|
2008-08-21
, 06:50
|
Posts: 132 |
Thanked: 40 times |
Joined on Jun 2008
|
#75
|
mount -o loop /path/to/currentimgfile /debian
mount /dev/mmcblkxxx /opt
cd /debian /home/user/img-install/tar cf - . | (cd /opt/; tar xvf -)
The Following 3 Users Say Thank You to D'ohboy For This Useful Post: | ||
|
2008-08-21
, 08:04
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#76
|
Make sure you sudo apt-get update before you sudo apt-get upgrade. And if you're getting the dpkg error code, I bet you a buck it's choking on hal or dbus, and I've given the hack for hal and you can safely uninstall dbus (apt-get remove dbus).
|
2008-08-21
, 08:09
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#77
|
I had to hack hal to get it to install (put "exit 0" as the first line of /var/lib/dpkg/info/hal.preinst and /var/lib/dpkg/info/hal.postinst then run "apt-get -f install" to finish getting everything installed)...
#!/bin/sh exit 0 set -e etc.
#!/bin/sh "exit 0" set -e
|
2008-08-21
, 13:48
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#78
|
|
2008-08-22
, 08:15
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#80
|
Tags |
chroot, debian, easy debian |
|
Note: my Debian partition is on /media/mmc1 (only 1 partition: 100% of the external card). Why is that odd?