installboot man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

installboot(1M)		System Administration Commands	       installboot(1M)

NAME
       installboot - install bootblocks in a disk partition

SYNOPSIS
       installboot [-F zfs|ufs|hsfs] 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.  This  pro‐
       gram  is	 filesystem-specific, and must match the type of filesystem on
       the disk to be booted.

       The boot objects are platform-dependent and reside  in  the  /usr/plat‐
       form/platform-name/lib/fs/file-system  directory. The platform name can
       be found using the -i option of uname(1). The filesystem	 type  can  be
       found using:

	 % fstyp raw-disk-device

       See fstyp(1M).

       The installboot utility is a SPARC only program. It is not supported on
       the x86 architecture. x86 users should use installgrub(1M) instead.

OPTIONS
       The following option is supported:

       -F zfs|ufs|hsfs

	   Specifies the file system type of the boot block to	be  installed.
	   Required if you wish to specify zfs or hsfs. The default is ufs.

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.

EXAMPLES
       Example 1 Installing UFS Boot Block

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

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

       Example 2 Installing ZFS Boot Block

       To  install  a ZFS boot block on slice 0 of target 0 on controller 1 of
       the platform where the command is being run, use	 syntax	 such  as  the
       following:

	 # installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk \
	      /dev/rdsk/c0t1d0s0

FILES
       /usr/platform/platform-name/lib/fs/

	   Directory where boot objects reside.

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

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SUNWcsu			   │
       └─────────────────────────────┴─────────────────────────────┘

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

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

SunOS 5.10			  31 Jul 2008		       installboot(1M)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net