<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE sections SYSTEM "/dtd/book.dtd">

<!-- 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/nl/handbook/2006.1/hb-install-sparc-bootloader.xml,v 1.1 2006/11/11 19:28:12 diox Exp $ -->

<sections>

<version>7.0</version>
<date>2006-08-30</date>

<section>
<title>Uw keuze maken</title>
<subsection>
<title>Inleiding</title>
<body>

<p>
Nu dat uw kernel geconfigureerd en gecompileerd is en de nodig systeem
configuratie bestanden correct ingevuld zijn, is het tijd om een programma te
installeren dat uw kernel zal laden bij het opstarten van uw systeem. Zo een
programma heet een <e>bootloader</e>.
</p>

</body>
</subsection>
</section>
<section>
<title>De SPARC Bootloader: SILO installeren</title>
<body>

<p>
Het is nu tijd om <uri link="http://www.sparc-boot.org">SILO</uri>, de Sparc
Improved boot LOader te installeren.
</p>

<pre caption = "SILO Installeren">
# <i>emerge silo</i>
</pre>

<p>
Open nu uw favoriete text-editor (wij gebruiken <c>nano</c> als voorbeeld) en
maak <path>/etc/silo.conf</path> aan.
</p>

<pre caption = "/etc/silo.conf Aanmaken">
# <i>nano -w /etc/silo.conf</i>
</pre>

<p>
Hieronder zal u een voorbeeld <path>silo.conf</path> bestand vinden. Het
gebruikt het partitieschema dat we doorheen dit boek gebruiken en het gebruikt
<path>kernel-2.4.31</path> als kernelimage.
</p>

<pre caption = "Voorbeeld /etc/silo.conf">
partition = 1         <comment># Boot partitie (= root partitie)</comment>
root = /dev/sda1      <comment># Root partitie</comment>
timeout = 150         <comment># Wacht 15 seconden voor het opstarten van het
standaard ingestelde deel.</comment>

image = /boot/kernel-2.4.31
  label = linux
</pre>

<p>
Als u het voorbeeld <path>silo.conf</path> dat bij Portage komt gebruikt, zorg
dan dat u <e>alle</e> lijnen commentareerd die u niet nodig heeft.
</p>

<p>
Als de fysieke schijf waarop u SILO wilt installeren (als bootloader) verschilt
van de fysieke schijf waarop <path>/etc/silo.conf</path> staart, moet u
<path>/etc/silo.conf</path> copieeren. Als we er vanuit gaan dat
<path>/boot</path> een aparte partitie is op die schijf, copieert u best het
configuratie bestand naar <path>/boot</path> en voert u <c>/sbin/silo -f</c>
uit:
</p>

<pre caption = "Alleen als /boot en de SILO niet op de zelfde schijf staan">
# <i>cp /etc/silo.conf /boot</i>
# <i>/sbin/silo -f -C /boot/silo.conf</i>
/boot/silo.conf appears to be valid
</pre>

<p>
Ander voert u alleen <c>/sbin/silo -f</c> uit:
</p>

<pre caption = "SILO uitvoeren">
# <i>/sbin/silo -f</i>
/etc/silo.conf appears to be valid
</pre>

<note>
U moet <c>silo</c> (met parameters) elke keer u SILO update of herinstalleerd
uitvoeren.
</note>

<p>
Ga nu verder met <uri link="#reboot">Uw systeem herstarten</uri>.
</p>

</body>
</section>
<section id="reboot">
<title>Uw systeem herstarten</title>
<subsection>
<body>

<p>
Verlaat de chroot omgeving en unmount alle gemounte partities. Typ dan dat
magische commando waar u op zat te wachten in: <c>reboot</c>.
</p>

<pre caption="De chroot omgeving verlaten, de partities unmounten en het systeem
herstarten">
# <i>exit</i>
cdimage ~# <i>cd</i>
cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
cdimage ~# <i>reboot</i>
</pre>

<p>
Vergeet vanzelfsprekend niet de opstartbare CD te verwijderen, anders zal de CD
opnieuw opstarten i.p.v. uw new Gentoo systeem.
</p>

<p>
Eens herstart in uw Gentoo installatie, maakt u best alles af met <uri
link="?part=1&amp;chap=11">Afmaken van uw Gentoo installatie</uri>.
</p>

</body>
</subsection>
</section>
</sections>
