MKSUNBOOTCD(8) NetBSD System Manager's Manual MKSUNBOOTCD(8) NNAAMMEE mmkkssuunnbboooottccdd - combine filesystem for Sun Microsystems, Inc. computers for creating bootable compact discs images. SSYYNNOOPPSSIISS mmkkssuunnbboooottccdd [--cc _c_y_l_s_z] [--dd] [--vv] _f_i_l_e_s_y_s_t_e_m _s_u_n_4 _s_u_n_4_c _s_u_n_4_m _s_u_n_3_|_s_u_n_4_d _s_u_n_3_x_|_s_u_n_4_e DDEESSCCRRIIPPTTIIOONN The mmkkssuunnbboooottccdd program combines filesystem partitions for Sun Microsys- tems, Inc. computers into an image suitable for writing to a compact disc, that will allow the disc to be booted on the sun3, sun3x, sun4, sun4c, sun4m and sun4u platforms. This hardware is supported by the NetBSD _s_p_a_r_c, _s_p_a_r_c_6_4 and _s_u_n_3 ports. The architecture arguments above must be the bootable filesystem images for the named architecture. _f_i_l_e_s_y_s_t_e_m is typically an iso9660 filesystem, see mount_cd9660(8) for details, but can be any type as long as the first 512 bytes of the image are not used. This image is modified, and the additional partitions added after this partition, in order. If any architecture image is miss- ing, that partition is not used. If a disc with sun4 and sun4m support only was to be created, a dummy image would need to be in place for sun4c. If the same boot image maybe used for multiple architectures (as the NetBSD/sparc ports for sun4, sun4c and sun4m allow), the same bootfile can be listed multiple times on the command line. The mmkkssuunnbboooottccdd pro- gram will detect this and only write one copy of the boot image. NNOOTTEESS For the UltraSPARC line of computers, the PROM decodes a file in the first partition of the CD-ROM, which must be an ISO9660 file-system, called _._s_l_i_c_e_m_a_p_f_i_l_e. The format of this file is an ``m'' followed by a partition number, starting at offset 0, plus an architecture identifier, such as ``sun4c'' or ``sun4u''. The UltraSPARC uses the ``sun4u'' parti- tion as it's boot partition. An example file that would be compatible with older hardware would look like: m 1 sun4 m 2 sun4c m 3 sun4m m 4 sun4d m 5 sun4u As such, to enable UltraSPARC booting, such a file must be present on the image before mmkkssuunnbboooottccdd adds bootable partitions to the image. OOPPTTIIOONNSS The following options are available: --cc The --cc option sets cylinder size for this cd to _c_y_l_s_z, which must be a multiple of 4. The default cylinder size is 640. --dd The --dd option turns on debugging output. --vv The --vv option turns on verbose output. AAUUTTHHOORR The mmkkssuunnbboooottccdd program was written by Ignatios Souvatzis , with some help from Matthew Green , who also wrote this manual page. SSEEEE AALLSSOO newfs(8), mount(8), mount_ffs(8). NetBSD 1.4 January 14, 1999 1