Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-24-2004, 07:04 PM   #1
Registered: Apr 2004
Location: Warrington, Cheshire, UK
Distribution: Linux Mint 19.1 Xfce
Posts: 555

Rep: Reputation: 33
Where to put swap partition

I have a new hard drive and have created three primary and an extended partition. Win XP and backup space have occupied the first two primaries. I want to install Slackware on the remaining space. The question is whether to put swap on the third primary and create logical partitions for /root, /tmp and /home or put /root on the primary. Which would work better? Also, is it worth having /var on a separate partition?
What do you think?

Old 11-24-2004, 07:39 PM   #2
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,162
Blog Entries: 6

Rep: Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836
If you want to boot from it I believe that you will want the /boot or / on a primary partition. Swap can be on a logical. You may want to put /home on a second partition since it is the directory that can be shared. It would also give you space to download large files like iso's to. Make sure that you give the partition that you have /usr space, it is where software gets installed.

For safey you can have /home on a second partition. Then if you somehow need to change the operation partition, you wont loose all your files.

You could also put /usr on a seperate one so that you have lots of room to install software into the future.

I think that you can do it however you like to.
Old 11-24-2004, 11:22 PM   #3
Registered: Sep 2003
Location: Michigan USA
Distribution: Mandrake, DamnSmallLinux, VectorLinux
Posts: 416

Rep: Reputation: 30
Generally I use twice the RAM for swap space and I found Slackware's partition managers to work rather well. I also have always used a / partition and a /home partition.
Although you may not like the distro, Mandrakes partition manager may be worth the download and then exit the install after the partition manager. Mandrake has a auto allocate button for users like me who don't want to worry about what partition goes where, then when you install Slack the partitions are already there for you to use.
Old 11-25-2004, 12:01 AM   #4
LQ Newbie
Registered: Nov 2004
Location: Pisteso
Distribution: Debian Sarge/Sid
Posts: 10

Rep: Reputation: 0
mmm... that had been a loooong time discussion around here...

I think that some of my information is a little out dated, so correct me if Iím wrong.

Swap space is recommended to be twice the RAM, and you could put it on a virtual partition if you like it. But I've a discussion with a sort of conservative friend (considering a some sun os recommendations) that insisted that you needed tree times your ram for swap space, and that it must be a primary partition. Any way, I've never given to much importance to it...

In the other side, I remember reading that if you want to make your system bootable with Linux (Using Lilo or Grub), you will need to allocated the boot partition before a certain block of your hard drive. I believe that if you have windows working on your computer you should try with partition magic, and the software should tell you about that limit Iím talking about.

The funniest way to find it out is to try it.

Enjoy your linux instalation.


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
Should I put the swap partition at the beginning or the end of the drive? mpyusko Slackware - Installation 32 04-11-2011 06:07 AM
Why would I put /home on it's own partition? glenn69 Linux - Newbie 10 08-11-2005 10:50 AM
Where to put swap SBarretDolph Linux - Newbie 11 01-27-2004 12:07 AM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM
Linux put the swap partition on my second HD. Don't want it there. Linux - General 3 09-21-2001 08:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 PM.

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