NBX Hard Disk Replacement

NBX Hard Disk Replacement

This page is here since there is a total lack of support from 3com.

Warning! This does not work as is

If the hard disk on an NBX 100 dies or get corrupted to the point where it won't work, this may get you going again.

Note, this is a work in progress and may not work properly.

This assumes you have access to a few things.

The first step is prepare the disk. I've got a removable hard drive sled that allows me to quickly remove hard drives. The drive should be set to master/slave or what ever it takes to get it working on the PC. Under linux the drives are labeled /dev/hda, hdb, hdc, hdd. Mine is a slave on the second IDE channel so it is /dev/hdd.

Wipe the disk unless its new. dd if=/dev/zero of=/dev/hdd bs=1Mwill fill it full of zeros. Make sure you get the /dev/hdd bit right, this command will trash a disk with no warning.

Partition the disk. You can use fdisk, cfdisk, sfdisk or fdisk under Windows. You will need to create one FAT16 partition that holds the boot info and copies of the initial files. This partition is about 321 mb on my system. The empty space at the end of the drive will become the htfs partition.

Next you need to copy some files into the dos partition. You can do with with the linux tool mkfatimage16, mcopy or just mount the partition and use cp. Under DOS, just use the "copy" command. Load the CD and unpack the R?_?_?.taz file. Inside that you find a number of files you will need.

Other files may be needed.

Put the drive in the NBX and turn it on. It should normally and give you a nbx100> prompt. If you get complaints about the disk having problmes from the htfsFsck program. You can kill it with the command td nbxTaskInit. You can type that while its displaying info. If your working on a corrupted system, you may need to type this command before the htfsFsck program locks up. If you make a typeo, you must send a real back space (ctrl-H) or a ctrl-C will delete the line to allow you to start over.

Make the htfs partition using the nbxMakeHtfsPartition. This will create the partition and create some directories. There is also a diskInit command and diskFormat may be useful but I don't know how it works. diskInit /htfs0 will reformat the htfs0 partition but only seems to work sometimes while nbxMakeHtfsParition always seems to work.

Next set up the basic IP network with the nbxIpConfig. Answer the questions for your network or take the defaults.

The last step is to restore the data. type cd "/htfs0" to get into the correct area of the disk. You can get a directory with ll or ll "/htfs0/R2_8_8" to list files in a subdirectory. Next type vxtar "xvf","/dos0/R2_8_8/htfs.tar" which will unpack the needed files. Reboot and you should be able to use the web browser interface with the address of http://192.168.1.190/

Then do a software upgrade. If you have a newer version, install it using the web interface and delete the version that you installed on the disk just in case it has unnoticed side effects.



Back to Tim's Homepage Back to current subject Related Links thogard@abnormal.com
 This page was last updated Saturday, 01-Sep-2001 03:04:17 UTC Copyright 2000-2020 thogard™ is a trademark of Tim Hogard