Thu Oct 2 08:51:22 2008 UTC ()
Add example using installboot -e


(sborrill)
diff -r1.69 -r1.70 src/usr.sbin/installboot/installboot.8

cvs diff -r1.69 -r1.70 src/usr.sbin/installboot/installboot.8 (expand / switch to unified diff)

--- src/usr.sbin/installboot/installboot.8 2008/09/24 19:28:48 1.69
+++ src/usr.sbin/installboot/installboot.8 2008/10/02 08:51:22 1.70
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: installboot.8,v 1.69 2008/09/24 19:28:48 reed Exp $ 1.\" $NetBSD: installboot.8,v 1.70 2008/10/02 08:51:22 sborrill Exp $
2.\" 2.\"
3.\" Copyright (c) 2002-2003 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Luke Mewburn of Wasabi Systems. 7.\" by Luke Mewburn of Wasabi Systems.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -639,26 +639,30 @@ Make the existing FAT16 filesystem on @@ -639,26 +639,30 @@ Make the existing FAT16 filesystem on
639.Sq sd0e 639.Sq sd0e
640bootable. 640bootable.
641This can be used to make USB memory bootable provided it has 512 byte 641This can be used to make USB memory bootable provided it has 512 byte
642sectors and that the manufacturer correctly initialised the file system. 642sectors and that the manufacturer correctly initialised the file system.
643.Dl Ic mount -t msdos /dev/sd0e /mnt 643.Dl Ic mount -t msdos /dev/sd0e /mnt
644.Dl Ic cp /usr/mdec/boot /mnt/boot 644.Dl Ic cp /usr/mdec/boot /mnt/boot
645.Dl Ic cp path/to/kernel /mnt/netbsd 645.Dl Ic cp path/to/kernel /mnt/netbsd
646.Dl Ic umount /mnt 646.Dl Ic umount /mnt
647.Dl Ic installboot /dev/rsd0e /usr/mdec/bootxx_fat16 647.Dl Ic installboot /dev/rsd0e /usr/mdec/bootxx_fat16
648It may also be necessary to use 648It may also be necessary to use
649.Nm fdisk 649.Nm fdisk
650to make the device itself bootable. 650to make the device itself bootable.
651. 651.
 652.Pp
 653Switch the existing installed bootstrap to use a serial console without
 654reinstalling or altering other options such as timeout.
 655.Dl Ic installboot -e -o console=com0 /dev/rwd0a
652.Ss Nx Ns Tn /macppc 656.Ss Nx Ns Tn /macppc
653Note the 657Note the
654.Nm 658.Nm
655utility is only required for macppc machines with OpenFirmware version 2 659utility is only required for macppc machines with OpenFirmware version 2
656to boot. 660to boot.
657OpenFirmware 3 cannot load bootblocks specified in the Apple partition 661OpenFirmware 3 cannot load bootblocks specified in the Apple partition
658map. 662map.
659.Pp 663.Pp
660Install the Berkeley Fast File System primary bootstrap on to disk 664Install the Berkeley Fast File System primary bootstrap on to disk
661.Sq wd0 : 665.Sq wd0 :
662.Dl Ic installboot /dev/rwd0c /usr/mdec/bootxx /ofwboot 666.Dl Ic installboot /dev/rwd0c /usr/mdec/bootxx /ofwboot
663.Pp 667.Pp
664The secondary 668The secondary