Finally figured it out, it seems that the install cd booted with a hardened kernel which had chroot chmod restriction enabled. Disabled it in /proc/sys/kernel/grsecurity/chroot_deny_chmod and now it's working.