Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2007 17:22:20 +0100
From:      Oliver Koch <koch@rz.tu-clausthal.de>
To:        =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: customize floppies
Message-ID:  <45BF70BC.6010007@rz.tu-clausthal.de>
In-Reply-To: <45BE1A98.4050302@cs.tu-berlin.de>
References:  <45BB4FD2.5010708@rz.tu-clausthal.de> <45BE1A98.4050302@cs.tu-berlin.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig77E35EC4EC8BB021752A3887
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hello,

Bj=F6rn K=F6nig schrieb:

> You can modify the existing floppy images. boot.flp contains the first
> part of the kernel and kern*.flp the further parts.
>=20
> Build a custom kernel using
>=20
>   makeoptions MODULES_OVERRIDE=3D""
>=20
> in your kernel configuration file.
>=20
>   # cd /usr/src/sys/i386/conf
>   # config YOURKERNEL
>   # cd ../compile
>   # make cleandepend; make depend
>   # make
>=20
> Take your kernel file and compress it:
>=20
>   # gzip -9nc kernel > kernel.gz
>=20
> Now you can use the 'split-file.sh' script from src/release/scripts to
> split the compressed kernel into parts.
>=20
>   # /usr/src/release/scripts/split-file.sh kernel.gz destdir 1392 Kerne=
l
>=20
> You can mount a floppy disk image with the following commands:
>=20
>   # mdconfig -af boot.flp
>   md45
>   # mount /dev/md45 /mnt
>=20
> Replace the kernel parts with your own.
>=20
> I hope this helps. I havn't tested it before. There are other ways that=

> are more elegant.

thank you very much, that worked fine!

Kind regards,

Oliver

--=20
Oliver Koch                          Phone:  +49-(0)5323-72-2626
Computer Center                      Fax:    +49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: koch@rz.tu-clausthal.de
Erzstra=DFe 51                         Web:  http://www.rz.tu-clausthal.d=
e
38678 Clausthal-Zellerfeld, Germany


--------------enig77E35EC4EC8BB021752A3887
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFv3C8F9sAGRi389URArO4AJ4isvw+bUo2OD32wY50SenSqIkdWACgixQz
MmJTVUi0iWwaYuS1HDvJgJA=
=jQ99
-----END PGP SIGNATURE-----

--------------enig77E35EC4EC8BB021752A3887--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45BF70BC.6010007>