This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Handbuch:SPARC/Installation/Bootloader

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This page is a translated version of the page Handbook:SPARC/Installation/Bootloader and the translation is 100% complete.
SPARC Handbook
Installation
About the installation
Choosing the media
Configuring the network
Preparing the disks
Installing stage3
Installing base system
Configuring the kernel
Configuring the system
Installing tools
Configuring the bootloader
Finalizing
Working with Gentoo
Portage introduction
USE flags
Portage features
Initscript system
Environment variables
Working with Portage
Files and directories
Variables
Mixing software branches
Additional tools
Custom package repository
Advanced features
Network configuration
Getting started
Advanced configuration
Modular networking
Wireless
Adding functionality
Dynamic management



SILO der SPARC Bootloader

Installieren und konfigurieren Sie jetzt SILO, den Sparc Improved boot LOader.

root #emerge --ask sys-boot/silo

Als Nächstes erstellen Sie /etc/silo.conf:

root #nano -w /etc/silo.conf

Unterhalb wird eine silo.conf Beispieldatei gezeigt. Sie verwendet das Partitions-Schema, das wir im Rahmen dieses Buches verwenden, kernel-3.16.5-gentoo als Kernel Abbild und initramfs-genkernel-sparc64-3.16.5-gentoo als initramfs.

DATEI /etc/silo.confExample configuration file
partition = 1         # Boot partition (= root partition)
root = /dev/sda1      # Root partition
timeout = 150         # Wait 15 seconds before booting the default section
  
image = /boot/kernel-3.16.5-gentoo
  label = linux
  append = "initrd=/boot/initramfs-genkernel-sparc64-3.16.5-gentoo root=/dev/sda1"

Falls Sie die silo.conf Beispieldatei verwenden wie sie von Portage ausgeliefert wird, stellen Sie sicher dass Sie alle Zeilen auskommentieren, die nicht benötigt werden.

Wenn die physische Festplatte auf der SILO (als Bootloader) installiert wird eine andere ist, als auf der /etc/silo.conf liegt, dann kopieren Sie zuerst /etc/silo.conf auf eine Partition dieser Festplatte. Wenn /boot/ eine separate Partition auf dieser Festplatte ist, kopieren Sie die Konfigurationsdatei in /boot/ und starten Sie /sbin/silo:

root #cp /etc/silo.conf /boot
root #/sbin/silo -C /boot/silo.conf
/boot/silo.conf appears to be valid

Andernfalls starten Sie einfach /sbin/silo:

root #/sbin/silo
/etc/silo.conf appears to be valid
Notiz
Starten Sie silo jedes mal erneut nach der Aktualisierung oder Installation des Paketes sys-boot/silo (falls notwendig mit Parametern).


Neustart des Systems

Exit the chrooted environment and unmount all mounted partitions. Then type in that one magical command that initiates the final, true test: reboot.

root #exit
cdimage ~#cd
cdimage ~#umount -l /mnt/gentoo/dev{/shm,/pts,}
cdimage ~#umount -R /mnt/gentoo
cdimage ~#reboot

Vergessen Sie nicht die bootfähige CD zu entfernen, andernfalls könnte die CD anstelle des neuen Gentoo Systems erneut gebootet werden.

Nach dem Neustart in die neu installierte Gentoo Umgebung stellen sie Ihre Arbeit mit Abschluss der Gentoo Installation fertig.