-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try: fdisk /dev/hda then in fdisk: n (new) p (primary) 4 (partition 4) enter (start at first available cylinder) +128M (create a 128 megabyte partition) t (change type of partition) 4 (change type of partition 4) 82 (set type to swap) w (write partition table to disk) q (quit) Of course, I can't emphasize enough, if in doubt, PRESS CTRL-C. This will kill fdisk without making any modifications to your filesystem ! ( given that you have NOT issued the "w" command !!!!!! ) If you get errors, then you may not have the space available on your hard drive to create a new partition. If you are unable to create a new partition, please post the output of "fdisk -l /dev/hda" with your reply to the list. And remember - IF IN DOUBT, PRESS CTRL-C ! :-) Regards, Tor Sigurdsson
All,
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
TIA, Daniel N.
__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
- -- ______ /---------------------------------------\ \ | Þór Sigurðsson | Tor Sigurdsson | t | | Netmaður | Network Specialist | o | |-----------------------------------------| s | | tosi@rhi.hi.is | i | \---------------------------------------/_____/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1e-SuSE (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6ZMnc6mRH+PEpr2YRAiwlAJsE0hv86xScz8I/l1toS2jsWALkngCgmJCK ADNSCAqnaeE48AEWQFKxXU8= =rA9m -----END PGP SIGNATURE-----