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? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-27-2003, 12:38 PM
|
#1
|
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Rep:
|
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.
|
|
|
08-27-2003, 01:49 PM
|
#2
|
Member
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128
Rep:
|
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.
|
|
|
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:
|
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
/
/home
Last edited by Mathieu; 08-27-2003 at 01:58 PM.
|
|
|
08-27-2003, 02:01 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
A good article
Proper Filesystem Layout
My partitioning:
Code:
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
Code:
# 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.
|
|
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 05:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|