I use Fedora 64 bits on my workstation but I need 32 bits chroot of Debian. It is easy to do. Create the chroot following the instructions from: http://blog.parahard.com/2013/03/creating-debian-chroot-inside-fedora.html The first difference is that you need to add --arch=i386 to the debootstrap command. Then for entering the chroot add linux32 as the first argument after sudo. Something like: $ sudo linux32 chroot debian-wheezy After that even uname -a will show 32 bits instead of 64. The linux32 tool is on the util-linux Fedora package.
I use Fedora on the Desktop but I need to do some development on Debian. chroots gives you no performance overhead, while virtual machines gives you CPU and memory insulation. Also the chroot is only a directory on my development tree. I'm using Fedora 17 on my workstation and Debian 7 inside the chroot. The debootstrap command will save the files on the directory debian7-chroot/ under the current directory. 1 - Install debootstrap and dpkg on Fedora: Fedora # yum install debootstrap dpkg 2 - Create the basic Debian: Fedora # debootstrap wheezy debian7-chroot/ http://ftp.fr.debian.org/debian 3 - Enter your new Debian: Fedora # chroot /path/to/destdir 4 - Install additional useful packages: debian-chroot: # apt-get install locales less vim openssh-server sudo aptitude 5 - Configure openssh server to start server on port 2222: debian-chroot: # vi /etc/ssh/sshd_config Chage: Port 22 To: Port 2222 6 - Change root password debian-chroot: # p...
Benchmark results for Samsung S2 Portable 500GB USB 2.0 External HD Performance: Write (K/sec): 34974 ( 52% of the HD Performance of my notebook ) Re-write (K/sec): 17612 ( 59% of the HD Performance of my notebook ) Read (K/sec): 46580 ( 64% of the HD Performance of my notebook ) Seeks/sec: 123.8 ( 164% of the HD Performance of my notebook ) Conclusion: The theoretical speed limit for USB 2.0 would be 60 MByte/sec. The read speed is about 78% of this value wich is not bad. Even not feeling slow, this HD could be faster. About tests: Command line run on both notebooks: # bonnie++ -n 0 -u 0 -r 8192 -f -b -d /media/Peter-ext3/bonnie/ Bonnie 1.96 @ Fedora 15 # hdparm -I /dev/sdb /dev/sdb: ATA device, with non-removable media Model Number: SAMSUNG HM502JX Serial Number: C2271F141A0TE5 Firmware Revision: 2AC101C4 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6 Standards: Used: un...
Comments