Well... I guess those commands shouldn't work quite right. Can you try the following:
(/dev/hda2 is your Linux partition, isn't it?)
(this command must show you a list of files, not an error - if it does not, something gone wrong)
mount /dev/hda2 /slacktemp
mkdir -p dev proc sys
mount --bind /dev dev
mount --bind /proc proc
mount --bind /sys sys
Have you ever used Vi? It's not as simple, nor it is a rocket science. After you're entered this command, press 'i'. Now you're in the insert mode. You can insert, delete or change your text in this mode as usual.
Find the section which loads your kernel. Something like:
image = /boot/vmlinuz
label = Displayed_Name
root = /dev/hda1
Here '/dev/hda1' (may look different) is the device the kernel tries to mount as a root file system. Delete it and replace it with /dev/hda2. Add a line with 'root=/dev/hda2' with a few leading spaces if it does not already exist.
Press Esc (it usually works) after you're done with editing. Type ':w' (yes, with a colon), then press Enter. Vi will tell you the file is saved. Then type ':q', Enter. Vi will exit after that.
lilo -v -t -b /dev/hda2
lilo -v -b /dev/hda2
The first of the above commands may check if anything goes wrong without actually modifying anything. If anything is allright you may issue the second one. It will make Lilo write a boot sector to Linux partition. You may also do something to make your Windows boot loader boot from Linux partition, but it's just another story
After all above actions are performed, a few commands are left:
umount dev proc sys