Dan Navarro wrote:
Thanks to eveyone who responded to my question on how to extend my swap space. My only problem now is using fdisk to create a new swap space.
I did a 'man' on fdisk to understand it's usage and this is what I came up with, but I am still unable to create the partition. (This partition stuff is definitely not for newbies).
fdisk -s 133056 /dev/hda4
error msg: unable to open 133056
What am I doing wrong?
Here is my current partition settings:
Device Name Frm To Blocks Partition Type ----------- --- -- ------ -------------- /dev/hda1 1 5 20128 83 Linux Native /dev/hda2 6 38 133056 82 Linux Swap /dev/hda3 39 1023 3971520 83 Linux Native
The command you need to type is 'fdisk /dev/hda'. Assuming you have free space after /dev/hda3, use the 'n' command, and answer the questions. If you didn't specify it while creating the partition, you can change the partition type to 'Linux Swap' (type 82) using the 't' command on partition number 4. Use the 'p' command to check that the table looks alright and then you can write it to the disk and quit with 'w'. When you're back at the prompt, you can type 'mkswap /dev/hda4' (assuming your new swap partition is at /dev/hda4) and then add this partition to /etc/fstab in a similar manner to your current swap partition. Finally, do a 'swapon /dev/hda4'. Hope that clears things up, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\