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: Mon, 21 Nov 2005 20:03:16
Message-Id: 200511211957.jALJvai2001609@robin.gentoo.org
1 neysx 05/11/21 18:29:51
2
3 Modified: xml/htdocs/doc/en/handbook hb-install-amd64-bootloader.xml
4 hb-install-x86-bootloader.xml
5 Log:
6 #108493 grub.conf examples should include /boot/ for kernel and initrd
7
8 Revision Changes Path
9 1.36 +28 -19 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.36&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.36&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.35&r2=1.36&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.35
19 retrieving revision 1.36
20 diff -u -r1.35 -r1.36
21 --- hb-install-amd64-bootloader.xml 22 Oct 2005 00:17:35 -0000 1.35
22 +++ hb-install-amd64-bootloader.xml 21 Nov 2005 18:29:51 -0000 1.36
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.35 2005/10/22 00:17:35 yoswink Exp $ -->
28 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-amd64-bootloader.xml,v 1.36 2005/11/21 18:29:51 neysx Exp $ -->
29
30 <sections>
31
32 -<version>2.7</version>
33 -<date>2005-10-22</date>
34 +<version>2.8</version>
35 +<date>2005-11-21</date>
36
37 <section>
38 <title>Making your Choice</title>
39 @@ -182,7 +182,7 @@
40 To install GRUB, let's first emerge it.
41 </p>
42
43 -<pre caption = "Installing GRUB">
44 +<pre caption="Installing GRUB">
45 # <i>emerge grub</i>
46 </pre>
47
48 @@ -194,7 +194,7 @@
49 editor):
50 </p>
51
52 -<pre caption = "Creating /boot/grub/grub.conf">
53 +<pre caption="Creating /boot/grub/grub.conf">
54 # <i>nano -w /boot/grub/grub.conf</i>
55 </pre>
56
57 @@ -221,19 +221,19 @@
58 line since JFS needs to replay its log before it allows read-write mounting.
59 </note>
60
61 -<pre caption = "grub.conf for non-genkernel users">
62 +<pre caption="grub.conf for non-genkernel users">
63 <comment># Which listing to boot as default. 0 is the first, 1 the second etc.</comment>
64 default 0
65 <comment># How many seconds to wait before the default listing is booted.</comment>
66 timeout 30
67 <comment># Nice, fat splash-image to spice things up :)
68 # Comment out if you don't have a graphics card installed</comment>
69 -splashimage=(hd0,0)/grub/splash.xpm.gz
70 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
71
72 title=Gentoo Linux 2.6.12
73 <comment># Partition where the kernel image (or operating system) is located</comment>
74 root (hd0,0)
75 -kernel /kernel-2.6.12-gentoo-r6 root=/dev/hda3
76 +kernel /boot/kernel-2.6.12-gentoo-r6 root=/dev/hda3
77
78 <comment># The next four lines are only if you dualboot with a Windows system.</comment>
79 <comment># In this case, Windows is hosted on /dev/hda6.</comment>
80 @@ -244,15 +244,15 @@
81 </pre>
82
83
84 -<pre caption = "grub.conf for genkernel users">
85 +<pre caption="grub.conf for genkernel users">
86 default 0
87 timeout 30
88 -splashimage=(hd0,0)/grub/splash.xpm.gz
89 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
90
91 title=Gentoo Linux 2.6.12
92 root (hd0,0)
93 -kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
94 -initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6
95 +kernel /boot/kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
96 +initrd /boot/initramfs-genkernel-amd64-2.6.12-gentoo-r6
97
98 <comment># Only in case you want to dual-boot</comment>
99 title=Windows XP
100 @@ -267,14 +267,23 @@
101 (which is the default behaviour).
102 </note>
103
104 -<note>
105 -If you use a different partitioning scheme and/or kernel image, adjust
106 -accordingly. However, make sure that anything that follows a GRUB-device
107 -(such as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In
108 -other words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
109 -<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
110 +<p>
111 +If you used a different partitioning scheme and/or kernel image, adjust
112 +accordingly. However, make sure that anything that follows a GRUB-device (such
113 +as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In other
114 +words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
115 +<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
116 <path>/boot</path>.
117 -</note>
118 +</p>
119 +
120 +<p>
121 +Besides, if you chose to use a different partitioning scheme and did not put
122 +<path>/boot</path> in a separate partition, the <path>/boot</path> prefix used
123 +in the above code samples is really <e>required</e>. If you followed our
124 +suggested partitioning plan, the <path>/boot</path> prefix it not required, but
125 +a <path>boot</path> symlink makes it work. In short, the above examples should
126 +work whether you defined a separate <path>/boot</path> partition or not.
127 +</p>
128
129 <p>
130 If you need to pass any additional options to the kernel, simply add
131
132
133
134 1.38 +31 -23 xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml
135
136 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.38&content-type=text/x-cvsweb-markup&cvsroot=gentoo
137 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml?rev=1.38&content-type=text/plain&cvsroot=gentoo
138 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml.diff?r1=1.37&r2=1.38&cvsroot=gentoo
139
140 Index: hb-install-x86-bootloader.xml
141 ===================================================================
142 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v
143 retrieving revision 1.37
144 retrieving revision 1.38
145 diff -u -r1.37 -r1.38
146 --- hb-install-x86-bootloader.xml 17 Sep 2005 20:09:19 -0000 1.37
147 +++ hb-install-x86-bootloader.xml 21 Nov 2005 18:29:51 -0000 1.38
148 @@ -2,14 +2,14 @@
149 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
150
151 <!-- The content of this document is licensed under the CC-BY-SA license -->
152 -<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
153 +<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
154
155 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v 1.37 2005/09/17 20:09:19 swift Exp $ -->
156 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86-bootloader.xml,v 1.38 2005/11/21 18:29:51 neysx Exp $ -->
157
158 <sections>
159
160 -<version>2.6</version>
161 -<date>2005-09-17</date>
162 +<version>2.7</version>
163 +<date>2005-11-21</date>
164
165 <section>
166 <title>Making your Choice</title>
167 @@ -201,7 +201,7 @@
168 To install GRUB, let's first emerge it:
169 </p>
170
171 -<pre caption = "Installing GRUB">
172 +<pre caption="Installing GRUB">
173 # <i>emerge grub</i>
174 </pre>
175
176 @@ -212,7 +212,7 @@
177 <c>nano</c> (or, if applicable, another editor):
178 </p>
179
180 -<pre caption = "Creating /boot/grub/grub.conf">
181 +<pre caption="Creating /boot/grub/grub.conf">
182 # <i>nano -w /boot/grub/grub.conf</i>
183 </pre>
184
185 @@ -241,19 +241,19 @@
186 line since JFS needs to replay its log before it allows read-write mounting.
187 </note>
188
189 -<pre caption = "grub.conf for non-genkernel users">
190 +<pre caption="grub.conf for non-genkernel users">
191 <comment># Which listing to boot as default. 0 is the first, 1 the second etc.</comment>
192 default 0
193 <comment># How many seconds to wait before the default listing is booted.</comment>
194 timeout 30
195 <comment># Nice, fat splash-image to spice things up :)
196 # Comment out if you don't have a graphics card installed</comment>
197 -splashimage=(hd0,0)/grub/splash.xpm.gz
198 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
199
200 title=Gentoo Linux 2.6.11-r3
201 <comment># Partition where the kernel image (or operating system) is located</comment>
202 root (hd0,0)
203 -kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda3
204 +kernel /boot/kernel-2.6.11-gentoo-r3 root=/dev/hda3
205
206 <comment># The next four lines are only if you dualboot with a Windows system.</comment>
207 <comment># In this case, Windows is hosted on /dev/hda6.</comment>
208 @@ -263,16 +263,15 @@
209 chainloader +1
210 </pre>
211
212 -
213 -<pre caption = "grub.conf for genkernel users">
214 +<pre caption="grub.conf for genkernel users">
215 default 0
216 timeout 30
217 -splashimage=(hd0,0)/grub/splash.xpm.gz
218 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
219
220 title=Gentoo Linux 2.6.11-r3
221 root (hd0,0)
222 -kernel /kernel-genkernel-x86-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
223 -initrd /initramfs-genkernel-x86-2.6.11-gentoo-r3
224 +kernel /boot/kernel-genkernel-x86-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
225 +initrd /boot/initramfs-genkernel-x86-2.6.11-gentoo-r3
226
227 <comment># Only in case you want to dual-boot</comment>
228 title=Windows XP
229 @@ -287,14 +286,23 @@
230 (which is the default behaviour).
231 </note>
232
233 -<note>
234 -If you use a different partitioning scheme and/or kernel image, adjust
235 -accordingly. However, make sure that anything that follows a GRUB-device
236 -(such as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In
237 -other words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
238 -<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
239 +<p>
240 +If you used a different partitioning scheme and/or kernel image, adjust
241 +accordingly. However, make sure that anything that follows a GRUB-device (such
242 +as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In other
243 +words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
244 +<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
245 <path>/boot</path>.
246 -</note>
247 +</p>
248 +
249 +<p>
250 +Besides, if you chose to use a different partitioning scheme and did not put
251 +<path>/boot</path> in a separate partition, the <path>/boot</path> prefix used
252 +in the above code samples is really <e>required</e>. If you followed our
253 +suggested partitioning plan, the <path>/boot</path> prefix it not required, but
254 +a <path>boot</path> symlink makes it work. In short, the above examples should
255 +work whether you defined a separate <path>/boot</path> partition or not.
256 +</p>
257
258 <p>
259 If you need to pass any additional options to the kernel, simply add
260 @@ -382,7 +390,7 @@
261 in the right commands to install the GRUB boot record onto your hard drive.
262 </p>
263
264 -<pre caption =" Starting the GRUB shell">
265 +<pre caption=" Starting the GRUB shell">
266 # <i>grub</i>
267 </pre>
268
269 @@ -414,7 +422,7 @@
270 Now go on, configure GRUB, shall we? :-)
271 </p>
272
273 -<pre caption =" Installing GRUB in the MBR">
274 +<pre caption=" Installing GRUB in the MBR">
275 grub&gt; <i>root (hd0,0)</i> <comment>(Specify where your /boot partition resides)</comment>
276 grub&gt; <i>setup (hd0)</i> <comment>(Install GRUB in the MBR)</comment>
277 grub&gt; <i>quit</i> <comment>(Exit the GRUB shell)</comment>
278
279
280
281 --
282 gentoo-doc-cvs@g.o mailing list