.\" .\" Japanese Version Copyright (c) 2000 Masato Bito .\" all rights reserved. .\" Translated Fri Nov 17 2000 .\" .TH SILO 8 "11 February 2000" "Linux" .\"O .SH NAME .SH 名前 \fBSILO\fP \- SPARC用ブートローダ(Sparc Improved boot LOader) .\"O .SH SYNOPSIS .SH 書式 \fB/sbin/silo\fP [-r root_path] [-b secondary] [-i primary] [-C config-file] [-S backup-file] [-s backup-file] [-J flash-image ] [-p {0|2}] [-fFtuUvV] .\"O .SH DESCRIPTION .SH 説明 .\"O .\"O \fBSILO\fP can be used to boot Linux, SunOS, and/or Solaris. It is a program .\"O that runs from the PROM on your SPARC machine and allows for loading of .\"O operating systems. It also has extended features like the ability to load .\"O Linux kernels arbitrarily from an \fIext2\fP, \fIufs\fP, \fIromfs\fP or .\"O \fIiso9660\fP filesystem. \fBSILO\fPはLinux, SunOS, Solarisをブートするために使用することができる。 SPARCマシン上のPROMから実行して、 オペレーティングシステムのロードを行うプログラムである。 任意の\fIext2\fP, \fIufs\fP, \fIromfs\fP, \fIiso9660\fPファイルシステムからLinuxカーネルをロードする能力を持つように、 機能が拡張されている。 .\"O The PROM in the SPARC at boot time loads a bootblock from a boot .\"O device. This bootblock is quite short, so a full featured boot loader does .\"O not fit into it, especially since filesystems like \fIext2\fP reserve only 1024 .\"O bytes for it and the partition table itself takes 512 bytes. .\"O That's why SILO consists of a collection of first stage loaders which are .\"O just able to load a second stage loader which already understands all .\"O supported filesystems and handles the config file, input line editing and .\"O actual loading of operating systems. ブート時にSPARCのPROMは、ブートデバイスからブートブロックをロードする。 このブートブロックはとても短いのでフル機能のブートローダは収まらない。 特に\fIext2\fPファイルシステムでは1024バイトだけを予約しておいて、 パーティションテーブル自体に512バイトを使用する。 そのため、SILOは、全てのサポートされたファイルシステムを理解して、 設定ファイル操作、入力行の編集、 オペレーティングシステムのロードを行うセカンドステージローダをロードするための ファーストステージローダの集合で構成されている。 .\"O The program \fB/sbin/silo\fP is used to install the first stage loader by .\"O copying the right first stage loader into the bootblock (unless the correct .\"O first stage is already installed and the \fI-f\fP option is not used to .\"O force it), writes the block number of the first block of the second stage .\"O loader (usually \fB/boot/second.b\fP) into it and into the second stage .\"O loader it records all the block numbers of \fBsecond.b\fP and the name and .\"O location of the configuration file. The configuration file itself is parsed .\"O by the boot loader at boot time. See \fBsilo.conf(5)\fP for details. \fB/sbin/silo\fPは、(適当なファーストステージが既にインストールされてなく、 \fI-f\fPオプションによってそれを強制されなければ) ブートブロックに適当なファーストステージローダをコピーすることによって、 ファーストステージローダのインストールを行い、 セカンドステージローダ(通常\fB/boot/second.b\fP)の最初のブロック番号を書き込む。 そして、セカンドステージローダに、 \fBsecond.b\fPの全てのブロック番号と設定ファイルの名前と位置を記録する。 設定ファイル自体は、ブートローダによってブート時に解析される。 詳細は\fBsilo.conf(5)\fPを参照すること。 .\"O This means that the \fB/sbin/silo\fP program must be run only if you install .\"O a new version of \fISILO\fP or if you move the second stage loader on the .\"O disk. Unlike the \fILILO\fP bootloader on the Intel platform, you don't have .\"O to rerun it every time you make a change into \fB/etc/silo.conf\fP or when .\"O you install new kernels. これは、\fISILO\fPの新しいバージョンをインストールする場合、 あるいはディスク上でセカンドステージローダを移動する場合だけ、 \fB/sbin/silo\fPを実行しなければならないことを意味する。 インテルプラットホーム上の\fILILO\fPブートローダと違って、 \fB/etc/silo.conf\fPを編集する、 あるいは新しいカーネルをインストールするたびに、再実行する必要はない。 .\"O \fB/sbin/silo\fP used to assist in creating SPARC bootable CDs, but this .\"O feature has been moved into the \fBmkisofs(8)\fP program and you only need .\"O to put \fBSILO\fP first and second stage loaders and the configuration on .\"O the CD before running it. \fB/sbin/silo\fPはSPARCでブート可能なCDを作成するのに使用されたが、 この機能は\fBmkisofs(8)\fPに持ち込まれたので、 実行する前に、\fBSILO\fPのファースト及びセカンドステージローダと設定を、 CDに置く必要があるだけになった。 .PP .\"O .SH "COMMAND\-LINE OPTIONS" .SH オプション .TP .BI "-r " root_path .\"O This does a chroot into \fIroot_path\fP before performing any actions. あらゆる実行の前に\fIroot_path\fPにchrootする。 .TP .BI "-b " secondary .\"O This tells SILO to use \fIsecondary\fP as the second stage loader instead .\"O of \fB/boot/second.b\fP \fIsecondary\fPを\fB/boot/second.b\fPの代わりに、 セカンドステージローダとして使用する。 .TP .BI "-i " primary .\"O Install \fIprimary\fP as the first stage loader instead of the default one .\"O (depending on other command line options and architecture of the machine .\"O \fB/sbin/silo\fP is being run on it is either \fB/boot/first.b\fP, .\"O \fB/boot/ultra.b\fP or \fB/boot/fd.b\fP). (\fB/sbin/silo\fP実行時のオプションや、 マシンのアーキテクチャによって\fB/boot/first.b\fP, \fB/boot/ultra.b\fP, \fB/boot/fd.b\fPのいずれかに定まる) デフォルトのファーストステージローダの代わりに、 \fIprimary\fPをファーストステージローダとしてインストールする。 .TP .BI "-C " config .\"O specify alternate config file instead of \fB/etc/silo.conf\fP. The config .\"O file must reside on the same physical disk (though it can be on .\"O different partitions) as the secondary loader (usually \fB/boot/second.b\fP). \fB/etc/silo.conf\fPの代わりに違う設定ファイルを指定する。 設定ファイルは、セカンドローダ(通常\fB/boot/second.b\fP)と (パーティションが異なったとしても) 物理的に同じディスク上に存在しなければならない。 .TP .BI "-S " backup-file .\"O This forces saving your old bootblock into file \fIbackup-file\fP. \fIbackup-file\fPに古いブートブロックを強制的に保存する。 .TP .BI "-s " backup-file .\"O This forces saving your old bootblock into file \fIbackup-file\fP .\"O if and only if \fIbackup-file\fP does not exist yet. \fIbackup-file\fPが存在しない場合に限り、 \fIbackup-file\fPに古いブートブロックを強制的に保存する。 .TP .BI "-p " {0|2} .\"O force PROM version to be 0 or 2 (default is autodetection). PROMバージョンを0か2にする。(デフォルトでは自動検出) .TP .B -f .\"O force overwriting of bootblock. 強制的にブートブロックを上書きする。 .TP .B -t .\"O store bootblock into the same partition as second stage loader. .\"O By default SILO on SCSI/IDE disks writes bootblock into masterboot .\"O (bootblock of partition starting at cylinder 0), with .\"O .B -t .\"O you change this behaviour. セカンドステージローダを同じパーティションのブートブロックに書き込む。 デフォルトでSILOは、SCSI/IDEディスク上でマスターブートのブートブロック (シリンダー0で始まっているパーティションのブートブロック) に書き込む。 .B -t でこの動作を変える。 .TP .B -V .\"O show version. バージョンを表示する。 .TP .B -F .\"O Generate the bootblock for booting from the \fIromfs\fP filesystem. .\"O To create a bootable \fIromfs\fP filesystem, usually floppy, prepare the .\"O tree for that filesystem and run \fBgenromfs(8)\fP and make sure you pass it .\"O the \fB-a 512 -A 2048,/..\fP options. Then mount it and run \fB/sbin/silo\fP .\"O on it with the \fB-F\fP option. The procedure usually goes like this: \fIromfs\fPファイルシステムからブートするためのブートブロックを生成する。 ブート可能な\fIromfs\fPファイルシステム(通常フロッピー)を作成するために、 そのファイルシステムのツリーを準備して、 \fB-a 512 -A 2048,/..\fPオプションを渡すことに注意して \fBgenromfs(8)\fPを実行する。 そして、それをマウントし、\fB-F\fPオプション付きで実行する。 この手続きは、通常次のようになる: \fBgenromfs -d \fP\fIdirectory\fP\fB/ -f \fP\fIdevice\fP\fB -a 512 -A 2048,/..\fP \fBmount -t romfs \fP\fIdevice mountpoint\fP \fBsilo -r \fP\fImountpoint\fP\fB -i /boot/fd.b -F\fP \fBumount \fP\fImountpoint\fP .TP .BI "-J " flash-image .\"O Generate the bootblock for booting JavaStation off an flash image. .\"O To create it, prepare the tree for that filesystem and run \fBgenromfs(8)\fP .\"O and make sure you pass it the \fB-a512\fP option. You have to keep 1KB of .\"O space before the filesystem for the ELF bootblock. THe procedure usually .\"O goes like this: フラッシュイメージからブートするためのブートブロックを生成する。 それを作成するために、 そのファイルシステムのツリーを準備して、 \fB-a 512\fPオプションを渡すことに注意して\fBgenromfs(8)\fPを実行する。 そして、それをマウントし、\fB-F\fPオプション付きで実行する。 そのファイルシステムの先頭に、 1KBのスペースをELFブートブロックのためにとっておかなければならない。 この手続きは、通常次のようになる: \fBdd if=/dev/zero of=\fP\fIflash.img\fP\fB bs=1k count=1\fP \fBgenromfs -a 512 -f \fP\fIromfs.img\fP\fB -d \fP\fIflash/\fP \fBcat \fP\fIromfs.img\fP\fB >> \fP\fIflash.img\fP \fBrm -f \fP\fIromfs.img\fP \fBlosetup \fP\fI/dev/loop0\fP\fB -o 1024 \fP\fIflash.img\fP \fBmount -t romfs -o ro \fP\fI/dev/loop0\fP\fB \fP\fI/mnt\fP \fBsilo -J \fP\fIflash.img\fP\fB -i /boot/ieee32.b -r \fP\fI/mnt\fP \fBumount \fP\fI/mnt\fP \fBlosetup -d \fP\fI/dev/loop0\fP \fBjsflash \fP\fIflash.img\fP .TP .B -u .\"O Assume the machine is an UltraSPARC (the default is obviously the machine .\"O \fB/sbin/silo\fP is running on). This can be useful e.g. if you plan to move .\"O a disk from a 32bit box to a 64bit box, you run \fB/sbin/silo -f -u\fP and .\"O then after the shutdown move the disk. マシンがUltraSPARCであると仮定する(デフォルトでは、 明らかに\fB/sbin/silo\fPを実行しているマシンである)。 これは例えば、 32ビットボックスから64ビットボックスにディスクを移動する計画をしていて、 \fB/sbin/silo -f -u\fPを実行して、 シャットダウン後ディスクを移動する場合に役立つ。 .TP .B -U .\"O Assume the machine is not an UltraSPARC. マシンがUltraSPARCでないと仮定する。 .TP .B -v .\"O Print PROM version and exit. PROMバージョンを表示して終了する。 .PP .\"O .SH "BOOT TIME OPERATION" .SH ブート時の処理 .\"O When the PROM boots from a disk and partition on which SILO is installed, it .\"O will print the string \fBSILO\fP to the screen (if the second stage loader .\"O is moved away or is crippled it might actually print less letters from that .\"O string and die). If \fItimeout\fP is specified in \fBsilo.conf(5)\fP, it .\"O will wait like that until the user presses some key or until the timeout .\"O expires. If the timeout expires, the default image is booted, otherwise SILO .\"O continues normal operation, ie. prints the string \fBboot:\fP and waits for .\"O user input. PROMがSILOがインストールされているディスク及びパーティションからブートする時、 \fBSILO\fPという文字列をスクリーンに出力する (セカンドステージローダが移動された、または正常に動作しなくなったら、 実際より少ない文字列が出力されるかもしれないし、止まるかもしれない)。 もし、\fItimeout\fPが\fBsilo.conf(5)\fPで指定されていれば、 ユーザーが何かのキーを押すまで、あるいはタイムアウトするまで待つ。 タイムアウトした場合、デフォルトイメージがブートされる。 そうでなければ、SILOは正常動作、 すなわち文字列\fBboot:\fPを出力しユーザーの入力を待ち続ける。 .\"O At the prompt, you can enter the \fIlabel\fP or .\"O \fIalias\fP of some image present in the config file, plus additional .\"O arguments you want to give it and \fBSILO\fP will boot such image, give it .\"O all the arguments specified in the config and all the arguments you gave on .\"O the command line. Entering an empty line will cause the default image to be .\"O loaded. Examples: プロンプトで、 設定ファイルで提供されている\fIlabel\fP、 もしくはいくつかのイメージの\fIalias\fP、 加えて渡したい引数を入力することができ、\fBSILO\fPはそのイメージでブートする。 全ての引数を設定に記述することも、 全ての引数をコマンドラインで与えることもできる。 空行を入力した場合、デフォルトイメージがロードされるようになる。例: boot: \fBlinux\fP boot: \fBlinux.old init=/bin/sh\fP .\"O The arguments you pass on the line after the name of the image to be loaded .\"O are basically kernel arguments which are normally specified in the .\"O \fIappend\fP variable in \fBsilo.conf(5)\fP. In addition to that, several .\"O special arguments are handled by \fBSILO\fP internally and are not passed to .\"O the kernel. These include \fIinitrd\fP, \fIinitrd-size=\fPnumber, .\"O \fIinitrd-prompt\fP, \fIpause-after\fP and \fIshow-arguments\fP. .\"O \fIshow-arguments\fP causes the arguments which will be passed to the kernel .\"O to be printed on the screen before the kernel is loaded, the other options .\"O ressemble flags and string variables of the same names from .\"O \fBsilo.conf(5)\fP. ロードされるイメージ名の後に渡す引数は、 基本的に、 通常\fBsilo.conf(5)\fPの\fIappend\fP変数で記述されるカーネル引数である。 それに加えて、いくつかの特別な引数は、\fBSILO\fPの内部で取り扱われ、 カーネルには渡されない。これには、\fIinitrd\fP, \fIinitrd-size=\fPnumber, \fIinitrd-prompt\fP, \fIpause-after\fP, \fIshow-arguments\fPが含まれる。 \fIshow-arguments\fPは、カーネルがロードされる前に、 カーネルに渡される引数をスクリーンに表示する。 その他のオプションは、 \fBsilo.conf(5)\fPにある同名のフラグや変数名と同じである。 .\"O You can also enter one of the special keywords, \fBhalt\fP or \fBhelp\fP. .\"O \fBhalt\fP causes \fBSILO\fP to return PROM, \fBhelp\fP prints some short .\"O incomplete help message. また特別なキーワードとして、\fBhalt\fPまたは\fBhelp\fPを入力することができる。 \fBhalt\fPはPROMに戻り、 \fBhelp\fPはいくつかの不完全なヘルプメッセージを表示する。 .\"O If you want to load some image or other operating system not mentioned in .\"O the config file (or if the config file could not be loaded because it has .\"O not been found or had syntax errors in it - \fBSILO\fP will print a message .\"O about this in such a case), you can load arbitrary image from any local .\"O \fIext2\fP, \fIufs\fP, \fIromfs\fP or \fIiso9660\fP filesystem and give it .\"O arbitrary arguments. \fBSILO\fP will handle transparent decompression of .\"O gzipped images. You type in the fully qualified \fBSILO\fP file name or .\"O partition name and arguments. For the syntax of the fully qualified .\"O \fBSILO\fP file names and partition names see \fBsilo.conf(5)\fP. .\"O Examples: 設定ファイルに記述されていない(もしくは、 見つからないまたは構文エラーにより設定ファイルをロードすることができない - \fBSILO\fPはこの場合これについてメッセージを表示するだろう) 何かのイメージまたは他のオペレーティングシステムをロードしたいなら、 ローカルの\fIext2\fP, \fIufs\fP, \fIromfs\fP, \fIiso9660\fPファイルシステムから任意のイメージをロードすることができ、 任意の引数を渡すことができる。 \fBSILO\fPは、gzipされたイメージの透過的な解凍を行う。 \fBSILO\fPにはファイル名またはパーティション名と引数を完全に記述する。 \fBSILO\fPへの完全なファイル名とパーティション名の構文については、 \fBsilo.conf(5)\fPを参照すること。例: boot: \fB/pci@1f,4000/ide/ata@0,0/cmdk@0,0;4/boot/vmlinux.new root=/dev/hda4\fP boot: \fB2/boot/vmlinux initrd=/boot/initrd.img\fP boot: \fBsd(0,2,0)2/boot/vmlinux.gz root=/dev/sdc2 init=/bin/sh ro\fP .\"O If there are \fIsingle-key\fP images in the config file, then they will be .\"O loaded as soon as you press that key at the beginning of the input line. .\"O If you want to give them arguments or load a different image which starts .\"O with that letter, you can type a space at the beginning of the input line so .\"O that the image is not autostarted. もし \fIsingle-key\fPイメージが設定ファイルにあれば、 入力の始めにそのキーを押すと、すぐにそれがロードされる。 その文字から始まる異なるイメージをロードしたい、または引数を渡したい場合は、 自動スタートされないために、始めにスペースを入力することができる。 .\"O You can also view short files and see directory listings. .\"O Details are listed in \fBsilo.conf(5)\fP, here just a few examples: また、短いファイルの表示及びディレクトリリストを参照することができる。 詳細は、\fBsilo.conf(5)\fPに記述されている。ここにいくつかの例を示す: boot: \fBcat /etc/silo.conf\fP boot: \fBcat /sbus/espdma@1,280000/esp/sd@2,0;5/etc/inittab\fP boot: \fBls -lt /lib/modules/\fP boot: \fBls /pci@1f,4000/ide/ata@0,0/cmdk@0,0;2/lib/\fP .\"O \fBSILO\fP operation can be password protected in two different ways (in .\"O addition to no password protection at all). Either a password will be .\"O required to load any image, or password will be required to load any image .\"O not mentioned in \fBsilo.conf\fP or if the user gives some arguments to some .\"O image mentioned there. \fBSILO\fPは、 2つの異なる方法(全てのパスワード保護に加えて)でパスワード保護できる。 1つ目は何らかのイメージを読み込むときにパスワードを要求する場合で、 2つ目は\fBsilo.conf\fPに記述されていないイメージをロードする、 または\fBsilo.conf\fPに記述されているイメージに何らかの引数を与える場合である。 .PP .\"O .SH AUTHOR .SH 著者 .\"O .B SILO .\"O was written by Jakub Jelinek (jakub@redhat.com) and is released .\"O under the conditions of the GNU General Public License. See the file .\"O COPYING for details. This man page was written by Donald Barnes .\"O (djb@redhat.com) and updated by the author. .B SILO は、Jakub Jelinek (jakub@redhat.com)によって書かれ、GNU General Public Licenseの条件でリリースされた。詳細はCOPYINGファイルを参照すること。 このマニュアルは、Donald Barnes (djb@redhat.com)によって書かれ、 アップデートされた。 .\"O .SH CREDITS .SH 貢献者 .br Mark Adler .br Wernel Almesberger .br Donald Barnes .br Eddie C. Dost .br Miguel de Icaza .br Jakub Jelinek .br David S. Miller .br Mauricio Plaza .br Adrian Rodrigues .br Andrew Tridgell .br Peter Zaitcev .br .\"O .SH SEE ALSO .SH 関連項目 \fBsilo.conf(5)\fP, \fBmkisofs(8)\fP, \fBgenromfs(8)\fP .SH 翻訳者 尾藤 正人