Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
installboot(1M)		System Administration Commands	       installboot(1M)

NAME
       installboot - install bootblocks	in a disk partition

SYNOPSIS
   SPARC
       installboot bootblk raw-disk-device

   IA
       installboot pboot bootblk raw-disk-device

DESCRIPTION
       The  boot(1M)  program,	ufsboot,  is loaded from disk by the bootblock
       program which resides in	the boot area of a disk	partition.

       The  ufs	 boot  objects	are  platform-dependent,  and  reside  in  the
       /usr/platform/platform-name/lib/fs/ufs directory. The platform name can
       be found	using the -i option of uname(1).

OPERANDS
       bootblk
	     The name of the bootblock code.

       raw-disk-device
	     The name of the disk device onto which the	bootblock code	is  to
	     be	installed; it must be a	character device which is readable and
	     writable.	Naming	conventions  for  a  SCSI  or  IPI  drive  are
	     c?t?d?s? and c?d?s? for an	IDE drive.

       pboot The name of the partition boot file.

EXAMPLES
   SPARC
       To  install  a  ufs bootblock on	slice 0	of target 0 on controller 1 of
       the platform where the command is being run, use:

	      example# installboot /usr/platform/`uname	-i`/lib/fs/ufs/bootblk \
		   /dev/rdsk/c1t0d0s0

   IA
       To use installboot to install the ufs bootblock and partition boot pro-
       gram  on	 a  disk  in  an IA machine, you must specify slice 2 and that
       slice must be the entire	disk. For example, to install  the  UFS	 boot-
       block  on  target  0, controller	1 of the platform where	the command is
       being run, use:

	      example# installboot /usr/platform/`uname	-i`/lib/fs/ufs/pboot \
		      /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s2

FILES
       /usr/platform/platform-name/lib/fs/ufs
	     directory where ufs boot objects reside.

       /platform/platform-name/ufsboot
	     second level program to boot from a disk or CD

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       +-----------------------------+-----------------------------+
       |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWcsu			   |
       +-----------------------------+-----------------------------+

SEE ALSO
       od(1), uname(1),	boot(1M), init(1M), kadb(1M), kernel(1M),  reboot(1M),
       rpc.bootparamd(1M), init.d(4), attributes(5)

       Solaris 9 Installation Guide

   SPARC
       monitor(1M)

   IA
       fdisk(1M), fmthard(1M)

WARNINGS
       The  installboot	 utility  fails	 if the	bootblk, pboot or openfirmware
       files do	not exist or if	the raw	disk device is not a character device.

SunOS 5.9			15 August 2000		       installboot(1M)

NAME | SYNOPSIS | DESCRIPTION | OPERANDS | EXAMPLES | FILES | ATTRIBUTES | SEE ALSO | WARNINGS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=installboot&sektion=1m&manpath=SunOS+5.9>

home | help