Path: blob/main/documentation/manual-pages/ja/man8/boot0cfg.8
18093 views
.\" Copyright (c) 1999 Robert Nordier .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, .\" OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT .\" OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, .\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\" %FreeBSD: src/usr.sbin/boot0cfg/boot0cfg.8,v 1.25 2004/07/07 19:57:16 ru Exp % .\" .\" $FreeBSD$ .\" .Dd February 21, 1999 .Dt BOOT0CFG 8 .Os .Sh ̾�� .Nm boot0cfg .Nd �֡��ȥޥ͡�����Υ��ȡ��������桼�ƥ���ƥ� .Sh �� .Nm .Op Fl Bv .Op Fl b Ar boot0 .Op Fl d Ar drive .Op Fl f Ar file .Op Fl m Ar mask .Op Fl o Ar options .Op Fl s Ar slice .Op Fl t Ar ticks .Ar disk .Sh ���� .Fx �� .Sq boot0 �֡��ȥޥ͡�����ϡ� i386 �ޥ��� (PC) ���ɤΥǥ������ΤɤΥ��饤�����鵯ư���뤫�� ���Ԥ�����Ǥ���褦�ˤ��ޤ��� .Pp �����ǡ� .Dq ���饤�� �ȸ��ڤ��Ƥ����Τϡ� .Bx �ʳ��� PC ��Ϣʸ��ˤ����Ƥϰ���Ū�� .Dq �ѡ��ƥ������ �ȸƤФ�뤳�Ȥ����դ��Ƥ��������� ŵ��Ū�ˤϡ���ࡼ�Х֥�ǥ������ʳ��Τߡ����饤��������ޤ��� .Pp ���ץ����Ȥ��ơ� .Nm �桼�ƥ���ƥ��� .Sq boot0 �֡��ȥޥ͡��������ꤷ�� .Ar disk �إ��ȡ��뤷�ޤ�; �����ơ��͡�������ǽ�ʥѥ��������������ޤ��� .Pp PC �Ǥϡ��֡��ȥޥ͡������ŵ��Ū�˥ǥ������Υ����� 0 �ˤ��ꡢ �ޥ����֡��ȥ쥳���� (Master Boot Record; MBR) �Ȥ����Τ��Ƥ��ޤ��� MBR �ϡ������� (PC BIOS ����������Ϥ���ޤ�) �� �ǡ��� (������줿���饤���˴ؤ����Ȥ߹��ߤ�ɽ) �Ρ�ξ����ޤߤޤ��� .Pp ���ץ����ϼ����̤�Ǥ�: .Bl -tag -width indent .It Fl B .Sq boot0 �֡��ȥޥ͡�����ȡ��뤷�ޤ��� ���Υ��ץ����ϡ�MBR �����ɤ���ޤ����� �Ȥ߹��ߺѤΥ��饤��ɽ�ˤϱƶ����ޤ��� .It Fl b Ar boot0 �ɤ� .Sq boot0 ���������Ѥ��뤫����ꤷ�ޤ��� �ǥե���Ȥϥӥǥ������ɤ���Ϥ����Ѥ��� .Pa /boot/boot0 �Ǥ��������뤤�ϡ�COM1 �ݡ��Ȥ˽��Ϥ��� .Pa /boot/boot0sio ��Ȥ����Ȥ�Ǥ��ޤ� (��ǥॷ���ʥ�� DSR �� CTS ��ư��ʤ������ϡ� COM1 �ݡ��Ȥˤϲ�����Ϥ���ʤ����Ȥ����դ��Ʋ�����)�� .It Fl d Ar drive ���ꤷ�� .Ar disk ��ޤ�ɥ饤�֤Ȥ��뤿��� PC BIOS �����Ѥ��롢�ɥ饤���ֹ����ꤷ�ޤ��� ŵ��Ū�ˤϡ��ǽ�Υϡ��ɥɥ饤�֤� 0x80 �Ǥ��ꡢ 2 ���ܤΥϡ��ɥɥ饤�֤� 0x81 �ʤɤȤʤ�ޤ�; 0 ���� 0xff �ޤǤδ֤�Ǥ�դ�����������դ���ǽ�Ǥ��� .It Fl f Ar file �������ä� MBR �ΥХå����åץ��ԡ��� .Ar file �˽���٤��Ǥ��뤳�Ȥ���ꤷ�ޤ��� ���Υե�����ϡ�¸�ߤ��ʤ����ˤϺ������졢 ¸�ߤ�����ˤ��ִ�����ޤ��� .It Fl m Ar mask ���饤����ͭ��/̵������ꤷ�ޤ��� .Ar mask �� 0 (�����饤����̵��) ���� 0xf (4 �������Υ��饤����ͭ��) �δ֤������Ǥ��� .It Fl o Ar options ����ޤǶ��ڤ�줿ʸ����Ǥ��ꡢ���Υ��ץ���������ǽ�Ǥ� (ɬ�פ˱����� .Dq no �������դ��뤳�Ȥ���ǽ�Ǥ�): .Bl -tag -width indent .It packet �ǥ�������Ϣ BIOS �����ӥ��˥�����������Ȥ��ˡ� ����Ū�� (CHS) ���ե������ǤϤʤ��� �ǥ������ѥ��å� (BIOS INT 0x13 ��ĥ) ���ե�������ɬ�פ˱����ƻ��Ѥ��ޤ��� ����ˤ�ꡢ1023 ������Ķ����֡��Ȳ�ǽ�Ȥʤ�ޤ����� �����BIOS ���ݡ��Ȥ�ɬ�פǤ��� �ǥե���Ȥ� .Sq nopacket �Ǥ��� .It setdrv �ǥ�������ޤ�ɥ饤�֤λ��Ȥˡ�-d ���ץ����ˤ�� �����ǽ�ʥɥ饤���ֹ����Ѥ��뤳�Ȥ������ޤ��� �ǥե���Ȥ� .Sq nosetdrv �Ǥ��� .It update �֡��ȥޥ͡����㤬 MBR �����뤳�Ȥ���Ĥ��ޤ���(���饤���� .Sq ��ư ���֤Ȥ��뤿��䡢���饤��������������¸���뤿��ˡ�MBR ����������ޤ���) ���줬�ǥե���ȤǤ�; .Sq noupdate ���ץ�������ꤹ��ȡ�MBR ���ɤ߹������Ѥǰ����ޤ��� .El .It Fl s Ar slice �ǥե���ȤΥ֡�������� .Ar slice �����ꤷ�ޤ��� 1 ���� 4 �ޤǤ��ͤϡ����饤�����ޤ��� �� 5 �ϡ�2 ���ܤΥǥ���������Υ֡��Ȥ��ޤ��� .It Fl t Ar ticks �����ॢ�����ͤ� .Ar ticks �����ꤷ�ޤ� (1 �ä������ tick ������ 18.2 �ĤǤ�)�� .It Fl v ��Ĺ: ������줿���饤���˴ؤ������ʤɤ�ɽ�����ޤ��� .El .Sh ��Ϣ�ե����� .Bl -tag -width /boot/boot0sio -compact .It Pa /boot/boot0 �ǥե���Ȥ� .Sq boot0 ����� .It Pa /boot/boot0sio ���ꥢ�륳�����ѤΥ���� (COM1,9600,8,N,1,MODEM) .El .Sh ������ ����֡��Ȼ��˥��饤�� 2 ����֡��Ȥ��ޤ�: .Pp .Dl "boot0cfg -s 2 ad0" .Pp ��˥塼�ǡ����饤�� 1 �� 2 ������ͭ���ˤ��ޤ�: .Pp .Dl "boot0cfg -m 0x3 ad0" .Sh ���� .Ex -std .Sh ��Ϣ���� .Xr boot 8 , .Xr fdisk 8 .Sh ��� .An Robert Nordier Aq [email protected] .Sh �Х� .Sq packet ���ץ�������Ѥ���ȡ� .Sq boot0 �����Ԥ��뤳�Ȥ�����ޤ��� ����� BIOS ���ݡ��Ȥ������˰�¸���Ƥ��ޤ��� .Pp ���ä� -d ���ڥ��ɤȤȤ�� .Sq setdrv ���ץ�������Ѥ���ȡ�MBR ����ä��ǥ������ؽ��ळ�Ȥˤʤ�ޤ��� ���դ��Ƥ������� !