Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-27-2003, 12:38 PM   #1
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
multiple hard drives

ok, so i am very new to linux, less than a week and i took the plunge totally, just wiped out windows, so i have a lot of stupid questions. This one is: I have multiple hard drives on my machine a 4 gig OS drive and a 40 gig drive... how can i keep the 4 gig from filling up??? what folders am i able to move easily and which ones are a bit trickier??

does this belong here???? or am i in the wrong forum? *looks around*

Last edited by bosewicht; 08-27-2003 at 12:42 PM.
Old 08-27-2003, 01:49 PM   #2
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128

Rep: Reputation: 15
Well it depends on how you partitioned your drive before installation. I too just installed Linux on my machine last week but I read found some suggestions before the actual install to have different partitions for different directories like so:

ex: 40GB drive and 512MB RAM

/boot - 500MB
/swap - 1GB (partition and format as "swap")
/ - 12GB
/home - 5GB
/var - 2.5GB

Just ballpark figures really. you could partition as you'd please. But that way you have more control over the saved data in case you need to re-install or whatever.
Old 08-27-2003, 01:56 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you have nothing on your 40GB HDD, you should install Linux on the 40GB and use your 4 GB HDD as a slave device for storage or something else.

As for partitions, if you want to use Linux as a workstation (not server), you can use your Linux distribution's default settings.
If you want to manually set them, I suggest:

/boot - 75 MB
SWAP - 256 to 512 MB

Last edited by Mathieu; 08-27-2003 at 01:58 PM.
Old 08-27-2003, 02:01 PM   #4
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
A good article
Proper Filesystem Layout

My partitioning:
 root@uilleann # fdisk -l

Disk /dev/hdc: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1   *         1      1027   8249346    c  Win95 FAT32 (LBA)

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1215   9755991    c  Win95 FAT32 (LBA)
/dev/hda2          1215      2429   9751455    7  HPFS/NTFS
/dev/hda3          2429      2441     99855   83  Linux
/dev/hda4          2442      4865  19470780    5  Extended
/dev/hda5          2442      2504    506016   82  Linux swap
/dev/hda6          2505      2931   3429846   83  Linux
/dev/hda7          2932      3358   3429846   83  Linux
/dev/hda8          3359      3785   3429846   83  Linux
/dev/hda9          3786      4212   3429846   83  Linux
/dev/hda10         4213      4865   5245191   83  Linux

Disk /dev/hdb: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      1244   9986917+  83  Linux
/dev/hdb2          1244      2518  10238886   83  Linux
/dev/hdb3          2519      3793  10241437+  83  Linux
/dev/hdb4          3794      9729  47680920   83  Linux
# Duron 950 Red Hat 7.3 /etc/fstab file
/dev/hda7	/               reiserfs	defaults		1 1
/dev/hda3	/boot           ext3		defaults		1 2
none            /dev/pts        devpts		gid=5,mode=620		0 0
/dev/hda9	/home           reiserfs	defaults		1 2
/dev/hdc1	/mnt/storage    vfat		defaults		0 0
/dev/hda1	/mnt/win98	vfat		defaults		0 0
/dev/hda2	/mnt/win2k	ntfs		defaults		0 0
none            /proc           proc		defaults		0 0
none            /dev/shm        tmpfs		defaults		0 0
/dev/hdb4	/pub            ext3		defaults		1 2
/dev/hda10	/snd            reiserfs	defaults		1 2
/dev/hda5	swap            swap		defaults		0 0
/dev/cdrom	/mnt/cdrom	iso9660		noauto,owner,kudzu,ro   0 0
/dev/fd0        /mnt/floppy     auto		noauto,owner,kudzu	0 0

Last edited by fancypiper; 08-27-2003 at 02:02 PM.
Old 11-22-2003, 11:23 PM   #5
Senior Member
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
That article was about servers and the like for corporations and groups. Anything about home users? Once we get our Dell 8300 up and running, I'm going to try to convince my dad to let me throw Linux on the 4300, since it will have 2 80GB's instead of 1. But if I use 2 80GB's, which I know is DEFINATELY more than I need for Linux, I have no idea how to allocate what available space(probably either around 40GB or 80GB) is left for Linux. Sure, I'd have probably around 50MB for /Boot, since I don't play with that too much, and I have 512MB of RAM on the 4300, so probably anywhere between 1-1.5GB for Swap, but other than that, would I make about .5GB for /var and leave the rest for / and the remaining?

I know it's best to have /home as a separate partition, but how much space is best for that area, % wise? Remember, this is a home computer, so all the applications are stored on it, same with music, videos, etc.

Last edited by r_jensen11; 11-22-2003 at 11:24 PM.


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
Linux on Multiple Hard Drives apocolpse Linux - Newbie 5 08-06-2005 07:17 PM
Multiple hard drives installation Noido Slackware - Installation 8 04-06-2005 04:04 PM
Booting with multiple hard drives Sledge Linux - Newbie 4 01-17-2005 11:44 PM
Multiple Hard Drives TuxFreak Linux - General 3 12-22-2004 01:11 PM
multiple os & hard drives Alfanut Linux - Newbie 1 04-23-2004 11:49 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration