From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SEMIy-00017U-8n for garchives@archives.gentoo.org; Sun, 01 Apr 2012 15:02:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94AE8E0C4A for ; Sun, 1 Apr 2012 15:02:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2CC35E0BDF for ; Sun, 1 Apr 2012 14:34:58 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 960451B4001 for ; Sun, 1 Apr 2012 14:34:57 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 617) id 6CDAD2004B; Sun, 1 Apr 2012 14:34:56 +0000 (UTC) From: "Sven Vermeulen (swift)" To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: lvm2.xml X-VCS-Repository: gentoo X-VCS-Files: lvm2.xml X-VCS-Directories: xml/htdocs/doc/en X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen Content-Type: text/plain; charset=utf8 Message-Id: <20120401143456.6CDAD2004B@flycatcher.gentoo.org> Date: Sun, 1 Apr 2012 14:34:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@lists.gentoo.org Reply-to: docs-team@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d823bd86-ccf5-40b7-91ce-d7d3699ab3d3 X-Archives-Hash: 0e14d697eb8798380f6f458d70a65ffb swift 12/04/01 14:34:56 Modified: lvm2.xml Log: Improve commands for initramfs, genkernel and lvm, thanks to robbat2 Revision Changes Path 1.29 xml/htdocs/doc/en/lvm2.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2= .xml?rev=3D1.29&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2= .xml?rev=3D1.29&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2= .xml?r1=3D1.28&r2=3D1.29 Index: lvm2.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- lvm2.xml 31 Mar 2012 13:32:04 -0000 1.28 +++ lvm2.xml 1 Apr 2012 14:34:56 -0000 1.29 @@ -1,5 +1,5 @@ - + =20 @@ -24,8 +24,8 @@ =20 -5 -2012-03-31 +6 +2012-04-01 =20 Introduction @@ -376,12 +376,18 @@

Also build an initramfs if you have /usr or /var on an LVM-based partition. Don't forget to edit your boot loader to boot the s= ystem -with the initramfs. +with the initramfs and add in dolvm as a boot parameter.

=20
 # emerge genkernel
-# genkernel --install initramfs
+# genkernel --lvm --install initramfs
+# nano -w /boot/grub/grub.conf
+(...)
+title Gentoo Linux
+root (hd0,0)
+kernel /kernel-3.2.2-gentoo-r5 root=3D/dev/sda1 dolvm
+initrd /initramfs-genkernel-x86_64-3.2.2-gentoo-r5
 
=20