LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2005, 02:41 AM   #1
Ninja_212
Member
 
Registered: Sep 2003
Location: Indonesia
Distribution: Mandrake,RedHat,Slackware
Posts: 58

Rep: Reputation: 15
Please post your partition scheme..


I want to know what partition scheme that everyone uses.. so please post your partition scheme and please give some description why you use your partition scheme...

Thank's before... and sorry for my english...
 
Old 11-29-2005, 03:04 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
I have 2 x 80Gb drives

hda1 = 1 Gb swap
hda5 = 10 Gb /
hda6 = 10 Gb spare
hda7 = 59 Gb /home

hdb1 = 1 Gb swap
hdb5 = 79 Gb /data

Note: The first partition on both drives is a 'primary' partition. The rest are logical partitions under an extended partition. Why? Because it was done yonks ago.

This scheme works for me. I can upgrade to a new version of Slackware on the spare partition and don't have to move my /home partition. I keep all my static data on the /data partition. 'df' reports over 70 Gigs free, so it'll be a while before I need to upgrade...

BTW - I read that it is more efficient to run 2 swap partitions if you have 2 drives, so that's why I've done that.

Last edited by rkelsen; 11-29-2005 at 03:05 AM.
 
Old 11-29-2005, 03:11 AM   #3
fireedo
Member
 
Registered: Feb 2005
Location: Indonesia,Sidoarjo
Posts: 342

Rep: Reputation: 30
I have 2 HDD SATA and PATA @ 120 Gb
linux is on PATA
hda1 13gb / (root)
hda5 95gb /home (data)
hda6 1gb /swap
hda7 9gb /others (backup)

and my sata for Win$$$
sda1 20gb /winC (system)
sda5 98gb /winD (data)

this scheme always satisfied me everytime I make new installation for distro testing
 
Old 11-29-2005, 03:13 AM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Ninja_212

No apologies necessary; your English is better than my Indonesian(!)

First, swap partition should be either RAM*1 or RAM*2

Your root partition should be able to accomodate /bin /boot /dev /etc /proc /sbin /sys - the essentials -- the basics

That's well under a 1/2 GB

edit: ignore the 'a' that's supposed to be "A lot less than 1 or 2 GB"

The rest is up to you - it really depends on the space you have available, and how you want to use it.

Perhaps if you could be more clear about your intentions, available HW etc?

Last edited by odevans; 11-29-2005 at 03:22 AM.
 
Old 11-29-2005, 03:48 AM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
An 80gb WD hard drive. All distros use / for everything but swap. It may not total 80gb but that's how it mostly is. Debian Sid is my main OS and I use its Grub to load all distros.

It's a long story on why mine is setup like it is, but I started off always trying different distros and lately these are the one's I've kept for awhile.

/dev/hda1 = Winxp-10gb
/dev/hda3 = FreeBSD-10gb
/dev/hda4 = Extended
/dev/hda5 = Vfat32-20gb
/dev/hda6 = Ubuntu-10gb
/dev/hda7 = Swap-350mb
/dev/hda8 = Debian-10gb
/dev/hda9 = Mepis-10gb
/dev/hda10 = SourceMage-5gb

Last edited by BittaBrotha; 11-29-2005 at 03:59 AM.
 
Old 11-29-2005, 03:55 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
/dev/hda1 /boot (167M) ext2
/dev/hda2 swap (900M)
/dev/hda3 / (9,4G) reiserfs
/dev/hda5 /home (19G) reiserfs
/dev/hda6 /var/backups (18G) xfs
/dev/hda7 /srv/xmule (14G) xfs
/dev/hda8 /srv/www (4,7G) reiserfs
/dev/hda9 /srv/docs (9,4G) reiserfs
/dev/hda10 /srv/videos (54G) xfs

I prefer xfs filesystem for partition that contains large files and reiserfs
for others, I keep a separate partition for /boot in ext2 as I have grub and
find it more convenient as this (grub has to read the filesystem to
load the kernel image)
 
Old 11-29-2005, 04:00 AM   #7
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
This is my setup for my main linux desktop (used for ordinary desktop work for a single user, not really specialised for admin use).

Two hard disks:

hda1 - 10Gb /
hda2 - 23Gb /home
hda3 - 23Gb data
hda4 - 23Gb data

hdb1 - 10Gb / backup (useful when upgrading between kernels, slackware's etc.)
hdb2 - 34Gb data
hdb3 - 34Gb data
hdb4 - 34Gb data

I find having 10Gb for root is enough so long as you don't go too mad installing software on root (my largest apps are Crossover apps but they get stored inside home directories with my setup... if you were to set up a shared system you could easily hit 10Gb, just like you could with Windows itself).

Having a backup root drive that's the same size as the main root drive, on another hard drive, is invaluable. A quick cp and you can backup all your apps and settings to the other drive, an entry in lilo will let you boot from it. This is lovely for things like large slackware version jumps / kernel tryouts which need new userspace tools / new KDE versions etc. in that you can copy your existing system to the backup drive/partition, boot from it, use upgradepkg / swaret from there and check everything works, then copy it straight back over your existing / if it works well (changing lilo and fstab obviously).

Doing it often enough means that you always have a spare root lying around that's only a few months old should you need it and, if done properly, on a seperate drive. Marvellous for diagnostics when a drive fails, lifesaver for desktops when things play up.

All partitions are primary partitions (limited to 4 per drive).
 
Old 11-29-2005, 04:07 AM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,448
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally posted by BittaBrotha
/dev/hda1 = Winxp-10gb
/dev/hda3 = FreeBSD-10gb
/dev/hda6 = Ubuntu-10gb
/dev/hda8 = Debian-10gb
/dev/hda9 = Mepis-10gb
/dev/hda10 = SourceMage-5gb
*applause*

Now that's talent. Windows, FreeBSD and Linux on the same HD - talk about a snake pit. I am in awe...
 
Old 11-29-2005, 04:39 AM   #9
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 92M 56M 31M 65% /
/dev/hda1 23M 4.1M 18M 19% /boot
/dev/hda5 3.8G 2.2G 1.5G 59% /usr
/dev/hda6 19G 4.5G 13G 27% /home
/dev/hda7 14G 3.3G 9.8G 25% /save



df does not list swap but it is on /dev/hda2 @ 500 megs
 
Old 11-29-2005, 05:06 AM   #10
Linux_Inside
LQ Newbie
 
Registered: Oct 2003
Location: Bogor, Indonesia
Distribution: RedHat, Slackware
Posts: 13

Rep: Reputation: 0
Partition scheme that fit for me..

I want to install Linux but i'm still searching for the right partition scheme for my system.. the space that i have for linux (Slackware) is 8GB.. i'm dual booting with Window$ XP.. please give me some suggestion what partition scheme that is fit for me..

Rembering that i only have 8GB for Linux... any suggestion would be very appriciated...

Thank's before
 
Old 11-29-2005, 05:37 AM   #11
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Re: Partition scheme that fit for me..

Quote:
Originally posted by Linux_Inside
Rembering that i only have 8GB for Linux... any suggestion would be very appriciated...
When space is tight, it's best to put everything on one partition under /. Then you won't have to worry about allocating too little of the available space to /usr or /home or /var or whatever. But don't forget to leave some space for a swap partition too!
 
Old 11-29-2005, 06:39 AM   #12
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,272

Rep: Reputation: 154Reputation: 154
My scheme is:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             487M   98M  389M  21% /
/dev/hda6             142M   33M  109M  23% /tmp
/dev/hda7             2.0G   56M  1.9G   3% /var
/dev/hda8             9.6G  1.7G  8.0G  18% /usr
/dev/hda9              45G  1.4G   43G   3% /home
/dev/hdb1             154G  113G   41G  74% /pub
and hda5 is a 2Gb swap partition
 
Old 11-29-2005, 07:07 AM   #13
Geist3
Member
 
Registered: Oct 2003
Location: Richmond, Virginia USA
Distribution: Slackware 12.2
Posts: 59

Rep: Reputation: 15
160 GB HDD

hda2 and hda3 are for old data; possibly future *BSD slice.

20 partitions maximum. I tried another scheme with more than 20 -- got installation errors trying to put /var on a high-numbered partition.

MB units

hda1 00200 /boot
hda2 27000 /cold
hda3 27000 /gold
_________________________
** hda4 START EXTENDED LOGICAL **
_________________________
hda5 01000 Linux swap
_________________________
Slackware 10.2
35 GB

hda6 03000 /
hda7 10000 /usr
hda8 01000 /var
hda9 01000 /tmp
hda10 20000 /home

_________________________
Slackware 11.0
35 GB

hda11 03000 /
hda12 10000 /usr
hda13 01000 /var
hda14 01000 /tmp
hda15 20000 /home
_________________________
Slackware 11.1
35 GB

hda16 03000 /
hda17 10000 /usr
hda18 01000 /var
hda19 01000 /tmp
hda20 20000 /home
_________________________
 
Old 11-29-2005, 08:48 AM   #14
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
I just have one HD in my system, a meager 19GB.... And it is a dual boot 2KPRO/Slack10.0

hda1 NTFS partition, 7GB
hda2 ReiserFS partition 6.0GB
hda3 FAT32 for sharing between windows/linux 5GB
hda4 swap 1GB
 
Old 11-29-2005, 08:57 AM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
20 partitions maximum. I tried another scheme with more than 20 -- got installation errors trying to put /var on a high-numbered partition.
Maybe you had to create the necessary hda* device files in /dev
Theorically you should be able to use up to 64 partitions
 
  


Reply



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
Partition Scheme mschwartz3377 Linux - Hardware 3 04-09-2005 01:36 AM
Partition Scheme Jaster Debian 6 11-13-2004 03:28 PM
partition scheme leeman_s Slackware 2 05-23-2004 11:41 AM
partition scheme -- why does it this way ??? Bluesuperman Slackware 2 10-31-2003 07:09 PM
post your patition scheme :P [cacheflow] Linux - General 13 05-10-2002 12:46 PM

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

All times are GMT -5. The time now is 07:47 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