1 |
swift 12/04/01 14:34:56 |
2 |
|
3 |
Modified: lvm2.xml |
4 |
Log: |
5 |
Improve commands for initramfs, genkernel and lvm, thanks to robbat2 |
6 |
|
7 |
Revision Changes Path |
8 |
1.29 xml/htdocs/doc/en/lvm2.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.29&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?rev=1.29&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/lvm2.xml?r1=1.28&r2=1.29 |
13 |
|
14 |
Index: lvm2.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v |
17 |
retrieving revision 1.28 |
18 |
retrieving revision 1.29 |
19 |
diff -u -r1.28 -r1.29 |
20 |
--- lvm2.xml 31 Mar 2012 13:32:04 -0000 1.28 |
21 |
+++ lvm2.xml 1 Apr 2012 14:34:56 -0000 1.29 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.28 2012/03/31 13:32:04 swift Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/lvm2.xml,v 1.29 2012/04/01 14:34:56 swift Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide> |
29 |
@@ -24,8 +24,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>5</version> |
34 |
-<date>2012-03-31</date> |
35 |
+<version>6</version> |
36 |
+<date>2012-04-01</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Introduction</title> |
40 |
@@ -376,12 +376,18 @@ |
41 |
<p> |
42 |
Also build an initramfs if you have <path>/usr</path> or <path>/var</path> on an |
43 |
LVM-based partition. Don't forget to edit your boot loader to boot the system |
44 |
-with the initramfs. |
45 |
+with the initramfs and add in <c>dolvm</c> as a boot parameter. |
46 |
</p> |
47 |
|
48 |
<pre caption="Building an initramfs"> |
49 |
# <i>emerge genkernel</i> |
50 |
-# <i>genkernel --install initramfs</i> |
51 |
+# <i>genkernel --lvm --install initramfs</i> |
52 |
+# <i>nano -w /boot/grub/grub.conf</i> |
53 |
+<comment>(...)</comment> |
54 |
+title Gentoo Linux |
55 |
+root (hd0,0) |
56 |
+kernel /kernel-3.2.2-gentoo-r5 root=/dev/sda1 <i>dolvm</i> |
57 |
+<i>initrd /initramfs-genkernel-x86_64-3.2.2-gentoo-r5</i> |
58 |
</pre> |
59 |
|
60 |
<p> |