Re: partitioning

Wolf J.Flywheel <[email protected]> Sat, 19 Oct 2002 23:50:15 -0400
Newsgroups gmane.linux.gentoo.newbies
Organization Department of Redundancy Department
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 19 October 2002 22:43, Glenn Murphy wrote:

> on to the swap partition (do the same), then the root partition (and do
> the same again). (and would this be at the beginning of the drive or
> end? Or does it matter?) But, will I need to specify that the swap

	I don't think it matters unless you decide you need to remove a 
partition and make it bigger.  In that case, it's only possible to 
"resize" the partition(s) adjacent to the free space.  I usually just 
build out from the beginning.
	Note:  If you're planning to install an entire system from source, you 
may want to make the root filesystem ("/") five to ten times larger than 
the installation guide recommends.  I made mine 2GB and now I keep 
running out of space; if I'd made it 20GB I'd have been safe for a while 
longer.  I'd never manage to compile something like Mozilla or Wine now, 
with only 70MB left!  I'm going to have to make /usr a new partition to 
get more space.

> partition be type 82 (and would the boot partition as well as the root
> partition be type 83?).  If so, that will be done outside of cfdisk,
> right?  I didn't find a way in cfdisk to specify the type.  If I do

	Actually I thought I saw a "Type" option in cfdisk, but maybe it was 
only available *after* a partition was created.  It doesn't much matter; 
the type will be set when you do mke2fs, mkswap, mkwhatever.  Type 83 is 
used for ext2, ext3, reiserfs, maybe others; it's sort of a container 
type.

> need to specify, how would I?  Would I want Logical or Primary for

	You only need to make a primary partition if you plan to use the drive 
with DOS or Windows; Linux doesn't care.  You may only have one primary 
(or is it two?) but any number of logical ones.  IIRC, DOS will only boot 
from a primary partition... but it's been years since I've had that on 
any of my drives, so I doubt that I *do* remember correctly!
	So, if you're going to *boot* one of the partitions *into* Windows, 
it'll need to be a primary.  Non-boot partitions may be logical 
partitions, and Linux boot loaders (grub, LILO, etc.) will boot any of 
them (within BIOS limitations, of course).

Good luck,

- -- 
// Carl Hudkins :: ICQ 5723399 :: PGP 50238D9E
//
// "I do not take a single newspaper, nor read one a month;
//  and I feel myself infinitely the happier for it."
//                                       --Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9sif8lLp/6lAjjZ4RAra/AJ9V8C6vCtCxRY2yf1ePL/AXvSzZLgCdEczd
o1rO1Bzxdfm6AUyJkIZ6wXM=
=oG2K
-----END PGP SIGNATURE-----