Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/installboot Add an example for creating a bootable ...



details:   https://anonhg.NetBSD.org/src/rev/79b5c24b9421
branches:  trunk
changeset: 550665:79b5c24b9421
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Aug 16 18:42:53 2003 +0000

description:
Add an example for creating a bootable i386 floppy.

diffstat:

 usr.sbin/installboot/installboot.8 |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 3264801028fe -r 79b5c24b9421 usr.sbin/installboot/installboot.8
--- a/usr.sbin/installboot/installboot.8        Sat Aug 16 18:09:14 2003 +0000
+++ b/usr.sbin/installboot/installboot.8        Sat Aug 16 18:42:53 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: installboot.8,v 1.28 2003/04/20 00:38:31 lukem Exp $
+.\"    $NetBSD: installboot.8,v 1.29 2003/08/16 18:42:53 martin Exp $
 .\"
 .\" Copyright (c) 2002-2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -426,6 +426,18 @@
 .Sq sd1 :
 .Dl Ic installboot -c /dev/rsd1c
 .
+.Ss NetBSD/i386
+Create a bootable floppy disk with UFS file system for a small custom
+kernel (note: bigger kernels needing multiple disks are handled with
+the ustarfs file system):
+.Dl Ic newfs -s 1440k /dev/rfd0a
+Ignore the warnings this spews (it can not write a disklabel, which is no
+problem for a floppy disk)
+.Dl Ic mount /dev/fd0a /mnt
+.Dl Ic cp /usr/mdec/biosboot /mnt/boot
+.Dl Ic gzip -9 < sys/arch/i386/compile/mykernel/netbsd > /mnt/netbsd.gz
+.Dl Ic umount /mnt
+.Dl Ic installboot -v /dev/rfd0a /usr/mdec/bootxx_ufs
 .Ss NetBSD/pmax
 Install the Berkeley Fast File System primary bootstrap on to disk
 .Sq sd0 :



Home | Main Index | Thread Index | Old Index