Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-doc-cvs
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=1.29&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.28&r2=1.29
Index: lvm2.xml
===================================================================
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 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.28 2012/03/31 13:32:04 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.29 2012/04/01 14:34:56 swift Exp $ -->
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
<guide>
@@ -24,8 +24,8 @@
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
<license/>
-<version>5</version>
-<date>2012-03-31</date>
+<version>6</version>
+<date>2012-04-01</date>
<chapter>
<title>Introduction</title>
@@ -376,12 +376,18 @@
<p>
Also build an initramfs if you have <path>/usr</path> or <path>/var</path> on an
LVM-based partition. Don't forget to edit your boot loader to boot the system
-with the initramfs.
+with the initramfs and add in <c>dolvm</c> as a boot parameter.
</p>
<pre caption="Building an initramfs">
# <i>emerge genkernel</i>
-# <i>genkernel --install initramfs</i>
+# <i>genkernel --lvm --install initramfs</i>
+# <i>nano -w /boot/grub/grub.conf</i>
+<comment>(...)</comment>
+title Gentoo Linux
+root (hd0,0)
+kernel /kernel-3.2.2-gentoo-r5 root=/dev/sda1 <i>dolvm</i>
+<i>initrd /initramfs-genkernel-x86_64-3.2.2-gentoo-r5</i>
</pre>
<p>
|
|