Gentoo Archives: gentoo-doc-cvs

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