Want to create the SWAP now, but FC6 Installation done without
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!
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.
Want to create the SWAP now, but FC6 Installation done without
Hello, I am trying Linux after 2003 & still a newbie. [searched for similar threads but available ones
are not on FC6 & bit confusing, hence post this new]
1. I just installed Fed. Core6 to a 21GB partition named 'SDA12'. In this process, I had to skip the SWAP as I didnt know how to create one.[I have WinXP as my primary OS]
Can I create it now?
2. What should be the correct procedure to create one when installing FC6? When I tried to create the SWAP in '/' it didnot allow me saying not enough space!
swap would be created by default, there is no special way to do it. swap is conventionally it's own partition, it's not created in / or anything, it's in a different primary or logical partition completely. if you don't have spare unallocated disk space i'd say that it's too late at your level to create a partition, but you can create a swap *file* instead...
this will create a 512mb file and then convert it to swap space.
this will create a file as you seemed to be expecting, but is less desirable due to the overhead of going through a parent filesystem. but it'll work. once that's done just add a line to /etc/fstab...
/swapfile swap swap 0 0
and on reboot it should load. you can also directly load it with...
On which file I apply your command instructions..? Honestly,
I do not know when/where to try this.. Is it a script that I have to edit in vim first & save & run??
FC6 boots & works fine, so shall I use it like that or do I really need to create
a swap file due to any special reasons??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.