Active Topics

 


Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#21
That looks fine until the execute.. there is definitely something corrupt on your filesystem... have to do a re-copy.

I suggest doing it in the terminal so that you can see the output of possible warning or errors to trouble shoot.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#22
I tried editing /home/user/.chroot and put it back to the way it was (pointing to img.ext2 file instead of partition), and I get all the same errors like file already exists -1 etc. etc. but I don't get the last one about /bin/sh and every thing seems to work fine. Do you guys also get that gibberish when first setting up the chroot? I don't seem to remember it before...
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#23
Yes. That's normal.. once the ext2 and ext3 modules have been loaded into the kernel then there is no point in re-loading it.. qole does not do any checks against lsmod to check if they have already been added.. he just runs insmod.. so the terminal is saying it's already there.. nothing to do.

And the /media/usb will only be there if you are using a usb device in host mode.. so it's mounting an empty directory and failing.

Everything else is fine. You'll only see that hte first time you run it on a reboot.. subsequent runs will skip that part.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#24
Ok, thanks. I'm going to reformat my ext2 partition and wait for the tarball.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#25
I agree that there doesn't seem to be any weird errors... I assume you are gaining root before running debian, which is why "sudo debian" doesn't work...

What happens when, after running the debian script, you type "ls /debian" ? Does it list all the directories, like etc, media, root, tmp ?
__________________
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!
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#26
I don't have any Debian installed atm, but yes, both your image file and my ext2 partition would mount fine on /debian/ .
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#27
The upload is taking a very long time... Only half done, expect another couple hours...
__________________
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!
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#28
That's fine. I understand.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
Posts: 137 | Thanked: 71 times | Joined on Mar 2008
#29
Outlining some steps.

Format and make ext2 filesystem on your SD card
fdisk /dev/xxxx
mke2fs /dev/partition#

Mount the current image file
mount -o loop /path/to/currentimgfile /debian

Mount the new sd card
mount /dev/mmcblkxxxx /media/mmc1

Copy all the content of the current filesystem to the new one preserving permissions
cd /debian
tar cf - . | tar xfp - -C /media/mmc1

Unmount All
cd /
umount /debian
umount /media/mmc1

edit /home/users/.chroot
------

IMGFILE=/dev/mmcblk1p2(or whatever yours is)
IMGFS=ext2
CHROOT=/debian
TMPSIZE=2M
DEBUSER=user
-------

I did not alter the /sbin/debian file at all.

Click on the "Debian chroot" menu item and that will bring up the terminal chrooting into /debian and your debian system.

output of my mounted partitions

/dev/mmcblk1p2 7.4G 1.5G 5.5G 22% /media/mmc1
/dev/mmcblk1p2 7.4G 1.5G 5.5G 22% /debian
none 1.0M 68.0k 956.0k 7% /debian/dev
none 2.0M 80.0k 1.9M 4% /debian/tmp
/dev/mmcblk1p2 7.4G 1.5G 5.5G 22% /debian/media/mmc1
/dev/mmcblk0p1 127.7M 112.0M 15.7M 88% /debian/media/mmc2
/dev/mmcblk0p2 6.8G 501.8M 5.9G 8% /debian/home/user

Had the debian chroot partition up and running fine.
 

The Following 5 Users Say Thank You to tekplay For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#30
ok well tar works too..... i mentioned something similar to with gzip and zcat .....nice walkthrough..... id say make a post but if qole is uploading a rootfs then i guess it bcomes unneccessary.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Reply

Tags
chroot, debian, easy debian


 
Forum Jump


All times are GMT. The time now is 14:50.