Am Samstag, 16. Juni 2007 schrieb Boyd Stephen Smith Jr.: > On Saturday 16 June 2007, Florian Philipp <[EMAIL PROTECTED]> wrote > > about '[gentoo-user] lvm without initrd': > > I'd like to know which parts of my system need to stay on "traditional" > > partitions and which directories can be moved to an lvm if I don't want > > to use initrd and still be able to boot. > > Anything 'cept / (and /boot of course) can live on LVM without the need for > an initrd.
Yep, and even swap can be a logical volume. So here is an example partition
layout:
[hs]da1: /boot,64M,ext2 (a little bit larger than needed, 32M would also be
sufficient.)
[hs]da2: /,256M,choose whatever fs you prefer
[hs]da3: LVM,everything else
Make sure to create LVs for at least /opt, /var, /usr. Regarding /home, I
prefer one LV per user, mounted via automounter. I also add three more LVs
for the Gentoo related stuff, also mounted via automounter:
/gentoo/overlays (portage tree and other overlays, ~1G)
/gentoo/distfiles (~2G)
/gentoo/build (size depends, mine is currently ~5G to satisfy openoffice
builds).
HTH...
Dirk
signature.asc
Description: This is a digitally signed message part.

