For chrooting in arm file system, first off all you must install the qemu-user-static package. In ubuntu type
1. sudo apt-get install qemu-user-static
2. sudo qemu-debootstrap --arch armel precise arm-for-chroot
Command will be create directory arm-for-chroot.
3. In file arm-for-chroot/etc/sources.list type
deb http://ports.ubuntu.com/ubuntu-ports/ precise main
deb http://ports.ubuntu.com/ubuntu-ports/ precise universe
4. Now you can chroot from your system in arm-for-chroot arm system.
If you already have another arm file system, you can copy all binary files from directory arm-for-chroot/usr/bin/qemu-* to your file system usr/bin/ and after that you can chroot from your system to arm system.
1. sudo apt-get install qemu-user-static
2. sudo qemu-debootstrap --arch armel precise arm-for-chroot
Command will be create directory arm-for-chroot.
3. In file arm-for-chroot/etc/sources.list type
deb http://ports.ubuntu.com/ubuntu-ports/ precise main
deb http://ports.ubuntu.com/ubuntu-ports/ precise universe
4. Now you can chroot from your system in arm-for-chroot arm system.
If you already have another arm file system, you can copy all binary files from directory arm-for-chroot/usr/bin/qemu-* to your file system usr/bin/ and after that you can chroot from your system to arm system.
No comments:
Post a Comment