josejx 07/04/02 04:37:26
Modified: handbook-ppc.xml hb-install-ppc-bootloader.xml
hb-install-ppc-kernel.xml
Log:
Add keyvals to the handbook.
Revision Changes Path
1.7 xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml?rev=1.7&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml?rev=1.7&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml?r1=1.6&r2=1.7
Index: handbook-ppc.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- handbook-ppc.xml 2 Apr 2007 02:27:51 -0000 1.6
+++ handbook-ppc.xml 2 Apr 2007 04:37:26 -0000 1.7
@@ -1,16 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book SYSTEM "/dtd/book.dtd">
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml,v 1.6
2007/04/02 02:27:51 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/handbook-ppc.xml,v 1.7
2007/04/02 04:37:26 josejx Exp $ -->
<book link="/doc/en/handbook/2007.0/handbook-ppc.xml" disclaimer="draft">
<title>Gentoo Linux 2007.0 PPC Handbook</title>
<values>
<key id="arch">PPC</key>
- <key id="/boot">/dev/hda1</key>
- <key id="kernel-version">2.6.19-r7</key>
- <key id="kernel-name">kernel-2.6.19-gentoo-r7</key>
+ <key id="kernel-version">2.6.19-r5</key>
+ <key id="kernel-name">kernel-2.6.19-gentoo-r5</key>
+ <key id="kernel-gentoo">2.6.19-gentoo-r5</key>
<key id="online-book">2007.0/handbook-ppc.xml</key>
<key id="release-dir">releases/ppc/2007.0/ppc32/</key>
<key id="stage3">stage3-ppc-2007.0.tar.bz2</key>
1.6
xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?rev=1.6&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?rev=1.6&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml?r1=1.5&r2=1.6
Index: hb-install-ppc-bootloader.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- hb-install-ppc-bootloader.xml 2 Apr 2007 02:20:46 -0000 1.5
+++ hb-install-ppc-bootloader.xml 2 Apr 2007 04:37:26 -0000 1.6
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v
1.5 2007/04/02 02:20:46 josejx Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-bootloader.xml,v
1.6 2007/04/02 04:37:26 josejx Exp $ -->
<sections>
@@ -79,14 +79,14 @@
<pre caption="Adding genkernel boot arguments to yaboot.conf">
<comment>###########################################################
## This section can be duplicated if you have more than one
-## kernel or set of boot options - replace vmlinux and initrd
+## kernel or set of boot options - replace the image and initrd
## with the exact filename of your kernel and initrd image.
###########################################################</comment>
-image=/boot/vmlinux
+image=/boot/kenrel-genkernel-ppc-<keyval id="kernel-gentoo"/>
label=Linux
root=/dev/ram0
partition=3
- initrd=/boot/initrd
+ initrd=/boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/>
<comment># You can add additional kernel arguments to append such as
# rootdelay=10 for a USB/Firewire Boot</comment>
append="real_root=/dev/hda3 init=/linuxrc"
@@ -217,11 +217,12 @@
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
-<comment>#################
-## This section can be duplicated if you have more than one kernel or set of
-## boot options - replace vmlinux with your kernel-version
-#################</comment>
-image=/boot/vmlinux
+<comment>###########################################################
+## This section can be duplicated if you have more than one
+## kernel or set of boot options - replace the image variable
+## with the exact filename of your kernel.
+###########################################################</comment>
+image=/boot/<keyval id="kernel-name"/>
label=Linux
root=/dev/hda3
partition=3
@@ -280,7 +281,7 @@
# <i>exit</i>
cdimage ~# <i>mkdir /mnt/mac</i>
cdimage ~# <i>mount /dev/sda6 /mnt/mac -t hfs</i>
-cdimage ~# <i>cp /mnt/gentoo/usr/src/linux/vmlinux "/mnt/mac/System
Folder/Linux Kernels"</i>
+cdimage ~# <i>cp /mnt/gentoo/usr/src/linux/vmlinux "/mnt/mac/System
Folder/Linux Kernels/<keyval id="kernel-name"/>"</i>
</pre>
<p>
@@ -292,8 +293,8 @@
# <i>exit</i>
cdimage ~# <i>mkdir /mnt/mac</i>
cdimage ~# <i>mount /dev/sda6 /mnt/mac -t hfs</i>
-cdimage ~# <i>cp /mnt/gentoo/boot/kernel-* "/mnt/mac/System Folder/Linux
Kernels"</i>
-cdimage ~# <i>cp /mnt/gentoo/boot/initramfs-* "/mnt/mac/System Folder"</i>
+cdimage ~# <i>cp /mnt/gentoo/boot/kernel-genkernel-ppc-<keyval
id="kernel-gentoo"/> "/mnt/mac/System Folder/Linux Kernels"</i>
+cdimage ~# <i>cp /mnt/gentoo/boot/initramfs-genkernel-ppc-<keyval
id="kernel-gentoo"/> "/mnt/mac/System Folder"</i>
</pre>
<p>
@@ -368,11 +369,13 @@
<pre caption="Configuring quik.conf">
# Example of quik.conf
init-message = "Gentoo 2007.0\n"
-partition = 2 <comment># This is the boot partition</comment>
+<comment># This is the boot partition</comment>
+partition = 2
root = /dev/hda4
timeout = 30
default = gentoo
-image = /vmlinux <comment># This is your kernel</comment>
+<comment># This is your kernel</comment>
+image = /<keyval id="kernel-name"/>
label = gentoo
</pre>
@@ -400,7 +403,7 @@
# <i>nvsetenv input-device kbd</i>
# <i>nvsetenv boot-device scsi/[EMAIL PROTECTED]:0</i> <comment># For
SCSI</comment>
# <i>nvsetenv boot-device ata/[EMAIL PROTECTED]:0</i> <comment># For
ATA</comment>
-# <i>nvsetenv boot-file /boot/vmlinux-<keyval id="kernel-version"/>
root=/dev/hda4</i> <comment>First item is the path to the kernel, the second is
the root partition. You may append any kernel options to the end of this
line.</comment>
+# <i>nvsetenv boot-file /boot/<keyval id="kernel-name"/> root=/dev/hda4</i>
<comment>First item is the path to the kernel, the second is the root
partition. You may append any kernel options to the end of this line.</comment>
# <i>nvsetenv boot-command boot</i> <comment># Set this to bye for MacOS and
boot for Linux</comment>
</pre>
@@ -488,11 +491,11 @@
[SECTION]
Local HD -> Linux (Normal)
-ide:0 kernel video=radeonfb:[EMAIL PROTECTED] root=/dev/hda3
+ide:0 <keyval id="kernel-name"/> video=radeonfb:[EMAIL PROTECTED]
root=/dev/hda3
[SECTION]
Local HD -> Genkernel (Normal)
-ide:0 kernel root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc initrd=initrd
+ide:0 kernel-genkernel-ppc-<keyval id="kernel-gentoo"/> root=/dev/ram0
real_root=/dev/hda3 init=/linuxrc initrd=initramfs-genkernel-ppc-<keyval
id="kernel-gentoo"/>
</pre>
<p>
1.4 xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml
file :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?rev=1.4&view=markup
plain:
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?rev=1.4&content-type=text/plain
diff :
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml?r1=1.3&r2=1.4
Index: hb-install-ppc-kernel.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hb-install-ppc-kernel.xml 2 Apr 2007 02:40:59 -0000 1.3
+++ hb-install-ppc-kernel.xml 2 Apr 2007 04:37:26 -0000 1.4
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v
1.3 2007/04/02 02:40:59 josejx Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-ppc-kernel.xml,v
1.4 2007/04/02 04:37:26 josejx Exp $ -->
<sections>
@@ -63,7 +63,7 @@
<pre caption="Viewing the kernel source symlink">
# <i>ls -l /usr/src/linux</i>
-lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux ->
linux-<keyval id="kernel-version"/>
+lrwxrwxrwx 1 root root 22 Mar 18 16:23 /usr/src/linux ->
linux-<keyval id="kernel-gentoo"/>
</pre>
<p>
@@ -328,9 +328,9 @@
<pre caption="Installing the kernel">
# <i>cd /usr/src/linux</i>
-<comment>replace <kernel-version> with your kernel version</comment>
+<comment>Note, your kernel version might be different</comment>
<comment>(Apple/IBM)</comment>
-# <i>cp vmlinux /boot/<kernel-version></i>
+# <i>cp vmlinux /boot/<keyval id="kernel-name"/></i>
<comment>(Pegasos)</comment>
# <i>cp arch/powerpc/boot/images/zImage /boot/<keyval id="kernel-name"/></i>
</pre>
@@ -477,7 +477,8 @@
</p>
<pre caption="Checking the created kernel image name and initrd">
-# <i>ls /boot/kernel* /boot/initramfs*</i>
+<comment>Note, your kernel version might be different</comment>
+# <i>ls /boot/kernel-genkernel-ppc-<keyval id="kernel-gentoo"/>
/boot/initramfs-genkernel-ppc-<keyval id="kernel-gentoo"/></i>
</pre>
<p>
--
[email protected] mailing list