View previous topic :: View next topic |
Author |
Message |
lemon n00b
Joined: 17 Dec 2003 Posts: 16
|
Posted: Wed Dec 17, 2003 5:54 pm Post subject: Partitioning |
|
|
Hi, I'm a relative noob at this so please forgive any mistakes.
Here's my dilema,
I've 3 hardrives in my box
10GB 5400 RPM
40GB 7200 RPM
80GB 7200 RPM
I'm wondering what the best partitioning scheme would be for a gentoo install.
There will be only one user so /home won't need a huge partition.
The 80GB drive is only used as storage for music etc. If I want this drive to be available to root and the one user is it safe to mount it as /storage rather than /mnt/storage or some other place?
What would be the best folder to put on the 10GM drive? /var?
Any help would be greatly appreciated. |
|
Back to top |
|
|
chammel n00b
Joined: 09 May 2003 Posts: 56 Location: Springfield VA
|
Posted: Wed Dec 17, 2003 7:04 pm Post subject: |
|
|
If these were my drives this is what I would do.
40GB drive 3 partitions
/boot hda1 100 MB
swap hda2 Size of Memory
/ hda3 Remaining space.
80GB drive 1 partition
/storage hdb1 Size of disk
10GB Drive 1 partition
/home hdc1 Size of disk
I know you said that there will only be one user but my home drive used space is at 2.7 GB. I did not make my home partition big enough.
The other reason to have a separate home partition is that you can wipe your root disk and reinstall linux without losing all your datafiles.
I keep all my date in /home/username. As a matter of fact I am getting ready to by a new disk and will make that disk my /home partition and transfer all the data to it. I have had this /home partition from when I had RedHat installed I just wiped the other partitions and I installed gentoo fixed some ownership issues on the files and directories and I had all my data and even some of my user configurations. |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Wed Dec 17, 2003 7:51 pm Post subject: |
|
|
I woouldnt use the 10Giger but for backing up /etc/ and /home. Then make a 100M /boot , 512M swap( if your doing heavy sound or video editing make 1 or 2G) , 7-10G / , 10G for /home. YOu leave then remaining ~20G for playing around with later. On my /home mount (hda5 in this case)
Code: | ls /home
hielvc/ hlds/ lost+found/ portage/ share/ tmp/ |
In my setup portage and share are /usr/portage and /usr/share. /tmp is /var/tmp. I use symbolic links to point to them. My portage with packages and distfiles is 3.5G. sahre is 602M. This or something simular would let you try out different set ups
hielvc |
|
Back to top |
|
|
x-wing Tux's lil' helper
Joined: 15 Dec 2003 Posts: 79 Location: Los Angeles, CA
|
Posted: Wed Dec 17, 2003 9:29 pm Post subject: |
|
|
you might also want to look at this post for additional partitioning info:
https://forums.gentoo.org/viewtopic.php?t=115685 _________________ --
The more I learn about Linux, the more amazed I am that its free
-- |
|
Back to top |
|
|
Corw|n of Amber Apprentice
Joined: 08 Aug 2003 Posts: 221 Location: Socialist Sovietic Republic of Belgium
|
Posted: Wed Dec 17, 2003 9:37 pm Post subject: |
|
|
That depends on what you'll do with the box... if you intent to rip DVDs, you might want to keep the 10 gigs as free space. (Sounds like a good idea to keep it just to hold backups and/or large files, as it is slow)
For the rest, I have a similar setup.
Here is my fstab :
Code: | /dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda2 / reiserfs defaults 0 0
/dev/hda3 /usr reiserfs defaults 0 0
/dev/hda5 /var reiserfs defaults 0 0
/dev/hda6 /opt reiserfs defaults 0 0
/dev/hda7 /tmp reiserfs defaults 0 0
/dev/hda9 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom0 /mnt/dvd udf noauto,ro 0 0
/dev/hdb1 /pub auto user 0 0
/dev/hda8 /pub/zap auto user,noauto 1 1 |
and what cfdisk says:
Code: | #cfdisk /dev/hda
hda1 boot Primaire Linux ext2 131,61
hda2 Primaire Linux ReiserFS 6144,29
hda3 Primaire Linux ReiserFS 8192,38
hda5 Logique Linux ReiserFS 4096,19
hda6 Logique Linux ReiserFS 4096,19
hda7 Logique Linux ReiserFS 4096,19
hda8 Logique Linux ReiserFS 18325,93
hda9 Logique Linux swap 1028,16 |
hdb is really just a huge ReiserFS partition. _________________ Whoever is enough of a fanatic to KILL people should be shot on sight. |
|
Back to top |
|
|
lemon n00b
Joined: 17 Dec 2003 Posts: 16
|
Posted: Wed Dec 17, 2003 9:55 pm Post subject: |
|
|
tnx for all the info |
|
Back to top |
|
|
|