11.14Ssnj$NetBSD: README.files,v 1.14 2009/04/23 01:56:48 snj Exp $
21.1Scgd
31.10Sross	   Tape, CD, Disk, and Netboot Images
41.10Sross	   ----- --- ----- --- ------- ------
51.5Scgd
61.14SsnjThis release or snapshot contains three installation image types.
71.14SsnjThe first, for floppies, is split into a multiple volume set.
81.1Scgd
91.14Ssnj	installation/floppy/disk1of3
101.14Ssnj	installation/floppy/disk2of3
111.14Ssnj	installation/floppy/disk3of3
121.9Sross
131.9Sross	installation/diskimage/cdhdtape
141.9Sross
151.10Sross	installation/instkernel/netbsd.gz
161.10Sross
171.10SrossAll three boot images load the same installation kernel into memory
181.10Srossand then make no further use of the source media. The general idea
191.10Srossis to load a kernel with a pre-initialized memory filesystem of
201.9Srossutilities and an installation program.
211.9Sross
221.10SrossThe floppy image set uses two floppies to load the install kernel.
231.10SrossThe cdhdtape image can be written to a CD, hard drive, or tape and
241.10Srossthen booted from the SRM console. The kernel image can be netbooted
251.10Srossor loaded off the root directory of an existing installation.
261.10Sross
271.10SrossNote:	The netboot loader can load the netbsd.gz file directly; it
281.10Sross	is not necessary to ungzip this kernel first.
291.9Sross
301.9SrossTo copy the boot images to a magnetic disk under unix, the dd(1)
311.9Srosscommand can be used:
321.9Sross
331.9SrossFloppy:
341.14Ssnj	dd if=disk1of3 of=/dev/rfd0a bs=18k
351.9Sross	(change floppies)
361.14Ssnj	dd if=disk2of3 of=/dev/rfd0a bs=18k
371.14Ssnj	(change floppies)
381.14Ssnj	dd if=disk3of3 of=/dev/rfd0a bs=18k
391.14Ssnj
401.9Sross
411.9SrossYou can write the image to a hard drive too:
421.9Sross
431.9Sross	dd bs=18k if=cdhdtape of=/dev/rsd1c
441.9Sross	dd bs=18k if=cdhdtape of=/dev/rsd1d (NetBSD/i386)
451.9Sross
461.9SrossFor a tape, it is important to use a block size of 512, so:
471.9Sross
481.9Sross	dd bs=512 if=cdhdtape of=/dev/erst0	(NetBSD)
491.9Sross	dd bs=512 if=cdhdtape of=/dev/rmt0h	(Digital Unix)
501.9Sross
511.9SrossNote that the bits on the installation media are only used when
521.9Srossinitially loaded. They can be written to a hard drive, loaded, and
531.9Srossthen overwritten during the installation with no conflict, or
541.9Srossalternatively, the boot CD or tape can be removed and replaced with
551.9Srossone containing the installation sets.
561.9Sross
571.9SrossThe install notes from this directory subtree are present on the
581.9Srossinstallation file system.
59