Subject: Re: how do I make a rescue floppy?
To: None <netbsd-users@NetBSD.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 02/22/2004 00:11:16
--CdrF4e02JqNVZeln
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

VaX#n8 wrote:
> # cd /mnt/cd0a/i386/installation/floppy/
> # dd if=3Drescue-small.fs of=3D/dev/rfd0a bs=3D16k
> 74+1 records in
> 74+1 records out
> 1216512 bytes transferred in 53 secs (22953 bytes/sec)
> # dd if=3D/dev/rfd0a bs=3D16k count=3D1 | file -
> standard input:              x86 boot sector, BSD disklabel
> Broken pipe
> # fsck /dev/rfd0a
> ** /dev/rfd0a
> BAD SUPER BLOCK: MAGIC NUMBER WRONG
> fsck: /dev/rfd0a: Floating point exception

> What am I doing wrong?

I think you're missing one point: The floppy image doesn't contain a
ffs partition. It's ustarfs, IIRC.

--=20
Christian

--CdrF4e02JqNVZeln
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAN+WU0KQix3oyIMcRAm/QAKDDiyakL/hCb7ClNATDCuDC5TyJWgCfV07l
uW83b7EHzvN9eHS1NcXTy00=
=k2Pt
-----END PGP SIGNATURE-----

--CdrF4e02JqNVZeln--