Subject: Re: kernel from floppy
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 08/03/2001 09:28:44
On Fri, 3 Aug 2001, Wojciech Puchar wrote:

> how to extract kernel from boot floppy/floppy image?

If it is all on one image do something like:

$ vnconfig vnd0 bootfloppy-big/boot-big.fs 
$ mount /dev/vnd0a /mnt
$ ls -l /mnt
total 4079
-r--------  1 root  wheel    40448 Jan 31  2001 boot
-rwxr-xr-x  1 root  wheel  2040053 Jan 31  2001 netbsd
$ umount /mnt
$ vnconfig -u vnd0

I am not sure how to do it if it is on two disks. Have a look at 
/src/distrib/i386/floppies/fdset-common/Makefile.inc

   Jeremy C. Reed
   http://www.reedmedia.net/