This is a stop-gep way of getting a debian enviroinment on thecus systems without touching flash or a working serial cable.
- Follow SSHBackdoor
- Format the disks. I used fdisk + mke2fs, presumably the webui can do that as well.
- Get cdebootstrap-static
- cd /tmp; wget http://nchipin.kos.to/cdebootstrap-static.tar.gz
- or when it gets applied upstream from debian and convert the .deb into tarball (with alien or dpkg-deb + tar czf )
- unpack it: tar xvzf cdebootstrap-static.tar.gz
- ln -s /tmp/usr/share/cdebootstrap/ /usr/share/cdebootstrap
- /tmp/usr/bin/cdebootstrap etch /mnt/ http://ftp.fi.debian.org/debian
- chroot into your debian: LD_LIBRARY_PATH=/mnt/lib /mnt/lib/ld-2.3.6.so /mnt/usr/sbin/chroot /mnt/
- setup /etc/fstab and mount necessary filesystems, as well as /etc/apt/sources.list
Inside chroot, put in your fstab:
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc noexec,nosuid 0 0
none /sys sysfs noexec,nosuid 0 0
And fill you /etc/apt/sources.list normally and /etc/resolv.conf.
Now, you can for example
- apt-get install pbuilder and run pbuilder create