LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-08-2011, 09:19 PM   #1
Poser
LQ Newbie
 
Registered: Sep 2010
Posts: 12

Rep: Reputation: 0
Dual boot newb question re: swap partitions


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.


Thank you much.
 
Old 06-08-2011, 09:28 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.
 
Old 06-08-2011, 09:55 PM   #3
Poser
LQ Newbie
 
Registered: Sep 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frieza View Post
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.
 
Old 06-08-2011, 10:30 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on swap partitions slickrcbd Linux - Laptop and Netbook 8 04-24-2011 08:50 AM
Windows and Linux Dual Boot, swap partitions preeth26 Linux - Newbie 5 02-24-2006 02:02 PM
Stupid question about swap partitions zahadumy Linux - Newbie 6 11-14-2005 12:35 PM
Installation gives dual swap partitions timsch75 Slackware 3 03-19-2004 04:03 PM
Newb dual boot question Renaxgade Linux - Newbie 2 10-20-2003 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration