-bash-3.2# wget http://192.168.1.35/kirkwood-installer-8.sh Connecting to 192.168.1.35 (192.168.1.35:80) kirkwood-installer-8 100% |*********************************************************************************************************************************************************************************************| 39920 --:--:-- ETA -bash-3.2# ls -al drwxrwxrwt 4 root root 160 Jan 1 00:19 . drwxr-xr-x 14 root root 0 Jan 1 1970 .. drwxr-xr-x 4 root root 180 Jan 1 00:00 .cemnt -rw-r--r-- 1 root root 447 Jan 1 00:00 hbplug.log -rw-r--r-- 1 root root 39920 Jan 1 00:19 kirkwood-installer-8.sh -rw-r--r-- 1 root root 24 Jan 1 00:00 resolv.conf -rw-r--r-- 1 root root 272 Jan 1 00:00 smb.conf drwxr-xr-x 2 root root 40 Jan 1 00:00 var -bash-3.2# chmod +x kirkwood-installer-8.sh -bash-3.2# ./kirkwood-installer-8.sh !!!!!! WARNING: PLEASE READ THIS CAREFULLY !!!!!! To boot Debian we will replace the bootloader in the internal memory of the device Due to bootloader limitations, booting the stock firmware will usually not be possible afterwards. Booting third party firmwares like OpenWRT or LEDE will work but installing them is outside the scope of this installer. At least for now. If you lose power while the bootloader is being flashed, your device could be left in an unusable state and require serial connection to recover, please ask for help in the forums. We also need a storage device to install Debian in as the onboard storage of most devices is tiny, please make sure that there is a USB or Sata storage device we can install Debian in. We need at least 1GB of storage space, the faster storage the better. This script will DESTROY ALL EXISTING DATA ON THE STORAGE DEVICE so move all your data off it please. By typing ok, you agree to assume all liabilities and risks associated with running this installer. If everything looks good, type 'ok' to continue: ok Good, now we need to know what device we are working on here is a list, please write the number of the device 00. download and unpack toolbox 01. make a Debian rootfs in a drive 02. test chroot with a printenv 1.Zyxel nsa310 2.Zyxel nsa325v1 or nsa325v2 3.Pogoplug 01 downloading tools and making a rootfs Connecting to pogoplug.s3.amazonaws.com (54.231.168.33:80) wget 100% |*********************************************************************************************************************************************************************************************| 2135k 00:00:00 ETA Connecting to 192.168.1.35 (192.168.1.35:80) busybox 100% |*********************************************************************************************************************************************************************************************| 1578k --:--:-- ETA new PATH is now /tmp/tools total 3732 lrwxrwxrwx 1 root root 18 Jan 1 00:20 [ -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 [[ -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 acpid -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 addgroup -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 adduser -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 adjtimex -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ar -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 arping -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ash -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 awk -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 basename -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 blockdev -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 brctl -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 bunzip2 -> /tmp/tools/busybox -rwxr-xr-x 1 root root 1616492 Jan 1 00:20 busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 bzcat -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 bzip2 -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cal -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cat -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 chgrp -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 chmod -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 chown -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 chroot -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 chvt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 clear -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cmp -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cp -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cpio -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 crond -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 crontab -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 cut -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 date -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dc -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 deallocvt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 delgroup -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 deluser -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 df -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dirname -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dmesg -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dnsdomainname -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dos2unix -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dpkg -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dpkg-deb -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 du -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dumpkmap -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 dumpleases -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 echo -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ed -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 egrep -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 eject -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 env -> /tmp/tools/busybox drwxr-xr-x 2 root root 40 Jan 1 00:20 etc lrwxrwxrwx 1 root root 18 Jan 1 00:20 expand -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 expr -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 false -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fbset -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fdflush -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fdisk -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fgrep -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 find -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fold -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 free -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 freeramdisk -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 fsck.minix -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ftpget -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ftpput -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 getopt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 getty -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 grep -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 gunzip -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 gzip -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 halt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 head -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 hexdump -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 hostid -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 hostname -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 httpd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 hwclock -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 id -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ifconfig -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ifdown -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ifup -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 init -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ionice -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ip -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ipcalc -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 kill -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 killall -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 klogd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 last -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 length -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 less -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 linuxrc -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ln -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 loadfont -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 loadkmap -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 logger -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 login -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 logname -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 logread -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 losetup -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ls -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 lzcat -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 makedevs -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 md5sum -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mdev -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mesg -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 microcom -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mkdir -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mkfifo -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mkfs.minix -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mknod -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mkswap -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mktemp -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 more -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mount -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 mv -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 nameif -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 nc -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 netstat -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 nslookup -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 od -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 openvt -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 passwd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 patch -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 pidof -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ping -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ping6 -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 pivot_root -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 poweroff -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 printf -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 ps -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 pwd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 rdate -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 readlink -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 realpath -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 reboot -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 renice -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 reset -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 rm -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 rmdir -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 route -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 rpm -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 rpm2cpio -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 run-parts -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sed -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 setkeycodes -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sh -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sha1sum -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sha256sum -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sha512sum -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sleep -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sort -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 start-stop-daemon -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 strings -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 stty -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 su -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sulogin -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 swapoff -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 swapon -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 sync -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 syslogd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tac -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tail -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tar -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tee -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 telnet -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 telnetd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 test -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tftp -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 time -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 timeout -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 top -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 touch -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tr -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 traceroute -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 traceroute6 -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 true -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tty -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 tunctl -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 udhcpc -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 udhcpd -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 umount -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uname -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uncompress -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 unexpand -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uniq -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 unix2dos -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 unlzma -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 unzip -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uptime -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 usleep -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uudecode -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 uuencode -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 vconfig -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 vi -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 vlock -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 watch -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 watchdog -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 wc -> /tmp/tools/busybox -rwxr-xr-x 1 root root 2186766 Jan 1 00:20 wget lrwxrwxrwx 1 root root 18 Jan 1 00:20 which -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 who -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 whoami -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 xargs -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 yes -> /tmp/tools/busybox lrwxrwxrwx 1 root root 18 Jan 1 00:20 zcat -> /tmp/tools/busybox # Installing /tmp/tools/e2fsck... /tmp/tools/e2fsck https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/e2fsck https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/e2fsck.md5 /tmp/tools/e2fsck.md5 --2000-01-01 00:20:12-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/e2fsck.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 41 [text/plain] Saving to: `/tmp/tools/e2fsck.md5' 100%[====================================================================================================================================================================================================>] 41 --.-K/s in 0s 2000-01-01 00:20:13 (3.61 MB/s) - `/tmp/tools/e2fsck.md5' saved [41/41] --2000-01-01 00:20:13-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/e2fsck Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 787036 (769K) [application/octet-stream] Saving to: `/tmp/tools/e2fsck' 100%[====================================================================================================================================================================================================>] 787,036 646K/s in 1.2s 2000-01-01 00:20:16 (646 KB/s) - `/tmp/tools/e2fsck' saved [787036/787036] verify file /tmp/tools/e2fsck with md5 /tmp/tools/e2fsck.md5 f598a685e2fb4e3188a09595eeef56e2 f598a685e2fb4e3188a09595eeef56e2 passed chmodding 755 -- /tmp/tools/e2fsck # Successfully installed /tmp/tools/e2fsck. # Installing /tmp/tools/mke2fs... /tmp/tools/mke2fs https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/mke2fs https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/mke2fs.md5 /tmp/tools/mke2fs.md5 --2000-01-01 00:20:16-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/mke2fs.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 41 [text/plain] Saving to: `/tmp/tools/mke2fs.md5' 100%[====================================================================================================================================================================================================>] 41 --.-K/s in 0s 2000-01-01 00:20:17 (4.91 MB/s) - `/tmp/tools/mke2fs.md5' saved [41/41] --2000-01-01 00:20:17-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/mke2fs Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 403201 (394K) [application/octet-stream] Saving to: `/tmp/tools/mke2fs' 100%[====================================================================================================================================================================================================>] 403,201 459K/s in 0.9s 2000-01-01 00:20:19 (459 KB/s) - `/tmp/tools/mke2fs' saved [403201/403201] verify file /tmp/tools/mke2fs with md5 /tmp/tools/mke2fs.md5 bb237804e376529cae5de483c22f6160 bb237804e376529cae5de483c22f6160 passed chmodding 755 -- /tmp/tools/mke2fs # Successfully installed /tmp/tools/mke2fs. # Installing /tmp/tools/nandwrite... /tmp/tools/nandwrite https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nandwrite https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nandwrite.md5 /tmp/tools/nandwrite.md5 --2000-01-01 00:20:19-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nandwrite.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 44 [text/plain] Saving to: `/tmp/tools/nandwrite.md5' 100%[====================================================================================================================================================================================================>] 44 --.-K/s in 0s 2000-01-01 00:20:19 (4.39 MB/s) - `/tmp/tools/nandwrite.md5' saved [44/44] --2000-01-01 00:20:19-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nandwrite Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 29644 (29K) [application/octet-stream] Saving to: `/tmp/tools/nandwrite' 100%[====================================================================================================================================================================================================>] 29,644 --.-K/s in 0.003s 2000-01-01 00:20:21 (8.77 MB/s) - `/tmp/tools/nandwrite' saved [29644/29644] verify file /tmp/tools/nandwrite with md5 /tmp/tools/nandwrite.md5 f286f01cad65fe365a86c4b3efa57375 f286f01cad65fe365a86c4b3efa57375 passed chmodding 755 -- /tmp/tools/nandwrite # Successfully installed /tmp/tools/nandwrite. # Installing /tmp/tools/nanddump... /tmp/tools/nanddump https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nanddump https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nanddump.md5 /tmp/tools/nanddump.md5 --2000-01-01 00:20:21-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nanddump.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 43 [text/plain] Saving to: `/tmp/tools/nanddump.md5' 100%[====================================================================================================================================================================================================>] 43 --.-K/s in 0s 2000-01-01 00:20:22 (3.99 MB/s) - `/tmp/tools/nanddump.md5' saved [43/43] --2000-01-01 00:20:22-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/nanddump Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 26548 (26K) [application/octet-stream] Saving to: `/tmp/tools/nanddump' 100%[====================================================================================================================================================================================================>] 26,548 --.-K/s in 0.003s 2000-01-01 00:20:23 (9.57 MB/s) - `/tmp/tools/nanddump' saved [26548/26548] verify file /tmp/tools/nanddump with md5 /tmp/tools/nanddump.md5 c3a3e5b113e523c71be84e092223e5ed c3a3e5b113e523c71be84e092223e5ed passed chmodding 755 -- /tmp/tools/nanddump # Successfully installed /tmp/tools/nanddump. # Installing /tmp/tools/flash_erase... /tmp/tools/flash_erase https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/flash_erase https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/flash_erase.md5 /tmp/tools/flash_erase.md5 --2000-01-01 00:20:23-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/flash_erase.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 46 [text/plain] Saving to: `/tmp/tools/flash_erase.md5' 100%[====================================================================================================================================================================================================>] 46 --.-K/s in 0s 2000-01-01 00:20:24 (4.19 MB/s) - `/tmp/tools/flash_erase.md5' saved [46/46] --2000-01-01 00:20:24-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/flash_erase Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 25632 (25K) [application/octet-stream] Saving to: `/tmp/tools/flash_erase' 100%[====================================================================================================================================================================================================>] 25,632 --.-K/s in 0.002s 2000-01-01 00:20:25 (11.4 MB/s) - `/tmp/tools/flash_erase' saved [25632/25632] verify file /tmp/tools/flash_erase with md5 /tmp/tools/flash_erase.md5 9039ac5d6445a726dbb3c71bd644ea30 9039ac5d6445a726dbb3c71bd644ea30 passed chmodding 755 -- /tmp/tools/flash_erase # Successfully installed /tmp/tools/flash_erase. # Installing /tmp/tools/fw_printenv... /tmp/tools/fw_printenv https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_printenv https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_printenv.md5 /tmp/tools/fw_printenv.md5 --2000-01-01 00:20:25-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_printenv.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 46 [text/plain] Saving to: `/tmp/tools/fw_printenv.md5' 100%[====================================================================================================================================================================================================>] 46 --.-K/s in 0s 2000-01-01 00:20:26 (5.23 MB/s) - `/tmp/tools/fw_printenv.md5' saved [46/46] --2000-01-01 00:20:26-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_printenv Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 668497 (653K) [text/plain] Saving to: `/tmp/tools/fw_printenv' 100%[====================================================================================================================================================================================================>] 668,497 587K/s in 1.1s 2000-01-01 00:20:28 (587 KB/s) - `/tmp/tools/fw_printenv' saved [668497/668497] verify file /tmp/tools/fw_printenv with md5 /tmp/tools/fw_printenv.md5 7d28314b0d2737094e57632a6fe43bbe 7d28314b0d2737094e57632a6fe43bbe passed chmodding 755 -- /tmp/tools/fw_printenv # Successfully installed /tmp/tools/fw_printenv. # Installing /tmp/tools/etc/fw_env.config... /tmp/tools/etc/fw_env.config https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config.md5 /tmp/tools/etc/fw_env.config.md5 --2000-01-01 00:20:28-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config.md5 Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 48 [text/plain] Saving to: `/tmp/tools/etc/fw_env.config.md5' 100%[====================================================================================================================================================================================================>] 48 --.-K/s in 0s 2000-01-01 00:20:29 (5.87 MB/s) - `/tmp/tools/etc/fw_env.config.md5' saved [48/48] --2000-01-01 00:20:29-- https://dl.dropboxusercontent.com/u/47541136/linux/tools_for_Kirkwood_installer/fw_env.config Resolving dl.dropboxusercontent.com... 45.58.69.37 Connecting to dl.dropboxusercontent.com|45.58.69.37|:443... connected. WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com, Inc./OU=http://certs.godaddy.com/repository//CN=Go Daddy Secure Certificate Authority - G2': Self-signed certificate encountered. HTTP request sent, awaiting response... 200 OK Length: 329 [text/plain] Saving to: `/tmp/tools/etc/fw_env.config' 100%[====================================================================================================================================================================================================>] 329 --.-K/s in 0s 2000-01-01 00:20:30 (31.1 MB/s) - `/tmp/tools/etc/fw_env.config' saved [329/329] verify file /tmp/tools/etc/fw_env.config with md5 /tmp/tools/etc/fw_env.config.md5 2794ab37f51ef51ca840b4f6cab1a08d 2794ab37f51ef51ca840b4f6cab1a08d passed chmodding 644 -- /tmp/tools/etc/fw_env.config # Successfully installed /tmp/tools/etc/fw_env.config. Disk /dev/sda: 32.0 GB, 32017047552 bytes 255 heads, 63 sectors/track, 3892 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 487 3911796 83 Linux /dev/sda2 488 3893 27352064 7 HPFS/NTFS Disk /dev/sdb: 8018 MB, 8018460672 bytes 247 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 15314 * 512 = 7840768 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1022 7825423 83 Linux ok, these are the drives we detected Disk /dev/sda: 32.0 GB, 32017047552 bytes /dev/sda1 1 487 3911796 83 Linux /dev/sda2 488 3893 27352064 7 HPFS/NTFS Disk /dev/sdb: 8018 MB, 8018460672 bytes /dev/sdb1 1 1022 7825423 83 Linux what drive you want to install Debian in? 1. /dev/sda 2. /dev/sdb 1 installation drive is /dev/sda ---unmounting installation drive umount: can't forcibly umount /dev/sda1: Invalid argument umount: can't forcibly umount /dev/sda2: Invalid argument umount: can't forcibly umount /dev/sda3: Invalid argument ---partitioning installation drive install_drive_size is 32.0 we assume this is a hard drive. making a 7 GB system partition, a 1 GB swap partition and the rest of the space becomes a data partition The number of cylinders for this disk is set to 3892. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that the previous content won't be recoverable. The number of cylinders for this disk is set to 3892. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (1-3892, default 1): Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-3892, default 3892): Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (873-3892, default 873): Using default value 873 Last cylinder or +size or +sizeM or +sizeK (873-3892, default 3892): Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (998-3892, default 998): Using default value 998 Last cylinder or +size or +sizeM or +sizeK (998-3892, default 3892): Using default value 3892 Command (m for help): The partition table has been altered! Calling ioctl() to re-read partition table fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy Disk /dev/sda: 32.0 GB, 32017047552 bytes 255 heads, 63 sectors/track, 3892 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 872 7004308+ 83 Linux /dev/sda2 873 997 1004062+ 83 Linux /dev/sda3 998 3892 23254087+ 83 Linux Disk /dev/sdb: 8018 MB, 8018460672 bytes 247 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 15314 * 512 = 7840768 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1022 7825423 83 Linux ---pausing for a bit so ioctl can re-sync partitions ---unmounting installation drive again umount: can't forcibly umount /dev/sda1: Invalid argument umount: can't forcibly umount /dev/sda2: Invalid argument umount: can't forcibly umount /dev/sda3: Invalid argument ---formatting the partitions we created mke2fs 1.41.12 (17-May-2010) /dev/sda1 is mounted; will not make a filesystem here! Setting up swapspace version 1, size = 28008509440 bytes UUID=c1b7c1d7-bd61-4ae0-b5fd-4f4111f68962 mke2fs 1.41.12 (17-May-2010) mke2fs: No such device or address while trying to determine filesystem size ---doing file system check on partitons to be sure that they are ok /dev/sda1 is mounted. WARNING!!! The filesystem is mounted. If you continue you ***WILL*** cause ***SEVERE*** filesystem damage. Do you really want to continue (y/n)? yes rootfs: recovering journal e2fsck: Bad magic number in super-block while trying to re-open rootfs e2fsck: io manager magic bad! e2fsck: No such device or address while trying to open /dev/sda3 Possibly non-existent or swap device? ---mounting partitions Disk /dev/sda: 32.0 GB, 32017047552 bytes 255 heads, 63 sectors/track, 3892 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 872 7004308+ 83 Linux /dev/sda2 873 997 1004062+ 83 Linux /dev/sda3 998 3892 23254087+ 83 Linux Disk /dev/sdb: 8018 MB, 8018460672 bytes 247 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 15314 * 512 = 7840768 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 1022 7825423 83 Linux partition to mount is /dev/sda1 ---checking that the stuff was mounted and writable ./kirkwood-installer-8.sh: line 1015: /tmp/rootfs/testfile.txt: Input/output error Rootfs partition not created! Aborting! -bash-3.2#