On Tue, 8 Mar 2005 18:31:45 +0100 Sven Luther <email@example.com> wrote: > On Tue, Mar 08, 2005 at 12:14:14PM +0100, Helge Kreutzmann wrote: > > Hello, > > I finally decided to enable sleep on my laptop. So I got the latest > > patches as posted here on the list, and as I understand the kernel > > documentation, I need a swap partition for it to work. Since I had > > previously read tips to not use swap on a laptop, I had not (yet) > > created a swap partion. > > > > I tried using fdisk. Contrary to fdisk on x86/alpha I could not change > > the partition type of an existing partion. So I deleted an unused one > > and tried to recreate it. But I am never asked for a partition type, I > > always get a "Linux native". When I use "C" instead of "c" I can set a > > partition type, but there is no help on what I can choose here, fdisk > > simply accepts anything, it appears. > > > > So: How do I create a swap partion on ppc? > > USe parted :) Hi, you can create a swap "filesystem" on an existing partition in this way (*be carefull* because this command erase your data in that partition): mkswap /dev/hdaX now you can enable the swap partition with this command: swapon /dev/hdaX and now you can change the configuration in /etc/fstab Bye, MB -- Q: Do you know what the death rate around here is? A: One per person.
Description: PGP signature