FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I started out by making my linux swap partition 1 gb, but now I am finding I dont need that much(I already have 512 mb ram). I am trying to figure out how to shrink this partition to 512 mb, but I cant figure it out. Thanks in advance.
in a console as root type in"fdisk /dev/hda" if it says that fdisk can't be found then type in "/sbin/fdisk /dev/hda" that will open fdisk and the /dev/hda partition table...hit "p" to figure out your partitions and to figure out which one is the swap...then I forget what the key is to resize a partition...should be able to hit "m" to get a list of all the commands...if it's not in the first list hit "x" to get to an advanced fdisk, then hit "m" to get the advanced help list...just search through there for a way to resize a partition.
ok, then try running "/sbin/fdisk /dev/hda" again and delete the swap partition...but before you do that...hit "l" (L) key to list all the usable file systems...I forget what you have to do to make a swap partion...but before you do delete the swap partition make sure you know how you make another swap partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.