1 |
neysx 05/11/25 13:33:13 |
2 |
|
3 |
Modified: xml/htdocs/doc/en/handbook/2005.1 |
4 |
hb-install-amd64-bootloader.xml |
5 |
hb-install-x86-bootloader.xml |
6 |
Log: |
7 |
#107181 Make grub-install work with and without a separate /boot partition |
8 |
|
9 |
Revision Changes Path |
10 |
1.9 +12 -10 xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml |
11 |
|
12 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
13 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml?rev=1.9&content-type=text/plain&cvsroot=gentoo |
14 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml.diff?r1=1.8&r2=1.9&cvsroot=gentoo |
15 |
|
16 |
Index: hb-install-amd64-bootloader.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v |
19 |
retrieving revision 1.8 |
20 |
retrieving revision 1.9 |
21 |
diff -u -r1.8 -r1.9 |
22 |
--- hb-install-amd64-bootloader.xml 24 Nov 2005 17:26:11 -0000 1.8 |
23 |
+++ hb-install-amd64-bootloader.xml 25 Nov 2005 13:33:13 -0000 1.9 |
24 |
@@ -4,12 +4,12 @@ |
25 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
26 |
<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
27 |
|
28 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v 1.8 2005/11/24 17:26:11 neysx Exp $ --> |
29 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v 1.9 2005/11/25 13:33:13 neysx Exp $ --> |
30 |
|
31 |
<sections> |
32 |
|
33 |
-<version>5.5</version> |
34 |
-<date>2005-11-24</date> |
35 |
+<version>5.6</version> |
36 |
+<date>2005-11-25</date> |
37 |
|
38 |
<section> |
39 |
<title>Making your Choice</title> |
40 |
@@ -316,15 +316,17 @@ |
41 |
<body> |
42 |
|
43 |
<p> |
44 |
-To install GRUB you will need to issue the <c>grub-install</c> command. However, |
45 |
-<c>grub-install</c> won't work off-the-shelf since we are inside a chrooted |
46 |
-environment. We need to update <path>/etc/mtab</path> (the file with information |
47 |
-about all mounted filesystems) first: luckily there is an easy way to accomplish |
48 |
-this - just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>: |
49 |
+To install GRUB you will need to issue the <c>grub-install</c> command. |
50 |
+However, <c>grub-install</c> won't work off-the-shelf since we are inside a |
51 |
+chrooted environment. We need to create <path>/etc/mtab</path> which lists all |
52 |
+mounted filesystems. Fortunately, there is an easy way to accomplish this - |
53 |
+just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>, excluding |
54 |
+the <c>rootfs</c> line if you haven't created a separate boot partition. The |
55 |
+following command will work in both cases: |
56 |
</p> |
57 |
|
58 |
-<pre caption="Updating /etc/mtab"> |
59 |
-# <i>cp /proc/mounts /etc/mtab</i> |
60 |
+<pre caption="Creating /etc/mtab"> |
61 |
+# <i>grep -v rootfs /proc/mounts > /etc/mtab</i> |
62 |
</pre> |
63 |
|
64 |
<p> |
65 |
|
66 |
|
67 |
|
68 |
1.7 +12 -10 xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml |
69 |
|
70 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
71 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.7&content-type=text/plain&cvsroot=gentoo |
72 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml.diff?r1=1.6&r2=1.7&cvsroot=gentoo |
73 |
|
74 |
Index: hb-install-x86-bootloader.xml |
75 |
=================================================================== |
76 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v |
77 |
retrieving revision 1.6 |
78 |
retrieving revision 1.7 |
79 |
diff -u -r1.6 -r1.7 |
80 |
--- hb-install-x86-bootloader.xml 24 Nov 2005 17:26:11 -0000 1.6 |
81 |
+++ hb-install-x86-bootloader.xml 25 Nov 2005 13:33:13 -0000 1.7 |
82 |
@@ -4,12 +4,12 @@ |
83 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
84 |
<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
85 |
|
86 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v 1.6 2005/11/24 17:26:11 neysx Exp $ --> |
87 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v 1.7 2005/11/25 13:33:13 neysx Exp $ --> |
88 |
|
89 |
<sections> |
90 |
|
91 |
-<version>5.2</version> |
92 |
-<date>2005-11-24</date> |
93 |
+<version>5.3</version> |
94 |
+<date>2005-11-25</date> |
95 |
|
96 |
<section> |
97 |
<title>Making your Choice</title> |
98 |
@@ -343,15 +343,17 @@ |
99 |
<body> |
100 |
|
101 |
<p> |
102 |
-To install GRUB you will need to issue the <c>grub-install</c> command. However, |
103 |
-<c>grub-install</c> won't work off-the-shelf since we are inside a chrooted |
104 |
-environment. We need to update <path>/etc/mtab</path> (the file with information |
105 |
-about all mounted filesystems) first: luckily there is an easy way to accomplish |
106 |
-this - just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>: |
107 |
+To install GRUB you will need to issue the <c>grub-install</c> command. |
108 |
+However, <c>grub-install</c> won't work off-the-shelf since we are inside a |
109 |
+chrooted environment. We need to create <path>/etc/mtab</path> which lists all |
110 |
+mounted filesystems. Fortunately, there is an easy way to accomplish this - |
111 |
+just copy over <path>/proc/mounts</path> to <path>/etc/mtab</path>, excluding |
112 |
+the <c>rootfs</c> line if you haven't created a separate boot partition. The |
113 |
+following command will work in both cases: |
114 |
</p> |
115 |
|
116 |
-<pre caption="Updating /etc/mtab"> |
117 |
-# <i>cp /proc/mounts /etc/mtab</i> |
118 |
+<pre caption="Creating /etc/mtab"> |
119 |
+# <i>grep -v rootfs /proc/mounts > /etc/mtab</i> |
120 |
</pre> |
121 |
|
122 |
<p> |
123 |
|
124 |
|
125 |
|
126 |
-- |
127 |
gentoo-doc-cvs@g.o mailing list |