.\" .\" Japanese Version Copyright (c) 2000 Masato Bito all rights reserved. .\" Translated Mon Dec 2 2000 .\" by Masato Bito .\" .\" Copyright (c) 1999 Jakub Jelinek .\" Portions of this manual page from lilo.conf documentation .\" Copyright (c) 1992-1998 Werner Almesberger .\" This program is distributed according to the Gnu General Public License. .\" See the file COPYING in the SILO source distribution. .\" .TH SILO.CONF 5 "20 September 1999" "SILO" .\"O .SH NAME .SH 名前 .\"O silo.conf \- File format used by SILO. silo.conf \- SILOで使用されるファイルのフォーマット .\"O .SH SYNOPSIS .SH 書式 .BI "/etc/silo.conf" .\"O .SH DESCRIPTION .SH 説明 .\"O The \fBsilo.conf\fP file is a configuration file for \fBSILO\fP .\"O which is read during booting. \fBsilo.conf\fPファイルは\fBSILO\fPがブートする間に読み込む設定ファイルである。 .\"O \fBsilo.conf\fP provides instructions for \fBSILO\fP. This includes .\"O which kernels or other operating systems to load and what options pass to .\"O them. Unlike \fBLILO\fP bootloader on the Intel platform, \fBSILO\fP reads .\"O and parses the configuration file at boot time. This means any .\"O changes can be made to the configuration file and if the system is shut down .\"O properly or the config file makes it to the disk, \fBSILO\fP will use it on .\"O next bootup. \fBsilo.conf\fPには\fBSILO\fPのための命令を記述する。これには、 どのカーネルまたは他のオペーレーティングシステムをロードするのか、 それにどんなオプションを渡すのかが含まれる。 インテルプラットフォームの\fBLILO\fPブートローダと違って、 \fBSILO\fPはブート時に設定ファイルを読み込み解析する。 これはどのような変更でも設定ファイルに加えることができることを意味する。 そして、システムが正しくシャットダウンされる、 または設定ファイルがディスク上に作られたなら、 \fBSILO\fPは次のブート時にそれを使うだろう。 .\"O \fBSILO\fP is able to boot kernels even without this configuration file or .\"O if this file is crippled or contains syntax errors, but the user has to .\"O enter full PROM names and full path of the images to load and all options .\"O required for them manually. \fBSILO\fPはこの設定ファイル無しでさえも、カーネルをブートすることができる。 もしこのファイルが読み込めなかった、あるいは構文エラーがあった場合、 ユーザーは全てのPROMでの名前と、ロードするイメージのフルパスと、 要求される全てのオプションを手動で入力する必要がある。 .\"O .SH "FILE FORMAT" .SH ファイルフォーマット .\"O The file consists of comments and variable assignments. ファイルは、コメントと変数の代入式で構成されている。 .TP .\"O Comments コメント .\"O Start with a \fI#\fP character, and continue to .\"O the end of the line. \fI#\fPからその行の終りまで。 .TP .\"O Flag variables フラグ変数 .\"O Consist of a single keyword and are followed by whitespace .\"O or the end of the file. 1つのキーワードから成って、その後に空白文字またはEOFが続く。 .TP .\"O String variables 列変数 .\"O Consist of the variable name, optional architecture scope, .\"O optional whitespace, a \fI=\fP character, optional whitespace, the value .\"O and required whitespace, or the end of the file. 変数名、アーキテクチャの有効範囲(オプション)、空白文字、\fI=\fP、空白文字、 値、空白文字かEOFで構成される。 .TP .\"O Architecture scope アーキテクチャの有効範囲 .\"O Allowed only for variable names \fIimage\fP and \fIother\fP. Must directly .\"O follow variable name without any whitespace. Consists of the \fI[\fP character, .\"O a subset of case-insensitive tokens \fIsun4\fP, \fIsun4c\fP, \fIsun4d\fP, .\"O \fIsun4e\fP, \fIsun4m\fP, \fIsun4u\fP, separated by \fI,\fP characters .\"O (no whitespace allowed in between) and ends with the \fI]\fP character. 変数名\fIimage\fP \fIother\fPのためだけに用意されている。 空白文字無しで変数名のすぐ後ろに続かなければならない。 \fI[\fP、 大文字小文字を区別しないトークンのサブセット\fIsun4\fP, \fIsun4c\fP, \fIsun4d\fP, \fIsun4e\fP, \fIsun4m\fP, \fIsun4u\fPを\fI,\fPで区切った文字列 (間に空白文字があってはいけない)、そして最後に\fI]\fPで構成される。 .TP .\"O File names ファイル名 .\"O Some string variables are expecting file names. A file name format in \fBSILO\fP .\"O is: いくつかの列変数はファイル名を予測する。 \fBSILO\fPでのファイル名のフォーマットは以下の通りである: [][] or [][][\fB[\fP\fB-\fP\fB]\fP] .\"O The first form refers to a file or directory on some supported filesystem .\"O (currently \fIext2\fP, \fIufs\fP, \fIromfs\fP or \fIiso9660\fP), the latter .\"O refers to a range of 512B blocks on a device. For a device block range, .\"O either , or , or [-] must be given. If the last part .\"O is not given, it defaults to [1-16] (ie. 7680 bytes from offset 512 in the .\"O device - normal SPARC bootblock location). 前者ではサポートされたファイルシステム(現在\fIext2\fP, \fIufs\fP, \fIromfs\fP, \fIiso9660\fP)上で、ファイルまたはディレクトリを指定する。 後者ではデバイス上で512Bブロックの範囲を指定する。 デバイスブロックの範囲のために、, , [-]のいずれかは指定しなければならない。 最後の部分がなかった場合、デフォルトでは[1-16](すなわち、 デバイス-通常のSPARCのブートブロック上でのオフセット512からの7280バイト) になる。 .\"O Optional is the PROM name of the device the file or range .\"O is located on. See below for its syntax. For v2 and P1275 PROMs the device .\"O name must be immediately followed by the \fI;\fP character. The default is .\"O the boot device SILO was booted from. オプションのは、 ファイルまたは範囲を示すデバイスのPROMでの名前である。 構文については下記を参照すること。 v2とP1275 PROMのためにデバイス名は\fI;\fPのすぐ後に続かなければならない。 デフォルトは、SILOがブートされたブートデバイスである。 .\"O Optional is the 1 based partition number on the device. First .\"O partition is 1 (e.g. on \fI/dev/sda\fP in Linux is this \fI/dev/sda1\fP). .\"O The default is the default partition (the value of the \fIpartition\fP .\"O variable in the config file). オプションのは、そのデバイス上のパーティション番号の1つである。 最初のパーティションは1である(例えばLinuxの/dev/sdaではこれは/dev/sda1になる)。 デフォルトは、デフォルトパーティション(設定ファイルの\fIpartition\fP変数の値)。 .\"O must start with a \fI/\fP character and is the .\"O pathname from the root of the filesystem on that device (unless it is the .\"O root filesystem this is different to the pathname you will see in Linux). は\fI/\fPで始めなければならず、 そのデバイスのファイルシステム上のルートからのパス名でなければならない (ルートファイルシステムでない限り、これはLinuxで見るパス名と異なる)。 .\"O is the first block number (in blocksize 512 bytes) of the range to .\"O be loaded and is the last block number plus one. はロードされる範囲の最初のブロック番号(ブロックサイズは512バイト)、 そして、は最後のブロック番号に1を加えたものである。 .\"O SILO will transparently uncompress files when loading them if they are .\"O gzipped, unless the file is an initial ramdisk. もしgzip化されていてファイルがラムディスクでない限り、 ロードするときにSILOは、透過的にファイルを展開する。 .TP .\"O Device names デバイス名 .\"O Depend on the PROM version of the machine used during bootup. For older .\"O PROMs (v0), the device name syntax is: ブート時に使用されるマシンのPROMバージョンに依存する。 古いPROM(v0)ではデバイス名の構文は次のようになる: \fB(\fP\fB,\fP\fB,\fP\fB)\fP .\"O where: 説明: .\"O is one of \fIsd\fP, \fIst\fP, \fIxd\fP, \fIxy\fP, \fIfd\fP, \fIle\fP, \fIie\fP, は\fIsd\fP, \fIst\fP, \fIxd\fP, \fIxy\fP, \fIfd\fP, \fIle\fP, \fIie\fPのうちの1つ。 .\"O is controller number as decimal number, は十進数でのコントローラー番号。 .\"O is device id as decimal number, 十進数でのデバイスid。 .\"O and is zero based partition number. そしては0をベースとしてのパーティション番号。 .\"O Example: 例: sd(0,3,0) fd(0,0,0) .\"O For newer PROMs (v2) and all PROMs in the 64bit SPARC machines the syntax .\"O is: 新しいPROM(v2)と全ての64ビットSPARCマシンのPROMのための構文は次のようになる: [\fB:\fP] .\"O where the fully qualified PROM device name starts with a \fI/\fP character .\"O for the root of the PROM device tree and contains all the nodes from the .\"O root in the tree up to the disk device node. If some node contains more than .\"O one child node with the same name and the path has to go through such node, .\"O a \fI@\fP character followed by hexadecimal address pair is desirable to .\"O resolve the ambiguity. Optional partition number is a \fI:\fP character .\"O followed by a letter \fIa\fP (for first partition) through \fIh\fP (for .\"O last, 8th, partition). v2 PROM device names might look like: は、 PROMデバイスツリーのルートを表す\fI/\fPで始まり、 ディスクデバイスノードまでのツリーのルートからのノードを含む。 もしノードが同じ名前の複数のノードを含み、そのようなノードを指定するなら、 \fI@\fPの後に続く16進アドレスで曖昧性を解決することができる。 オプションでパーティション番号は、 \fI:\fPに続く\fIa\fP(最初のパーティション)から\fIh\fP(最後、 8番目のパーティション)の文字で指定できる。 v2 PROMでのデバイス名の例を示す: /sbus@3,0/SUNW,fas@3,8800000/sd@0,0 /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d /pci@1f,0/pci@1,1/ide@3/disk@2,0 /pci@1f,4000/ide/ata@0,0/cmdk@0,0 .\"O v2 PROM device names if specified as part of the file name (see above) .\"O should be followed by the \fI;\fP character to separate the device name from .\"O the optional Linux partition number (note that there can be two partition .\"O numbers specified, the latter takes precedence) and from the required .\"O pathname. もしファイル名の一部としてv2 PROMデバイス名が記述されるなら(上記参照)、 オプションのLinuxパーティション番号と必須のパス名からデバイス名を区切るために、 \fI;\fPが後に続かなければならない(注 後者の優先順位のために、 2つのパーティション番号が記述されることがある)。 .PP .\"O Variable names are case insensitive, values of string variables are case .\"O sensitive. 変数名は大文字と小文字の区別をしない、 列変数の値は大文字と小文字の区別をする。 .\"O Blanks and equal signs may only be part of a variable name or a value if .\"O they are escaped by a backslash or if the value is embedded in double .\"O quotes. An equal sign may not be the only character in a name or value. もしバックスラッシュでエスケープされる、またはダブルクオートで括られるなら、 ブランクとイコールは変数名または値の一部であるだけかもしれない。 イコールは変数名または値の単なる文字でないかもしれない。 .\"O An escaped tab is converted to an escaped blank. An escaped newline is .\"O removed from the input stream. An escaped backslash (i.e. two .\"O backslashes) is converted to a backslash. Inside quoted strings, only .\"O double quotes, backslashes and newlines can be escaped. エスケープされたタブは、エスケープされたブランクに変換される。 エスケープされた改行は、入力ストリームから削除される。 エスケープされたバックスラッシュ(すなわち2つのバックスラッシュ)は、 バックスラッシュに変換される。 ダブルクオートで囲まれた文字列では、 バックスラッシュと改行をエスケープすることができる。 .\"O Example: 例: # Simple silo.conf timeout=50 partition=5 root=/dev/sda5 read-only image=/boot/vmlinux label=linux image=/boot/vmlinux.old label=old .\"O .SH "GLOBAL OPTIONS" .SH グローバルオプション .\"O \fB/etc/silo.conf\fP begins with a possibly empty global options section. .\"O This section contains all variable assignments up to the first \fIimage\fP .\"O or \fIother\fP setting. \fB/etc/silo.conf\fPはおそらく空のグローバルオプションセクションから始まる。 このセクションでは、最初の\fIimage\fPまたは\fIother\fPの設定まで、 全ての変数の代入式について述べる。 .\"O The following global options are recognized: 以下のグローバルオプションが使用可能である: .TP .BI "default=" name .\"O Uses the specified image as the default boot image. If `default' is omitted, .\"O the image appearing first in the configuration file is used. デフォルトブートイメージとしてイメージを指定するのに使用する。 もし`default'が省略された場合、 設定ファイルで最初に指定されたイメージが使用される。 .TP .BI "message=" message_filename .\"O Specifies a file containing a message that is displayed before the boot .\"O prompt. ブートプロンプトの前に表示されるメッセージを含むファイルを指定する。 .TP .BI "password=" password .\"O Protect booting by a password. The password is given in cleartext in the .\"O configuration file. Because of that the configuration file should be only .\"O readable by the super user and the password should differ if possible from .\"O other passwords on the system. パスワードでブートを保護する。 パスワードは設定ファイルのクリアテキストで与えられる。 そのため、設定ファイルはスーパーユーザーだけが読めるようにしなければならない。 そして、パスワードはシステム上の他のパスワードと異なる方が良い。 .TP .BI "restricted" .\"O A password is only required to boot the image specified in .\"O \fB/etc/silo.conf\fP if parameters are specified on the command line .\"O or if the image is not specified in the configuration file at all (ie. .\"O arbitrary file load). .TP .BI "timeout=" tsecs .\"O Sets a timeout (in tenths of a second) for keyboard input. If no key is .\"O pressed for the specified time, the first image is automatically booted. キーボードからの入力のためのタイムアウト(1/10秒)を設定する。 キーが指定された時間の間押されなければ、最初のイメージが自動的にロードされる。 .PP .\"O In addition to these global options, per-image options .\"O \fIappend\fP, \fIdevice\fP, \fIfill-reboot-cmd\fP, \fIimage\fP, .\"O \fIinitrd-prompt\fP, \fIinitrd-size\fP, \fIinitrd\fP, .\"O \fIother\fP, \fIpartition\fP, \fIpause-after\fP, \fIpause-message\fP, .\"O \fIramdisk\fP, \fIread-only\fP, \fIread-write\fP and \fIroot\fP can be .\"O specified in the global section. They are used as defaults if they aren't .\"O specified in the configuration sections of the respective kernel images .\"O and will be used also for the arbitrary images specified on the input line .\"O and not mentioned in the configuration file (unless overridden by input line .\"O options). これらのグローバルオプションに加えて、プリイメージオプションの \fIappend\fP, \fIdevice\fP, \fIfill-reboot-cmd\fP, \fIimage\fP, \fIinitrd-prompt\fP, \fIinitrd-size\fP, \fIinitrd\fP, \fIother\fP, \fIpartition\fP, \fIpause-after\fP, \fIpause-message\fP, \fIramdisk\fP, \fIread-only\fP, \fIread-write\fP, \fIroot\fPをグローバルセクションに記述することができる。 これらは、 入力行で指定される任意のイメージのコンフィグレーションセクションで、 指定されないなら、 (入力行オプションで上書きされない限り)デフォルトとして使用される。 .\"O .SH "PER-IMAGE SECTIONS" .SH プリイメージセクション .\"O A per-image section starts with either a line .\"O .\"O \fBimage=\fP\fIfilename\fP .\"O .\"O (for booting from files) or .\"O .\"O \fBother=\fP\fIpartition_name\fP .\"O .\"O (for booting from device ranges). プリイメージセクションは、 \fBimage=\fP\fIfilename\fP (ファイルからブートする)または \fBother=\fP\fIpartition_name\fP (デバイスからブートする)のどちらの行からでも始めることができる。 .\"O The \fIimage\fP or \fIother\fP tokens can be directly followed by .\"O architecture scope (see above). In that case, the image declaration will be .\"O only available if the architecture of the booting machine is listed in the .\"O scope. If it is not listed, the whole \fIimage\fP or \fIother\fP line and .\"O the following related section will be treated as not present in the config .\"O file. \fIimage\fPまたは\fIother\fPの後に、 直接アーキテクチャの有効範囲(上記参照)を指定することができる。 その場合、ブートするマシンのアーキテクチャが指定されているなら、 宣言されたイメージを利用することができる。 もし指定されてないのならば、 \fIimage\fPまたは\fIother\fP行とそれに続く関連したセクションは、 設定ファイルに存在しないものとして扱われる。 .\"O Example: 例: image[sun4c,sun4d,sun4m]=/boot/vmlinux32.gz .\"O will declare image with the specified filename only on sun4c, sun4d or .\"O sun4m. sun4c, sun4d, sun4mだけで、ファイル名が記述されたイメージとして宣言される。 .\"O SILO will transparently decompress gzipped images. SILOは透過的にgzipされたイメージを展開する。 .\"O \fIpartition_name\fP in the \fBother\fP setting is a normal filename whose .\"O syntax is described above, but without the pathname part. So it is either a .\"O single partition number (starting with 1), or a device name (for v2 and .\"O P1275 PROMs followed by \fI;\fP character) followed by such partition .\"O number. Examples: \fBother\fPで設定される\fIpartition_name\fPは、 パス名の部分のない上で記述されている構文の通常のファイル名である。 よってそれは、(1から始まる)パーティション番号、 または(v2とP1275 PROMの)デバイス名と(\fI;\fPに続く)パーティション番号である。 例: other=1 bootblock=/boot/old.b # Example with device for v0 PROM: other=sd(0,2,0)3 # Example with device for v2 or P1275 PROM: other=/iommu/sbus/espdma/esp/sd@3,0;3 .\"O The \fIfilename\fP above can also include two special tokens: \fIcat\fP and .\"O \fIls\fP. Both have to be followed by whitespace and some filename (directory .\"O name in the \fIls\fP case). \fIls\fP can have options between the \fIls\fP .\"O token and the directory name. \fIcat\fP causes the filename to be loaded and .\"O printed to the screen instead of being executed, \fIls\fP causes a directory .\"O listing to be generated to the screen. \fIls\fP uses syntax: \fIfilename\fPは次の2つの特別なトークン\fIcat\fPと\fIls\fPを含むことができる。 両方とも、空白文字と何らかのファイル名(\fIls\fPの場合ディレクトリ名)が、 続かなければならない。\fIls\fPは、\fIls\fPとディレクトリ名の間に、 オプションを指定することができる \fIcat\fPはファイルをロードし、スクリーンにその内容を表示する。 \fIls\fPはスクリーンにディレクトリリストを表示する。 \fIls\fPの構文は以下のようになる。: \fBls\fP [\fB-\fP[\fBl\fP][\fBt\fP][\fBr\fP]] .\"O Option \fBl\fP generates long listing instead of listing only filenames, .\"O option \fBt\fP sorts by mtime instead of name and \fBr\fP reverses the .\"O sorting. As both \fIcat\fP and \fIls\fP require white space between the .\"O token and the filename, you should probably surround it into double quotes .\"O as in: オプション\fBl\fPは、ファイル名だけを表示する代わりに長いリストを生成する。 オプション\fBt\fPは、名前でソートする代わりにmtimeでソートする。 そして\fBr\fPは、逆順にソートする。 \fIcat\fPと\fIls\fPの両方とも、 トークンとファイル名の間に空白を含めなければならない。 それには、次のようにダブルクオートで囲めば良い: image="cat /etc/passwd" image="ls /lib/modules/" image="ls -lt /lib/" .\"O From the \fIimage\fP or \fIother\fP line on until next \fIimage\fP or .\"O \fIother\fP line are variable assignments and flags for this image's .\"O section. The following options and flags are recognized: \fIimage\fPまたは\fIother\fP行から次の\fIimage\fPまたは\fIother\fP行までは、 このイメージセクションの変数の代入式とフラグを記述する。 以下のオプションとフラグが使用できる: .TP .BI "label=" name .\"O The boot loader uses the main file name (without its path) of each image .\"O specification to identify that image. A different name can be used by .\"O setting the variable `label'. ブートローダは、そのイメージを識別するために、 各イメージの(パス名なしの)ファイル名を使用する。 変数`label'を設定することで、異なる名前を使用することができる。 .TP .BI "alias=" name .\"O A second name for the same entry can be used by specifying an alias. 同じエントリの2番目の名前は、エイリアスを指定することによって、 使用することができる。 .TP .BI "partition=" part_no .\"O Specifies the default partition number (a digit between 1 and 8, sda1 is .\"O part_no 1) to be used if some filename does not specify a partition number .\"O explicitely. ファイル名に明示的にパーティション番号を指定してない場合、 使用するためのデフォルトパーティション番号(1から8の1桁、sda1はpart_no 1)を 指定する。 .TP .BI "device=" device_name .\"O Specifies the default device name to be used if some filename does not .\"O specify a partition number explicitely. This defaults to the device .\"O \fBSILO\fP has been booted from if you don't specify \fIdevice\fP in either .\"O the global section or per-image section of the config file. ファイル名に明示的にパーティション番号を指定してない場合、 使用するためのデフォルトデバイス名を指定する。 設定ファイルのグローバルセクション、 またはプリイメージセクションで\fIdevice\fPを指定していない場合、 デフォルトは、\fBSILO\fPがブートしたデバイスになる。 .TP .BI "append=" string .\"O Appends the options specified to the parameter line .\"O passed to the kernel. This is typically used to .\"O specify parameters of hardware that can't be .\"O entirely auto-detected or for which probing may be .\"O dangerous. Example: カーネルに渡されるパラーメータを記述するためのオプションを追加する。 これは一般的に、自動的に発見できない、または発見したとしても危険な場合、 ハードウェアのパラメータを指定するために使用される。 append = "video=sbusfb:off" .TP .BI "literal=" string .\"O Like `append', but removes all other options (e.g. setting of the root .\"O device). Because vital options can be removed unintentionally with .\"O `literal', this option cannot be set in the global options section. `append'と似ているが、 他のすべてのオプション(例えばルートデバイスの設定)を無効にする。 有効なオプションが、`literal'によって意図せずに無効にすることができるので、 このオプションは、グローバルセクションで使用することができない。 .TP .BI "ramdisk=" size .\"O This specifies the size of the optional RAM disk. A value of zero indicates .\"O that no RAM disk should be created. If this variable is omitted, the RAM .\"O disk size configured into the boot image is used. オプションのラムディスクのサイズを指定する。 0はラムディスクを生成しないことを示す。この変数が省略された場合、 ブートイメージに設定されているラムディスクのサイズが使用される。 .TP .BI "read-only" .\"O This specifies that the root file system should be mounted read-only. ルートファイルシステムを読み込み専用でマウントすることを指定する。 .\"O Typically, the system startup procedure re-mounts the root file system .\"O read-write later (e.g. after fsck'ing it). 一般的に、システムはスタートアップ時に、 ルートファイルシステムを読み書きできるように、リマウントする(例えばfsckの後)。 .TP .BI "read-write" .\"O This specifies that the root file system should be mounted read-write. ルートファイルシステムを読み書きできるようにマウントすることを指定する。 .TP .BI "root=" root-device .\"O This specifies the device that should be mounted as root. ルートとしてマウントするデバイスを指定する。 .TP .BI "proll=" filename .\"O This should be only used for JavaStation flash installs. It specifies a file .\"O that will be loaded at boot time and executed in order to emulate old Sun v2 .\"O PROM on top of IEEE P1275 PROM called PROLL. JavaStationのフラッシュインストールのために使用する。PROLLと呼ばれたIEEE P1275 PROM上で、古いSun v2 PROMをエミュレートするために実行するファイルを指定する。 .TP .BI "initrd=" filename .\"O Specifies the file that will be loaded at boot time as the initial RAM disk. ブート時にロードするラムディスクイメージのファイルを指定する。 .\"O Example: 例: initrd=/images/initrd.img .\"O SILO will not decompress the initial ramdisk, the Linux kernel will do that. .\"O If the initial ramdisk does not fit on one media (usually floppy), you can .\"O split it into several pieces and separate the filenames in the list by .\"O \fI|\fP characters. In this case, you have to provide a non-zero .\"O \fIinitrd-size\fP and, if the images reside on different medias, .\"O \fIinitrd-prompt\fP as well. SILOはラムディスクイメージを展開しない。Linuxカーネルがそれを行う。 ラムディスクイメージが1つのメディアに収まらない(通常フロッピー)場合、 それを分割することができ、\fI|\fPでファイル名のリストを区切る。 この場合、0以外の\fIinitrd-size\fPを指定しなければならない。 また、イメージが異なるメディアに存在するなら、 \fIinitrd-prompt\fPも指定しなければならない。 .\"O Example (on the first floppy is initrd1.img, on the second initrd2.img .\"O always in the root directory and the sum of both image sizes is 1700000 .\"O bytes): 例(最初のフロッピーにinitrd1.imgがあり、 2番目のinitrd2.imgがルートディレクトリにある。 そして、2つのイメージのサイズの合計が1700000バイトとする): initrd=/initrd1.img|/initrd2.img initrd-size=1700000 initrd-prompt .TP .BI "initrd-size=" size .\"O When more than one initial ramdisk part is specified in the \fIinitrd\fP .\"O setting, this option is required to be the sum of sizes of all the images .\"O mentioned on that line, in bytes. It is required so that SILO can reserve .\"O space for the image, eventhough size of some parts has not been determined .\"O yet. 1つ以上のラムディスクイメージが\fIinitrd\fPで設定されている時、 このオプションには、記述されているすべてのイメージのサイズの合計を、 バイトで指定しなければならない。 たとえいくつかのサイズがまだ決定されていなかったとしても、 SILOが、イメージのためにスペースを確保することができるようにするために、 指定する必要がある。 .TP .BI "initrd-prompt" .\"O If more than one initial ramdisk part is specified, wait for user pressing a .\"O key between loading the different images, so that the user can exchange .\"O media. This flag is needed if some initrd parts reside on the same device, .\"O but different removable media. On the other side, if you e.g. load one part .\"O from a floppy and the second part from a hard disk, such option is not .\"O needed (the question is who'd write something like that into silo.conf). 1つ以上のラムディスクイメージが指定された場合、 ユーザーがメディアを交換することができるように、 異なるイメージをロードする間にユーザーのキー入力を待つ。このフラグは、 いくつかの分割されたinitrdが同じデバイスであるが、 異なるリムーバブルメディア上に存在する場合、必要である。 それ以外の場合、例えば1つはフロッピーから、 2つめはハードディスクからロードする場合、そのようなオプションは必要ない (silo.confにそのような記述をするのは問題である)。 .TP .BI "bootblock=" filename .\"O For the \fIother\fP image section, if booting from some partition is desired .\"O but the bootblock on that partition has been saved off to some file and the .\"O bootblock in that partition contains something else (e.g. SILO bootblock), .\"O this option specifies the name of the file where the bootblock has been .\"O saved to. SILO loads the image from that file, pretends as if it had .\"O loaded it from the specified partition and executes it. This is e.g. useful .\"O if you have Solaris installed on the first partition of the disk and want to .\"O install SILO into the master boot record (ie. bootblock of the first .\"O partition). Then you should first save the Solaris bootblock into some file, .\"O e.g. by issuing: \fIother\fPイメージセクション用のオプションである。 どこかのパーティションからブートする要求があるが、 そのパーティション上のブートブロックを何らかのファイルに保存してなく、 そのパーティション上に何らかのブートブロックが含まれている (例えばSILOのブートブロック)ならば、 このオプションには、ロードするブートブロックのファイル名を記述する必要がある。 SILOは、まるでそれが指定されたパーティションからロードしたかのように、 ファイルからイメージをロードし、それを実行する。 これは例えば、Solarisをディスクの最初のパーティションにインストールしていて、 マスターブートレコーダ(すなわち最初のパーティションのブートブロック)に SILOをインストールしたい場合、役に立つ。 まず最初に、次のようにしてSolarisのブートブロックを何らかのファイルに保存する: \fBdd if=/dev/sda of=/boot/old.b bs=512 count=15 skip=1\fP .\"O then install SILO and put this snippet into \fIsilo.conf\fP: そしてSILOをインストールして、\fIsilo.conf\fPに次の記述を加える: other=1 bootblock=/boot/old.b .\"O Note that this does not work correctly on UltraSPARC boxes at the moment. これは当面UltraSPARC上で正常に動作しない点に注意すること。 .TP .BI "fill-reboot-cmd" .\"O This flag should be used only with Linux kernels. If specified for an image, .\"O it causes the file \fI/proc/sys/kernel/reboot-cmd\fP to be initialized by .\"O the device SILO has been booted from, image name of the kernel beeing loaded .\"O and all arguments to it specified either in the configuration file, or on .\"O the input line. This means that if the user does not modify that file and .\"O reboots the system, it should load the same kernel as last time and pass it .\"O the same arguments. このフラグはLinuxカーネルだけに使用する。 このフラグが記述された場合、ブートしたデバイスのSILOが、 カーネルのイメージ名と、 設定ファイルまたは入力行で指定されたすべての引数によって、 \fI/proc/sys/kernel/reboot-cmd\fPを初期化する。 これは、ユーザーがそのファイルを修正しなくて、システムをリブートする場合、 最後にロードしたのと同じカーネルをロードし、 同じ引数を渡さなければならないことを意味する。 .TP .BI "pause-after" .\"O If this flag is specified, SILO will stop after loading the kernel (and .\"O initial ramdisks if specified) and ask the user to press a key before .\"O continuing. このフラグが指定された場合、 SILOはカーネルをロードした後に停止して(そして指定された場合、 ラムディスクの初期化を行う)処理を続ける前にユーザーにキー入力を待つ。 .TP .BI "pause-message=" string .\"O If \fIpause-after\fP is specified, this variable specifies the string to .\"O print to the user when asking him to press a key. The default is: \fIpause-after\fPには、ユーザーにキー入力を促す時に、 表示する文字列を指定する。デフォルトは次のようになる: Press ENTER to continue. .TP .BI "single-key" .\"O Enables booting the image by hitting a single key when the cursor is at the .\"O first character in the input line, without the need to press .\"O afterwards. \fIsingle-key\fP requires that either the image's label or its .\"O alias (or both) is a single character. If you need to specify parameters for .\"O such an image, or if you want to boot some other image which happens to .\"O start with the same letter, then you need to start the input line with at .\"O least one space which will be removed before processing but will disable .\"O this single-key feature. 最後にを押すことなく、カーソルが入力行の最初にある状態で、 1つのキーを押すことによってイメージをブートできるようにする。 \fIsingle-key\fPは、イメージのラベルまたはエイリアス(またはその両方とも)が、 1文字でなければならない。 もしそのようなイメージにパラメータを指定する必要がある、 または同じ文字で始まる他のイメージをブートしたいならば、 single-keyの機能を無効にするために、少なくとも1つスペースで始める必要がある。 .TP .BI "solaris" .\"O This flag tells SILO that the image to be loaded is a Solaris kernel. This .\"O has been implemented so that users don't have to save the old Solaris .\"O bootblock or in case it has been lost. SILO then tries to use the Solaris .\"O ufsboot second stage loader to load specified kernel image. The usual kernel .\"O name is \fI/kernel/unix\fP (SILO automatically prepends the .\"O \fI/platform/\fP path before it if needed). SILO recognizes the .\"O special pathname \fI/kernel/unix\fP (with any device and/or partition) though .\"O and assumes the \fIsolaris\fP flag for it by default. Note that this method .\"O of loading Solaris might not work for you, as it is quite error prone due to .\"O different versions of Solaris and different PROMs. このフラグは、ロードされたイメージがSolarisカーネルであることをSILOに指定する。 ユーザーがSolarisブートブロックを保存する必要がないように、 SILOは、指定されたカーネルイメージをロードするために、 Solaris ufsbootセカンドステージローダを使用しようとする。 通常カーネル名は、/kernel/unix(必要ならば、SILOはパスの前に、 /platform/をプリペンドする)である。 SILOでは、(どんなデバイスやパーティションでも)\fI/kernel/unix\fPを、 特別なパス名とするが、\fIsolaris\fPはそれをデフォルトとみなす。 SolarisのバージョンとPROMが異なるために、Solarisをロードするためのこの方法が、 機能しないかもしれない点に注意すること。 .\"O The recommended solution for sharing Solaris and Linux on the same disk is .\"O to install SILO into the Linux's own partition bootblock (as opposed to the .\"O master bootblock) and add PROM aliases to boot from the devices. E.g. if .\"O Solaris is installed on Linux device sda1 and Linux on sda4, \fIsilo.conf\fP .\"O could look like this: SolarisとLinuxを同じディスク上で共有する推奨された方法は、 (マスターブートブロックに対して) Linuxをインストールしたパーティションのブートブロックに、SILOをインストールし、 そのデバイスからブートするためにPROMエイリアスを加えることである。 例えば、SolarisがLinuxでのsda1にインストールされていて、 Linuxがsda4にインストールされているならば、\fIsilo.conf\fPは次のようになる: partition=4 timeout=50 image=/boot/vmlinux label=linux root=/dev/sda4 other=1 label=solaris .\"O one would invoke SILO as: SILOを次のように実行する: \fB/sbin/silo -t\fP .\"O and in PROM (this depends on the PROM version, lets assume P1275) .\"O one would do either: そして、PROM上で(これはPROMバージョンに依存する。ここではP1275を仮定する)、 次のようにする: \fBsetenv boot-device /sbus/espdma/esp/sd@0,0:d\fP .\"O (so that by default it boots from the 4th (ie. Linux) partition) or: (デフォルトで4番目(すなわちLinux)のパーティションからブートするようにする) あるいは: \fBnvalias linux /sbus/espdma/esp/sd@0,0:d\fP \fBnvalias solaris /sbus/espdma/esp/sd@0,0:a\fP .\"O so that one could already in PROM boot either with \fBboot linux\fP or with .\"O \fBboot solaris\fP. For the former, there would still be possibility to type .\"O \fBsolaris\fP on the SILO prompt to boot Solaris. として、PROM上で\fBboot linux\fPまたは\fBboot solaris\fPのいずれでも、 ブートできるようにする。前者のために、SILOプロンプトで\fBsolaris\fPと打って、 Solarisを起動する可能性がまだある。 .\"O .SH AUTHOR .SH 著者 .\"O \fBSILO\fP has been written by Jakub Jelinek and .\"O the SparcLinux team (see documentation on the list of contributors). \fBSILO\fPは、Jakub Jelinek と、 SparcLinuxチーム(貢献者リストのドキュメントを参照)によって書かれた。 .\"O .SH AVAILABILITY .SH 入手先 .\"O The latest version of the sources may be obtained by ftp from .\"O ftp://ultra.linux.cz/pub/silo/ ソースの最新バージョンがftp://ultra.linux.cz/pub/silo/から入手できるだろう。 .\"O .SH "SEE ALSO" .SH 関連項目 silo(8) .SH 翻訳者 尾藤 正人