I use VL 5.8 SOHO RC2 and recently came across the step by step guide showing patching of kernel with suspend2 patch and enabling hibernation support on VL standard in one of the threads in this forum. the process went on all fine, till the grub configuration. although its not mentioned but i figured you have to add resume2=swap:/dev/hdxy at the end of the line starting with kernel for the entry for VL (the only OS currently on my system)
this is where the first problem lies. I had installed and re-installed this version of VL quite some time back, and i had created a 1gb swap partition, but i dunno is it because i have 1gb RAM, the setup just would not select the 1gb partition. now the 1gb remains unusable

but that's like another topic...so...now since i don't have a swap partition, what do i write for the resume2=swap:/dev/hdxy
mine disks are sata and they are labelled as sda1, sda2, sda3. i cannot deliberately choose any other partition coz suspend2/hibernate complains that the partition isn't identified as swap.
is there a way to specify RAM as the device or can i create a swap image file of some fixed size?
Thanking in advance