4.4. The Final Test

To get the KuroBox to try booting our new image on the HDD we need to modify some flash data which tells the booting mechanism to load the image off the HDD instead of using the reserve mode image:

# echo -n "OKOK" > /dev/fl3
# reboot
       

We now wait a couple seconds. Wait for the LINK/ACT light to blink. Then from our development PC...

[trevor]$ telnet 192.168.x.y
Trying 192.168.x.y...
Connected to 192.168.x.y.
Escape character is '^]'.
(none) login: root
BusyBox v1.00 (2005.01.14-05:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ # mount
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
none on /dev/pts type devpts (rw)
~ # hello
Hello, world!
~ # ldd /bin/hello
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0ffd3000)
        libc.so.6 => /lib/libc.so.6 (0x0fe70000)
        /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)
~ # 
       

YEA!!!

Note

We didn't setup any password with this system so all you have to do is type root at the login: prompt and you'll get a virtual terminal.