LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 02-14-2006, 08:51 PM   #1
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Rep: Reputation: 15
How to partition HD for Linux (Slackware 10.2) Installation


I'm a Linux newbie and I'm trying to install Slackware 10.2. What's the best way to go about partitioning my hard drive before installing? I know I need a swap partition, but what other partitions do I need and how do I go about making them? Any help is appreciated.

System specs

Gigabyte GA-BX2000 Mobo
P3 450 Mhz
800 Megs RAM
32 Gb Hard drive (really 160 Gb but Motherboard wouldn't recognize a drive that big--switched jumper to set it at 32 Gb).

Thanks
 
Old 02-14-2006, 09:37 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
You really only need a / and swap.

To make the partitions:
When prompted to log in use root for the user name with no password. Then to partition type fdisk /dev/hda if you are partitioning your primary master drive. Then n for a new partition and fill the rest. Then wq to quit and write. Then setup to run the setup program.
 
Old 02-14-2006, 09:38 PM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
Forgot, here is a nice how to on installing Slackware.

http://www.bitbenderforums.com/vb22/...?postid=311808
 
Old 02-14-2006, 10:21 PM   #4
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
With 800 megs of RAM, how big should I make my swap partition? The tutorial says 1 Gb (256 Mb if space is limited), but I've read that the swap partition should be at least twice the amount of RAM. Should I make the swap bigger than 1 Gb? Also, does the root partition need to be 1 Gb, or is this too generous?
 
Old 02-14-2006, 10:27 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
I rarely touch the swap on my laptop. I would say 512 is plenty.
 
Old 02-14-2006, 11:18 PM   #6
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
Cool, thanks for the info and tutorial link.
 
Old 02-14-2006, 11:28 PM   #7
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
Wait, problem. When I type fdisk /dev/hda I get "Unable to seek on /dev/hda" after it tell me the number of cylinders. What does this mean?
 
Old 02-15-2006, 07:17 AM   #8
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
Is your hard drive on the primary or secondary IDE bus? Is is the master or slave?
 
Old 02-15-2006, 09:44 AM   #9
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
It's a slave on the primary, so actually the error is "Unable to seek on /dev/hdb." I have a 160 Gb Hard drive which is too big for my motherboard (I am currently building a system). There is a jumper setting on the HD that makes the capacity only 32 Gb. With that setting, the BIOS does just fine. But with the jumper moved off of the "Master" setting, the BIOS recognizes it as a "Slave."

The short answer is the drive is a primary slave.

I've posted this problem in greater detail in the "Hardware forum" as I thought it was more suited for that forum. Title is "Error: Unable to seek on /dev/hdb"

Last edited by vidguy; 02-15-2006 at 09:47 AM.
 
Old 02-15-2006, 10:08 AM   #10
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
IIRC, to use hibernation then you need a SWAP as big as your RAM...
 
Old 02-15-2006, 11:58 AM   #11
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
Hibernation?

-Clueless
 
Old 02-15-2006, 12:12 PM   #12
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
LOL, I wrote hibernation 'cause is the windows name for this: Instead of turning off your PC, you "hibernate it". The content of the RAM is written to harddisk and when you turn it again, it is re-loaded so you get your system "exactly where you left it".

The linux name is "suspend2disk" and (I think this is not always the case) the RAM is written to the swap partition. That's why, if you want it, you should have as much SWAP as RAM.

Never mind if you are not interested in hibernating your system (which, btw, sometimes is not easy in Linux).
 
Old 02-15-2006, 12:28 PM   #13
vidguy
Member
 
Registered: Jan 2006
Posts: 33

Original Poster
Rep: Reputation: 15
Makes sense, thanks for the info.
 
  


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
Slackware Linux on a logical partition tooparam Linux - General 1 11-28-2005 01:02 PM
Linux halts at partition check before installation starts. KiLLaWaBBiT Linux - Hardware 13 08-20-2003 12:26 PM
Accessing windows partition under Slackware linux... Frank Slackware 1 07-13-2003 10:54 AM
Making a new partition for Slackware Linux Abstrakt Linux - Hardware 6 02-26-2003 06:48 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration