View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#94
Ok, as root, I had to do the mount command
Code:
mount -t jffs2 /dev/mtdblock4 /debian
(you might need to mkdir /debian first)


Then I had to use my very newest version of the chroot scripts to chroot in. You need the new version, otherwise you could overwrite important files.

The /home/user/.chroot file needs this:
Code:
IMGFILE=/dev/mtdblock4
IMGFS=jffs2
It will fail to mount the partition, but you've already mounted it manually, and then it works.

I was able to do apt-get -f install in the chroot, and it installed then rebooted automatically... back to my flash partition! Yay!

Note, I cleared some space to get it to finish the install... You'll need to do it too, if you're in this boat.
__________________
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!