Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You have a couple of options. You can create a swap file similar to what windows uses or create an additional swap partition.
The swap file will be slower then a new partition but easier to configure.
To create a 20MB swap file:
dd if=/dev/zero of=/usr/local/newswap bs=1000000 count=20
chmod 600 /usr/local/newswap
Add to your /etc/fstab file
/usr/local/newswap swap swap defaults 0 0
You can change the file name and location as desired.
To create an additional swap partition you will need to resize an existing partition to create some free space and then create the swap partition. linux as a couple of apps to resize, parted or the GUI qtparted. Once the swap partition is created you can use the previous steps starting with the mkswap command but instead of the file name use the swap partition ID i.e.
mkswap /dev/hdax. (Where x is the partition ID number)
Distribution: Fedora Core 1, Red Hat 9, SUSE 9.2 Pro
You've given me re-assurance that I don't need to format! So, since I'm a newbie, is the second option how I would resize my SWAP partition? Also, on the first option do I just type in what you typed? THANKS ALOT!
QTparted should work with RH but you can not modify partitions that are mounted. You can use the RH 1st install CD and boot to rescue mode but you will only be able to run the command line parted. I think that QTparted is included on knoppix which is a liveCD linux version.
You can resize swap but I my suggestion was to create a 2nd swap partition just to make things easier.