Sean Craig - enigmatis wrote: > Hi All, > > If I can't create a swap partition, but must rely on a swap file on the > filesystem, is it possible to suspend the system (and subsequently recover)? > > This wonderful conundrum comes about as I try to wedge Linux alongside > Mac OSX and Windows on a MacBook. I have 2 gb memory, so I don't really > see that the swap will be used, except for suspend/restore, and I don't > want to waste precious disk space. > > For those not in the know, the Apple MacBook uses EFI, not BIOS, and the > GPT (read: partition table) can only handle 4 partitions. The first > partition is used by EFI, leaving 3 partitions.
Suspend2 www.suspend2.net can suspend to a dedicated suspend file on disk. It's likely to work but it's been tested most on an ext3 filesystem. Of course, it requires a kernel patch. uswsusp (which is the nasty userspace hack for in-kernel swsusp) may be able to to it also, but it's nowhere near as tested or easy to use as suspend2. Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams
