4.2. Installation

We're ready to transfer and install the image to the KuroBox. With /dev/hda1 still mounted, ftp to the box (from your development PC) and upload the image:

[system-base]$ ftp 192.168.x.y
Connected to 192.168.x.y (192.168.x.y).
220 KURO-BOX-EM FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Name (192.168.x.y:trevor): root
331 Password required for root.
Password:
230- Linux 2.4.17 ppc unknown
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /mnt/root
250 CWD command successful.
ftp> put kuroimg.tar
local: kuroimg.tar remote: kuroimg.tar
227 Entering Passive Mode (192,168,x,y,4,3)
150 Opening BINARY mode data connection for 'kuroimg.tar'.
226 Transfer complete.
85084160 bytes sent in 18.6 secs (4.5e+03 Kbytes/sec)
ftp> quit
221 Goodbye.
[system-base]$ 
       

Back on the KuroBox (through telnet) unpack the image:

# cd /mnt/root
# tar -xf kuroimg.tar
       

We no longer need the kuroimg.tar file so we can delete it.

Have a look around your new disk, make sure everything is owned by root, make sure the things that need to be executable have their execute bit set.

There is one more thing to do: copy ppc_uartd from the reserved mode to your new image:

# cp /usr/sbin/ppc_uartd /mnt/root/sbin