The Following User Says Thank You to qole For This Useful Post: | ||
|
2008-08-10
, 14:37
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#42
|
|
2008-08-15
, 03:49
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#43
|
|
2008-08-15
, 04:24
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#44
|
IMGFILE=/dev/mmcblk0p2
|
2008-08-16
, 04:02
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#45
|
I think when you copied it it didn't copy over permissions... did you use cp -pr or just cp when you ran the copy from the image to the new ext2??
ETA: if this is the case.. it will be easier to start over and run the cp with -pr as root instead of fixing these permissions by hand.
cp: cannot stat '.dev/fd/3/dev/fd/3/dev/fd/3/def/fd/3/def/fd/3/def/fd/3/def/fd/3/def/fd/ [...]' Too many levels of symbolic links
tar cf - . | tar xfp - -C /media/mmc1
tar: can't open 'p': No such file or directory
|
2008-08-16
, 04:07
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#46
|
|
2008-08-16
, 04:58
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#47
|
#Make the tablet's devices available to Debian
echo .
mount -o bind /dev "$CHROOT/dev"
mount -o bind /proc "$CHROOT/proc"
#Gentoo wiki says this will make X work
echo ..
mount -t devpts none "$CHROOT/dev/pts"
mount -o bind /tmp "$CHROOT/tmp"
#Various external devices
echo ...
#FIXME: Should get these from /proc/mounts...
mount -o bind /media/mmc1 "$CHROOT/media/mmc1"
mount -o bind /media/mmc2 "$CHROOT/media/mmc2"
mount -o bind /media/usb "$CHROOT/media/usb"
#Mount the user's home dir
echo ....
mount -o bind /home/user "$CHROOT/home/user"
/home/user/img-install/tar xjvf /media/mmc1/debian-chroot-apps-040608.tar.bz2
/home/user/img-install/tar: bzip2: Cannot exec: No such file or directory /home/user/img-install/tar: Error is not recoverable: exiting now /home/user/img-install/tar: Child returned status 2 /home/user/img-install/tar: Error exit delayed from previous errors
# tar xjvf /media/mmc1/debian-chroot-apps-040608.tar.bz2
|
2008-08-16
, 05:19
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#48
|
|
2008-08-16
, 06:32
|
Posts: 37 |
Thanked: 5 times |
Joined on Feb 2007
|
#49
|
|
2008-08-16
, 15:20
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#50
|
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!