There are already several good documents describing how to do this, so
I'm not going into any detail. Continue from here when the new system
can boot from its hard disk.
Along the way, be sure to make a floppy that you can boot as well,
since the kernel that the linux setup installs has to be replaced and
accidents can happen during that process. Be sure to install the
development packages and the kernel source.