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:19
Message-Id: 200511211957.jALJvkcT006336@robin.gentoo.org
1 neysx 05/11/21 18:29:52
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 #108493 grub.conf examples should include /boot/ for kernel and initrd
8
9 Revision Changes Path
10 1.7 +28 -21 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.7&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.7&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.6&r2=1.7&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.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- hb-install-amd64-bootloader.xml 22 Oct 2005 00:17:35 -0000 1.6
23 +++ hb-install-amd64-bootloader.xml 21 Nov 2005 18:29:52 -0000 1.7
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.6 2005/10/22 00:17:35 yoswink Exp $ -->
29 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-amd64-bootloader.xml,v 1.7 2005/11/21 18:29:52 neysx Exp $ -->
30
31 <sections>
32
33 -<version>5.3</version>
34 -<date>2005-10-22</date>
35 +<version>5.4</version>
36 +<date>2005-11-21</date>
37
38 <section>
39 <title>Making your Choice</title>
40 @@ -182,7 +182,7 @@
41 To install GRUB, let's first emerge it.
42 </p>
43
44 -<pre caption = "Installing GRUB">
45 +<pre caption="Installing GRUB">
46 # <i>emerge grub</i>
47 </pre>
48
49 @@ -194,7 +194,7 @@
50 editor):
51 </p>
52
53 -<pre caption = "Creating /boot/grub/grub.conf">
54 +<pre caption="Creating /boot/grub/grub.conf">
55 # <i>nano -w /boot/grub/grub.conf</i>
56 </pre>
57
58 @@ -221,19 +221,19 @@
59 line since JFS needs to replay its log before it allows read-write mounting.
60 </note>
61
62 -<pre caption = "grub.conf for non-genkernel users">
63 +<pre caption="grub.conf for non-genkernel users">
64 <comment># Which listing to boot as default. 0 is the first, 1 the second etc.</comment>
65 default 0
66 <comment># How many seconds to wait before the default listing is booted.</comment>
67 timeout 30
68 <comment># Nice, fat splash-image to spice things up :)
69 # Comment out if you don't have a graphics card installed</comment>
70 -splashimage=(hd0,0)/grub/splash.xpm.gz
71 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
72
73 title=Gentoo Linux 2.6.12
74 <comment># Partition where the kernel image (or operating system) is located</comment>
75 root (hd0,0)
76 -kernel /kernel-2.6.12-gentoo-r6 root=/dev/hda3
77 +kernel /boot/kernel-2.6.12-gentoo-r6 root=/dev/hda3
78
79 <comment># The next four lines are only if you dualboot with a Windows system.</comment>
80 <comment># In this case, Windows is hosted on /dev/hda6.</comment>
81 @@ -243,16 +243,15 @@
82 chainloader +1
83 </pre>
84
85 -
86 -<pre caption = "grub.conf for genkernel users">
87 +<pre caption="grub.conf for genkernel users">
88 default 0
89 timeout 30
90 -splashimage=(hd0,0)/grub/splash.xpm.gz
91 +splashimage=(hd0,0)/boot/grub/splash.xpm.gz
92
93 title=Gentoo Linux 2.6.12-gentoo-r6
94 root (hd0,0)
95 -kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
96 -initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6
97 +kernel /boot/kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
98 +initrd /boot/initramfs-genkernel-amd64-2.6.12-gentoo-r6
99
100 <comment># Only in case you want to dual-boot</comment>
101 title=Windows XP
102 @@ -261,15 +260,23 @@
103 chainloader +1
104 </pre>
105
106 -
107 -<note>
108 -If you use a different partitioning scheme and/or kernel image, adjust
109 -accordingly. However, make sure that anything that follows a GRUB-device
110 -(such as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In
111 -other words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
112 -<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
113 +<p>
114 +If you used a different partitioning scheme and/or kernel image, adjust
115 +accordingly. However, make sure that anything that follows a GRUB-device (such
116 +as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In other
117 +words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
118 +<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
119 <path>/boot</path>.
120 -</note>
121 +</p>
122 +
123 +<p>
124 +Besides, if you chose to use a different partitioning scheme and did not put
125 +<path>/boot</path> in a separate partition, the <path>/boot</path> prefix used
126 +in the above code samples is really <e>required</e>. If you followed our
127 +suggested partitioning plan, the <path>/boot</path> prefix it not required, but
128 +a <path>boot</path> symlink makes it work. In short, the above examples should
129 +work whether you defined a separate <path>/boot</path> partition or not.
130 +</p>
131
132 <p>
133 If you need to pass any additional options to the kernel, simply add
134
135
136
137 1.5 +28 -21 xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml
138
139 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.5&content-type=text/x-cvsweb-markup&cvsroot=gentoo
140 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml?rev=1.5&content-type=text/plain&cvsroot=gentoo
141 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml.diff?r1=1.4&r2=1.5&cvsroot=gentoo
142
143 Index: hb-install-x86-bootloader.xml
144 ===================================================================
145 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v
146 retrieving revision 1.4
147 retrieving revision 1.5
148 diff -u -r1.4 -r1.5
149 --- hb-install-x86-bootloader.xml 7 Sep 2005 18:50:37 -0000 1.4
150 +++ hb-install-x86-bootloader.xml 21 Nov 2005 18:29:52 -0000 1.5
151 @@ -4,12 +4,12 @@
152 <!-- The content of this document is licensed under the CC-BY-SA license -->
153 <!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
154
155 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v 1.4 2005/09/07 18:50:37 vanquirius Exp $ -->
156 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2005.1/hb-install-x86-bootloader.xml,v 1.5 2005/11/21 18:29:52 neysx Exp $ -->
157
158 <sections>
159
160 -<version>5.0</version>
161 -<date>2005-08-08</date>
162 +<version>5.1</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-r11
201 <comment># Partition where the kernel image (or operating system) is located</comment>
202 root (hd0,0)
203 -kernel /kernel-2.6.11-gentoo-r11 root=/dev/hda3
204 +kernel /boot/kernel-2.6.11-gentoo-r11 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-r11
221 root (hd0,0)
222 -kernel /kernel-genkernel-x86-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
223 -initrd /initramfs-genkernel-x86-2.6.11-gentoo-r11
224 +kernel /boot/kernel-genkernel-x86-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
225 +initrd /boot/initramfs-genkernel-x86-2.6.11-gentoo-r11
226
227 <comment># Only in case you want to dual-boot</comment>
228 title=Windows XP
229 @@ -281,15 +280,23 @@
230 chainloader +1
231 </pre>
232
233 -
234 -<note>
235 -If you use a different partitioning scheme and/or kernel image, adjust
236 -accordingly. However, make sure that anything that follows a GRUB-device
237 -(such as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In
238 -other words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
239 -<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
240 +<p>
241 +If you used a different partitioning scheme and/or kernel image, adjust
242 +accordingly. However, make sure that anything that follows a GRUB-device (such
243 +as <path>(hd0,0)</path>) is relative to the mountpoint, not the root. In other
244 +words, <path>(hd0,0)/grub/splash.xpm.gz</path> is in reality
245 +<path>/boot/grub/splash.xpm.gz</path> since <path>(hd0,0)</path> is
246 <path>/boot</path>.
247 -</note>
248 +</p>
249 +
250 +<p>
251 +Besides, if you chose to use a different partitioning scheme and did not put
252 +<path>/boot</path> in a separate partition, the <path>/boot</path> prefix used
253 +in the above code samples is really <e>required</e>. If you followed our
254 +suggested partitioning plan, the <path>/boot</path> prefix it not required, but
255 +a <path>boot</path> symlink makes it work. In short, the above examples should
256 +work whether you defined a separate <path>/boot</path> partition or not.
257 +</p>
258
259 <p>
260 If you need to pass any additional options to the kernel, simply add
261
262
263
264 --
265 gentoo-doc-cvs@g.o mailing list