Enableing swap partition on install

Hi, I am trying to set up a linux on a older machine 133 with only 16Mb of ram, but after the install starts in prints an error that I have not enaugh memory. I have made a swap partition of 200Mb but it does'nt mouts it automaticaly. I have tryed to pass the kernel the 'swapon /dev/hda5' but thoes'nt seems to work either. On other places I have found that I should write the 'swapon /dev/hda5'  but does not specifiy where. Actualy I am looking for the kernel param that would enable swap automaticaly and I could continue with my install
Thanx in advance!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try installing using text mode.  

Most distributions use a ram disk and syslinux for the actual install program so they won't use a swap partition on the harddrive.
XumxumAuthor Commented:
I was installing in text mode!

   First, please run "fdisk -l /dev/hda" to check partition /dev/hda5 is swap type (id 82)
     Device Boot    Start       End    Blocks   Id  System
/dev/hda5   *         1       255   2048256   82  Linux swap   <== Id is 82

   Then edit /etc/fstab and add:
/dev/hda5               swap                    swap    defaults        0 0

   Besides, you can add "swapon /dev/hda5" in
/etc/rc.d/rc.local     for (Fedora/RedHat)
/etc/rc.d/boot.local  (SuSE)
/etc/init.d/local  (Debian) (If not there, create one with first line "#!/bin/sh" )
to turn on swap at boot.

   Which Linux do you use? RedHat or Mandrake ?

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

XumxumAuthor Commented:
I can't install it , so therefore I can't edit /etc/fstab or any other files... daaa ,that is my problem , that I can't install it! And it is surely a swap partition, I have mounted it and used it under knopix (bootable linux from cdrom) By the way, I am trying to set up RedHat 7.3, but I would like to set up fedora 3 but my machine won't boot fedora 3 only redhat 7.3., that would be my other problem!
> would like to set up fedora 3 but my machine won't boot fedora 3
Fedora has some issues with old CDROM. As for your P133 16MB RAM, I'm not sure it meet the hardware
requirement of Fedora. If it meets, then Fedora will be very very slow.

You can install Knoppix on hard disk, too.

Or customerize your Knoppix CD:


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
As far as I know you can't get the installer to use a swap partition. You might be able to install 7.3 by connecting this disk to another machine with sufficient memory, but it will be terribly slow. I'd suggest looking around for some used memory. For a machine of that age it should be pretty cheap (or even free).
If you really feel adventurous, you can edit the initial ram disk used during install.

First backup your original iso

Mount the iso image of the first cd
mount -t iso9660 -o loop FC3-i386-disk1.iso /mnt/isoimage

Then go into there and grab the initrd.img file
cp /mnt/isoimage/isolinux/initrd.img /tmp/initrd.img.orig

This is a compressed filesytem image so extract it first
cd /tmp
cp initrd.img.orig initrd.gz
gunzip initrd.gz

Now mount the filesystem image
mount -o loop ./initrd /mnt/somewhere

go into /mnt/somewhere and make any changes you want
when you are done:
unmount /mnt/somewhere
gzip initrd
mv initrd.gz initrd.img

cp initrd.img /mnt/isoimage/isolinux/
umount isoimage
burn cd with new iso image
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.