| @@ -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 |
640 | bootable. | | 640 | bootable. |
641 | This can be used to make USB memory bootable provided it has 512 byte | | 641 | This can be used to make USB memory bootable provided it has 512 byte |
642 | sectors and that the manufacturer correctly initialised the file system. | | 642 | sectors 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 |
648 | It may also be necessary to use | | 648 | It may also be necessary to use |
649 | .Nm fdisk | | 649 | .Nm fdisk |
650 | to make the device itself bootable. | | 650 | to make the device itself bootable. |
651 | . | | 651 | . |
| | | 652 | .Pp |
| | | 653 | Switch the existing installed bootstrap to use a serial console without |
| | | 654 | reinstalling 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 |
653 | Note the | | 657 | Note the |
654 | .Nm | | 658 | .Nm |
655 | utility is only required for macppc machines with OpenFirmware version 2 | | 659 | utility is only required for macppc machines with OpenFirmware version 2 |
656 | to boot. | | 660 | to boot. |
657 | OpenFirmware 3 cannot load bootblocks specified in the Apple partition | | 661 | OpenFirmware 3 cannot load bootblocks specified in the Apple partition |
658 | map. | | 662 | map. |
659 | .Pp | | 663 | .Pp |
660 | Install the Berkeley Fast File System primary bootstrap on to disk | | 664 | Install 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 |
664 | The secondary | | 668 | The secondary |