Using fdisk example for /dev/sda... type n to create a new partition, then pto tell fdisk that you want a primary partition. Then type 2 to create the second primary partition, /dev/sda2 in our case. When prompted for the first cylinder, hit enter. When prompted for the last cylinder, for example type +512M to create a partition 512MB in size. After you've done this, type t to set the partition type, 2 to select the partition you just created and then type in 82 to set the partition type to "Linux Swap". After completing these steps, typing p should display a partition table that looks similar to this:
Disk /dev/sda: 30.0 GB, 30005821440 bytes 240 heads, 63 sectors/track, 3876 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 14 105808+ 83 Linux /dev/sda2 15 81 506520 82 Linux swap then tyoe w to save the partition then create the swap space mkswap /dev/sda2 then add it to your fstab example: /dev/sda2 swap swap defaults 0 0 regs Stan 2009/12/15 Charles . <[email protected]> > Hello All, > Maybe this might sound stupid, but can you create a linux swap partition? > I've tried this using GParted, and I keep getting the attached. > > Charles > > _______________________________________________ > MLUG-list mailing list > [email protected] > http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list > >
_______________________________________________ MLUG-list mailing list [email protected] http://linux.org.mt/cgi-bin/mailman/listinfo/mlug-list

