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

ハンドブック:IA64/インストール/ブートローダー

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
This page is a translated version of the page Handbook:IA64/Installation/Bootloader and the translation is 100% complete.
IA64 ハンドブック
インストール
インストールについて
メディアの選択
ネットワーク設定
ディスクの準備
stage3のインストール
Gentooベースシステムのインストール
カーネルの設定
システムの設定
ツールのインストール
ブートローダの設定
締めくくり
Gentooの操作
Portageについて
USEフラグ
Portageの機能
Initスクリプトシステム
環境変数
Portageの操作
ファイルとディレクトリ
変数
ソフトウェアブランチの併用
追加ツール
カスタムPortageツリー
高度な機能
ネットワーク設定
はじめに
高度な設定
モジュール式ネットワーク
無線
機能の追加
動的な管理



elilo のインストール

On the IA64 platform, the boot loader is called elilo. First install the software on the system:

root #emerge --ask sys-boot/elilo

Its configuration file is called /etc/elilo.conf and a sample file is installed in the typical docs directory (/usr/share/doc/elilo-<version>/). Here is another sample configuration:

FILE /etc/elilo.confExample elilo configuration
boot=/dev/sda1
delay=30
timeout=50
default=Gentoo
append="console=ttyS0,9600"
prompt
  
image=/vmlinuz
	label=Gentoo
	root=/dev/sda3
	read-only
  
image=/vmlinuz.old
	label=Gentoo.old
	root=/dev/sda3
	read-only

The boot line tells elilo the location of the boot partition (in this case, /dev/sda1). The delay line sets the number of 10th of seconds before automatically booting the default when in non-interactive mode. The timeout line is just like the delay line but for interactive mode. The default line sets the default kernel entry (which is defined below). The append line adds extra options to the kernel command line. The prompt sets the default elilo behavior to interactive.

The sections that start with image define different bootable images. Each image has a nice label, a root filesystem, and will only mount the root filesystem read-only.

If, while building the Linux kernel, an initramfs was also configured to boot from, then it is necessary to change the configuration by referring to this initramfs file and telling the initramfs where the root device is at:

FILE /etc/elilo.confUpdated configuration to reflect use of initramfs
image=/vmlinuz
	label=Gentoo
	initrd=/initramfs-genkernel-ia64-3.16.5-gentoo
	append="initrd=initramfs-genkernel-ia64-3.16.5-gentoo root=/dev/sda3 console=ttyS0,9600"
	read-only

When the configuration is done, run elilo --efiboot. The --efiboot option adds a menu entry for Gentoo Linux to the EFI Boot Manager:

root #elilo --efiboot


システムのリブート

chroot環境を出て、全てのパーティションをアンマウントします。次に、最終かつ真のテストを実行するためのマジカルコマンドrebootを入力しましょう。

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

もちろん、ブートCDを取り出しておいてください。そうしないと新しいGentooではなく、再度CDをブートしてしまいます。

新規にインストールされたGentooをリブートした後は、最終章インストールの締めくくりに進みましょう。