Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hi i'm very new linux and thinking about installing redhat as a third operating system on my computer!
as i've done some research on it i've read about a 'swap disk' that linux uses and my question is whether i need to create this swap partition myself usind 'fdisk' or some software like partition magic?
I wouldn't use partition magic. At best those tools are graphical front ends for the tools like fdisk. At worst they're something completely different.
When you install linux, it will ask you to create a swap partition. This should usually be around twice the size of your system's RAM. (I have 128MB on my laptop so I created a 256MB swap partition).
Please look around the forum for issues on NTFS and linux filesystems. Mostly NTFS can only be accessed read only (although many people claim to be able to use the experimental read-write driver w/o problems). FAT32 is much more desirable to enable reliable access from linux partitions.
If you're new to linux, try Redhat of Mandrake. Don't go for Slackware or NSA Security Enhanced Linux yet.
Have fun. And before you jiggle partitions make backups of essential stuff.
If you have 512 MB RAM i wouldn't even create a swap partition. I've done this when I only had 256 MB RAM and I did everything in X (except play 3d games) and it ran smooth and wasn't slow at all.
I've recently had a bit of a flame session with someone over at Linux Professional Institute about this - it came up in an exam question, and none of the given answers were correct. There is a curve for the relationship between RAM and swap space.
To understand, you need to look at what swap space is used for and how well it's used by your kernel version. I used to have 1:1 for RAM:swap for Redhat 6.2 and most of the time it did nothing.
By the time 7.1 came around, the swap was being used properly. When your system swaps 'pages' in and out of memory, it obviously needs some dedicated space to do this. When it doesn't have enough, it starts 'thrashing' - swapping pages in and out without doing any work. If you have too much, it just doesn't get used.
Still it's always best to have too much. Hell if you're running a 120GB disk, you won't miss 1GB, even if not all of it's used.
And since 2.2.x I believe linux uses the swap space quite aggresively - as it should. I'd say for a 512MB RAM machine, 700MB swap is good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.