====== Slackware in chroot ====== **20110621** I want to have a 32-bit system running in chroot environment on my Slackware64. I've used such system on Debian using schroot... **20110906** I managed to do this as published [[https://my1azman.blogspot.com/2011/11/installing-slack32-on-slack64-chroot.html|here]]... **20120518** Minor change to the fstab entry for dev, which needs an rbind option so that the pty inside can be valid! Discussed [[https://my1azman.blogspot.com/2012/05/su-in-chroot-linux-stuff.html|here]]. **20120524** This is now part of my slackstuff collection (now known as [[https://github.com/azman/my1shell|my1shell]])... in form of a script called slackroot. **20121031** The path to the chroot installation MUST ALL BE owned by root - or else, users will get a ''Write failed: Broken pipe'' error. //**TODO** A how-to on creating 32-bit chroot on 64-bit Slackware using ''slackroot'' script.// - on my pure slack64 (maintained using getslack/getslackpack) $ ARCH=i686 getslack - create root filesystem using 32-bit packages # slackroot /opt/chroot32 --arch x86 --desk -x - copy user/group info from 64-bit system to chroot32 = will maintain its own login info! # preproot --init /opt/chroot32 - mount bind 'system' paths # preproot /opt/chroot32 - ssh into system to use 32-bit chroot # ssh user@127.0.0.1 - unmount bind 'system' paths # preproot --done /opt/chroot32