0 Members and 1 Guest are viewing this topic.
# /mnt/usb/usr/bin/nano/mnt/usb/usr/bin/nano: can't resolve symbol 'stat64'# /mnt/usb/usr/bin/startx/mnt/usb/usr/bin/startx: line 202: /usr/bin/mcookie: not foundCouldn't create cookie
mount --bind /dev /mnt/devmount --bind /sys /mnt/sysmount --bind /proc /mnt/procmount -t devpts none /mnt/dev/ptschroot /mntstartx
Yes that happened to me when I mounted it. What device file did you use?
You can try to Code: [Select]mount --bind /dev /mnt/devmount --bind /sys /mnt/sysmount --bind /proc /mnt/procmount -t devpts none /mnt/dev/ptschroot /mntstartx
I'm using /dev/sda (I hope you don't notice that I have no idea what a device file is )
That seems to mount the drive as read-only filesystem.
user@ixtremeM5850b:~/Downloads$ fsck.ext4 /dev/sdhe2fsck 1.42 (29-Nov-2011)fsck.ext4: Permission denied while trying to open /dev/sdhYou must have r/w access to the filesystem or be rootuser@ixtremeM5850b:~/Downloads$ sudo fsck.ext4 /dev/sdhe2fsck 1.42 (29-Nov-2011)Filesystem did not have a UUID; generating one./dev/sdh contains a file system with errors, check forced.Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary information/dev/sdh: 3320/3784 files (0.5% non-contiguous), 70671/83896 blocks
/dev/sdh contains a file system with errors, check forced.
I used multistrap to get the rootfs, then my Raspberry pi to set it up the rest of the way (like running dpkg)
# Make sure we have the appropriate packages.apt-get install debootstrap multistrap binfmt-support# This package ought to register the appropriate definitions for binfmt-supportapt-get install qemu-user-static# Load binfmt supportmodprobe binfmt_misc# Start a debootstrap that will fail when trying to install the packagesmkdir $DEST_DIRcd $DEST_DIRdebootstrap --verbose --arch=armel sid . http://ftp.fr.debian.org/debian/# Fix it. ln assumes the programs are on the same partition, use cp instead if they aren't.ln /usr/bin/qemu-arm-static ./usr/bin/qemu-arm-static# Start debootstrap again, and while at it, we can add some packages into the mix :)debootstrap --verbose --arch=armel --include=locales,build-essential sid . http://ftp.fr.debian.org/debian/