Subject: Re: Custom Boot CD w/o Other NetBSD Boxes
To: None <netbsd-users@NetBSD.ORG>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 12/05/2003 03:13:43
--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alex Kirk wrote:
> I saw the documentation that says you can make a bootable CD with boot-bi=
g.fs,
> so I went to ftp.netbsd.org and grabbed a copy. I'd also seen notes on the
> mailing list archives stating that I should be able to, roughly:

> vnconfig -c vnd0 boot-big.fs
> mount /dev/vnd0a /mnt/somewhere

[...]

> root@dreamcast:/home/alex# vnconfig -c vnd0 boot-big.fs
> root@dreamcast:/home/alex# mount /dev/vnd0a /mnt
> mount_ffs: /dev/vnd0a on /mnt: incorrect super block

The image you've downloaded doesn't use ffs but utarfs. So there's
a tar file (starting at 14*512 bytes on the one I have) containing
a meta file and a kernel. If you use dd you can extract the tar file
and I *guess* you can modify it too. An up-to-date manpage of
installboot(8) also explains how you can create a bootfloppy with
ffs/ufs. (The one I have is from 1997 - I wonder why).

--=20
Christian

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/z+nW0KQix3oyIMcRAoCtAJ9wL8JpKnmPtQlyPs/+kG9QXAE8HgCgzL8/
HCohf75avbcD8bW+MClHAI8=
=9kVm
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--