Digby Tarvin wrote:

>Following on from the recent discussions on grub and booting,
>is there a good reason for having a separate partition for /boot,
>other than perhaps to overcome BIOS addressing limitations for
>people with very large root partitions??
>  
>

Well, I do it for 2 reasons:

1. To make sure all boot files are addressable through the BIOS.
2. To use raid0+encryption on my root filesystem.

If you want your root filesystem to use encryption, software raid, LVM,
etc, you need /boot and an initrd.

As long as you brought it up, I have 11 main system partitions! Beat that!

/
/boot
/tmp
/var
/home
/opt
/usr/local
/usr/portage
/usr/share
/usr/src
/mnt/archives (distfiles and packages go here)

My reasoning on the above is:

1. I want all files necessary for booting the system (/[s]bin, /lib,
/usr/[s]bin, /usr/lib, /etc) to be on one relatively small partition so
they are physically near each other to cut down on the boot time.  Since
little from /usr/share, /usr/src, /usr/local, /home or /opt is used for
booting, having these as separate filesystems keeps their files
"out-of-the-way".

2. I want areas that have frequent changes (like /var and /usr/portage)
to be separate to reduce the effects of fragmentation on the rest of the
system.

3. Since the highest-numbered sectors of my disks are the worst
performing, I want seldom used stuff like distfiles and ISO images to be
there.  Thus, /mnt/archives is at the end of my disks.

-Richard

-- 
gentoo-user@gentoo.org mailing list

Reply via email to