Let me know what you think _________________Einstein was a great man, but he got one thing wrong with his theory of relativity. E= MC hammer. As far as logic goes, this is flawed, but as a show of wit, you can't touch this

@Zeerak : Being said that everybody is right with his own partition scheeme, I am nevertheless surprised by coherency questions :
1/ You explode var in no less than 5 partitions but you do not make a dedicated one for /tmp ?
2/ You dedicate a specific partition for /usr but none for /opt which is of similar nature ?

Based on my current opt I'd say 7GB should do it. And 900M for /tmp should be well above the necessary_________________Einstein was a great man, but he got one thing wrong with his theory of relativity. E= MC hammer. As far as logic goes, this is flawed, but as a show of wit, you can't touch this

How big should / be? I currently have it at 2 GB and only 700 MB is used.

How big should /var be? Currently at 10 GB, using 8 GB. I've maxed this out in the past due to things like ccache, so am thinking of 15 GB on the new computer.

And /tmp? Currently at 5 GB, which may be overkill.

I guess getting /var, and /tmp right is not critical, as it'll be under LVM and can be changed later.

Oh, and swap size? I assume not above 1 GB?

Thanks.

I'd just use ext4 for everything - seems simpler. And I'm not sure why you are separating /usr from /, and why you're not adding a separate /home,
which would be the first partition I'd split off.

I use 16G for /var, and use 20% or so, but with 8G already in use YM must V. I don't see much use of /tmp, since I've got portage using
directories under /var. Swap size can be anything you want unless you want hibernation, when it needs 1.5x or 2x main memory size.

And of course /home will be its own (logical LVM) partition. Didn't mention it as I wasn't asking about its size.

Quote:

Swap size can be anything you want unless you want hibernation, when it needs 1.5x or 2x main memory size.

I don't need hibernation. In the old days, there used to be a rule for determining swap size, but no one follows it any more. I'm just wondering if over 1GB is needed. In all my last 7 years, I don't think I used swap even once. In fact, for many years it was disabled, and I didn't even know it._________________Beetle B.

I'm planning on reinstalling gentoo and windows on my pc because my partitions are a mess and i have a lot of space that i don't need in some partitions. I only use windows to record, play and practice guitar (i don't have an amp), so i don't need a lot of space for it.
My current situation:

They are all primary partitions. I never used a partition for /boot, but i see that a lot of folks here use it. I didn't understand exactly why it's better, can anyone explain?
My config is Amd 64 X2 5200+
1gb DDR2
300Gb Sata2 HD

If it's good to create a separated /boot partition, how will be a good partition scheme for me? I want to use partitions for boot, home, /, swap and windows. Wich ones i put on extended and primary?
And for a normal desktop, wich filesystems are being used now? Ext3 or Ext4 is better and more stable?

Finally, I've got my new dell n3010 with i5, 4gb ram and 320gb harddisk. Now I'm about to create partitions. In my old system, all I did was creating /boot, /, and swap partitions. And it still works great after 4 years with reiserfs, but probably tere is a bit slowdown regards to fragmentation. Now I want more advanced layout for partitions. Here is my partition scheme. What do you think:

1 - I want to use /var/src instead of /usr/src for kernel sources. if it is possible. I could not find something related to it like this: SRCDIR="/var/src/" for make.conf file.
2 - The size of / is 8gb. Since /usr, /var, /home have their own partitions, do you think 8gb is ok or too much?
3 - Did I make things unnecessarily complicated with to many partitions? If so what would you change?
4 - Using of ext4 or JFS?
5 - I am bothered by the /var/** partitions. Way to complicated?
6 - Since my old machine was core2 and the new one i5, I think just copying old harddisk to new one will work. Does it worth to dismantle the laptops meaning the new hard disk to old one and copy? Or is there a better way to migrate?_________________Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"

I've never dual booted with Gentoo before, and I just wanted to make sure I was on the right track.

My main Hard Drive is 1Tb with Windows loaded on it. Using the Windows disk manager I unallocated about 150 gigs of free space for Linux. When I get to the "preparing disks" section of the Gentoo install guide, do I just select the unallocated space via fdisk and start making my partitions in there as I normally would if I was using the whole HD? Also, when it comes time to setting up Grub is there anything extra that needs to be done other than adding an entry for my Windows partition and pointing it to the right area?

Unfortunately I do not wish to read/Ctrl+F through 29 pages of help so I'm replying.
I'm planning to install Gentoo (which I've done a few times but always on its own) beside Windows 7 on my new laptop. The default partitioning scheme in the gentoo handbook has been and still is sufficient for me but I've got a slight problem. My Windows installation has 2 primary partitions already and for various reasons needs to stay that way. (maximum of 4 primary partitions)

What I want to know is which of the 3 default partitions for Gentoo ( / and /boot and swap ) can safely be set as an extended partition? I'm thinking of making /boot the extended partition with /boot and swap as the last two primary partitions. Quick help would be great. I need to get this install done before I head to college in a week.

Lets sort out some terminolgy, or you will have problems with fdisk when you come to install.

There are three sorts of partitions an MSDOS partition table knows about
1. Primary
You may have at most four primary partitions. The descriptors for this partitions reside in the partition table in the Master Boot Record.
2. Extended
At most one of your primary partitions may be of type extended. An extended partition doesn't really exist and can't be used in the way the other two types can. It serves to reserve disk space so it can't be used by other primary partitions.
3. Logical
Logical partitions are created inside the space reserved by an extended partition.

Linux doesn't care if its partitions are primary or logical. You do not need a /boot partition provided your BIOS can read your entire HDD.
The small /boot partition at the start of the disc is required from time to time in the race between BIOS read ability and hard drive sizes.

Shrink your Windows install if you need to. Donate all the free space to an extended partition, then make logical partitions for your Gentoo install_________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

Hey guys, I was hoping that I could get an opinion from you guys about how I should install gentoo in addition to my already running crunchbang linux based off debian
This is my current table
Total 120 GB

I'm about to install Gentoo on my laptop for the first time and I currently have Linux Mint installed as the primary OS using

Code:

/boot 256mg
/ 20G
swap 4G

The drive is 500GB so space isn't a concern.

With Gentoo I'd like to use a /boot, /, /home, /torrents (200G mounted ~/torrents), swap and possibly another for Portage.
Questions. Should I delete the primary swap partition prior to creating the Gentoo parts? How do I create the LVM to house these partitions? As that's something I haven't done before. Can I/Should I share the /boot partition from Mint with Gentoo? What size should / & /portage(mount point?) be?_________________Nathaniel

For the sake of your sanity your should share /boot with all your linux distros. You can have separate /boot partitions but you may only have a single bootloader started by the BIOS and MBR. If you intend to keep Mint, you may as well use its bootloader and add Gentoo to it.

Leave your swap where it is and share it with all your distros *unless* you want to suspend/resume various distros at various times. That a dangerous thing to want to do as you must not access a mounted filesystem somehow else while its involved in a suspend.

Donate your fourth and last primary partition to a partition that owns the rest of the disk
Put that partition into a LVM physical volume group.
Make lvm volumes in your physical volume and put filesystems on the logical volumes.

As you will have root on LVM, you will need an initrd to boot into Gentoo, since you need to get lvm started before you can mount root. The initrd is fairly simple and need not be updated every kernel update as it does not need to contain kernel modules. This Wiki article covers root on raid and lvm with DM-Crypt and does a good job of explaining the initrd. The three parts are quite separate, so its straightforwad to leave out raid and DM-Crypt._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

I have been using Linux (very basic and sparse) for some time now, and recently decided that I get serious. Since I didn't have any Linux distro installed, and also wanted the installation to be hands-on so I could peek inside the hood, I tried to install gentoo using the guide. I had some issues, but I'm only going to post the one related to partitioning:

Here's my current scheme:

I - 250 GB

100 MB- System Reserved

232,79 GB - Windows (also boot partition etc.)

II - 1 TB

341,80 GB - NTFS - Storage

555,53 GB - NTFS - Storage

Free space 34,18 GB where Gentoo goes

How should I set up Linux? I was thinking of a swap partition and a boot one. Is this okay?

Also, can someone tell me how should I set up grub? At that point, I was completely lost. How to make the entry for Windows, how to specifiy partitions, after installing grub I gave up at the first attempt, and how to manually reinstall the win bootloader.

You don't provide enough detail for us to describe a grub.conf for you.

Boot a linux CD and post the output of

Code:

fdisk -l

annotated with what each partition is used for.

You can install Gentoo, using one or more partitions on your hard drive.
You must have a root (/) partition. /boot may either be a partition or a directory on your hard drive. It only matters for systems where the BIOS cannot read the entire HDD. The small /boot at the start of the drive keeps all the files needed to boot in an area the BIOS can read.
<swap> can be a file or a partition. A swap partition is faster than a swap file but both work._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

Ok, thanks for the reply. I'm going to attempt tomorrow to install it again tomorrow, and when I do that I'm going to post the complete information you need. I think I may also require help with the FSTAB file, but then again that its also tomorrow.

I am about to do a re-install of my entire system (had originally just chewed out a little space on my HDD to play with gentoo and it turns out i have enjoyed it quite a bit and want to continue learning through it). This time around however I want to do a complete re-install to include my SSD and just a dual boot with win7 (previously it had win 7, ubuntu, and gentoo).

I'm having alot of trouble determining how I should setup my partitions. I have a 90GB SSD and a 1TB HDD. Was considering splitting that SSD between the main OS for win7 and gentoo, and mostly use the HDD for personal data (movies, music, games, and i do some c++ programming as well)

Any good guidelines for this, or possibly personal experiences with a similar setup?

You should use al least 4 partitions.
/boot, /home, / and <swap>
/boot can be anyware the BIOS can read. Its ony used once at boot time, so need not be on the SSD

How much RAM do you have and do you need hibernation ?
That setermines the size of <swap> and if you should put /var/tmp/portage and /tmp into RAM.
If you keep /var/tmp/portage and /tmp in RAM, everything else can be on the SSD.
Its /var/tmp/portage that is hit hard with writes during building, which may shortenl the life of your SSD.

A separate /home in a primary partition make it easy to preserve user data if you every need to reinstall.

If you feel the need to move space around from one partition to another, consider lvm2._________________Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

I have 8 GB RAM. I have yet to ever come close to pushing that entire 8 GB to run into swap, nor do I use hibernation, so i'm assuming swap size shouldn't be too big (although on my previous builds i had gone ahead and used 8GB swap, not sure this is necessary).

I'm guessing /home could be a good size partition on the 1TB HDD(although i need a big chunk of that HDD for dual boot type stuff, like movies and music and such)

Is there a benefit of having /boot on the ssd, does it speed up boot time or anything of the sort?