Since most laptops only have one IDE hard disk, and all known NoteBIOS configurations will only look to the first bootable hard drive anyway, the default value for device is correct for most cases.
In order to properly prepare a hard disk for suspend-to-disk on your laptop, you will need to make sure there is enough space free to accommodate an additional hibernation partition. The hibernation partition must be a primary partition (1-4), and the required size will be determined by the amount of physical and video RAM in your laptop. To determine the size you need to make the partition, the following calculation is a good rule of thumb:
Alternately, you can run lphdisk --probeonly to have lphdisk attempt to determine your memory requirements and calculate a reccomended partition size for you.
Having created a primary partition of the proper size using a disk partitioning utility, you should set it to type A0 hex (identified by fdisk as "IBM ThinkPad Hibernation", though "Phoenix NoteBIOS Hibernation" would be a more correct label).
lphdisk will then locate, verify, and format this partition for use. At this point you will need to reboot the system so that BIOS can locate and use the new hibernation partition.
Once the system has been rebooted, you should be able to perform the suspend-to-disk function of your BIOS using the normal procedure ( Fn-F12 on many laptops, though some differ. The apm --suspend command may or may not also do this, depending on the BIOS). You will know it is working properly if you see a Phoenix NoteBIOS screen appear indicating the progress of saving memory to disk before the machine powers off, and a similar screen indicating resume progress when it is started up again (if you do not see this screen, it is likely that the BIOS has entered suspend-to-RAM mode instead, and is not successfully using the hibernate partition).
Patrick D. Ashmore <firstname.lastname@example.org> Alex Stewart <email@example.com>