Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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 have done a lot of reading... and some more reading... and some more reading, but I would like some help.
Scenario:
-Dual boot, Win7 & Slackware.
-Win7 already installed
-about 40 gb free for Slack and related partitions.
question is... can I relegate swap to a file location as opposed to a dedicated partition (i.e. /home/swap as opposed to /mnt and mtab). I have 8Gb mem, so how much swap if dedicated partition is "necessary" (I have read good rule of thumb is half of physical, but given space crunch, that seems a bit much).
sorry if this seems stupid, but I have read a bunch of howtos and man pages and cant really glean a definitive answer or feel. I am a total lin/Unix newb.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
yes and no, supposedly there IS a way to create a swap file as opposed to a swap partition, i have never tried and have no way of knowing it, but swap is not formatted in a traditional sense that can be mounted as a file system, so /home/swap won't work swap partitions are to some extent these days, optional, but i would use one anyway since disk space isn't hugely expensive. as for how much? well that's really up to you but i wouldn't make it any bigger then the amount of ram i had.
yes and no, supposedly there IS a way to create a swap file as opposed to a swap partition, i have never tried and have no way of knowing it, but swap is not formatted in a traditional sense that can be mounted as a file system, so /home/swap won't work swap partitions are to some extent these days, optional, but i would use one anyway since disk space isn't hugely expensive. as for how much? well that's really up to you but i wouldn't make it any bigger then the amount of ram i had.
I should have been more elaborate. It is a laptop environement, and I am running on an 80gb ssd.... so the disk space is costlier than mechanical... and at a premium in such a rigid environment... 8gb of swap would deplete my /user /home storage.
Swap files certainly can be used. With 8 Gig of RAM you could get away without swap at all.
Unless you want to hibernate - depending on what software you use, that may require swap to write the saved memory image.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.