You need to generate the swap partition using: mkswap /dev/hda2
Then the 'swapon /dev/hda2' command should work. Cheers, Trevor Nick W said: > Ok, so in an old thread someone mentioned my out of memory problem was > because > I wasnt enabling swap. Ive been working on a boot disk [its an old machine > no > cd-boot] that allows me to do this. After many tries Im so very close but > its > being stupid. Heres the output from various commands... > > [EMAIL PROTECTED] /dev/hda2 > unable to find swap-space signature > swapon: /dev/hda2: invalid argument > //thats odd...so I take a longshot > > //dont know if this is even feasable > [EMAIL PROTECTED] -t swap swap /dev/hda2 > mount: unable to mount /dev/hda2: no such device > //interesting, so now I want to find where hda2 dissappeared to > //by the way swap is listed in fstab and is correct. > //but is not working on boot obviously > > [EMAIL PROTECTED] -l /dev/hda2 > brw-r----- 1 root root 3, 2 Nov 20 2003 /dev/hda2 > > [EMAIL PROTECTED] > /dev/ram0 on / type ext2 (rw) > proc on /proc type proc (rw) > /dev/hda1 on /mnt/gen type ext2 (rw) > //note it sees hda1 > > [EMAIL PROTECTED] hda > //then I press p to list the partition table > > Disk /dev/hda: 255 heads, 63 sectors, 527 cylinders > Units=cylinders of 16065 * 512 bytes > > Device Boot Begin Start End Blocks ID System > /dev/hda1 1 1 447 3590496 83 Linux Native > /dev/hda2 448 448 527 642600 82 Linux Swap > > so as it stands, Im clueless...is there a mkswapfs command? > > thanks, > > -- > Nick W ([EMAIL PROTECTED]) > Registered Linux User #324288 (http://counter.li.org) > MSN Messenger: [EMAIL PROTECTED] > Yahoo: foolish_gambit > ICQ: 303276221 > > > _______________________________________________ > clug-talk mailing list > [EMAIL PROTECTED] > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > > _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

