AMD64 boot floppies
Markus Trippelsdorf
markus at trippelsdorf.de
Tue Jan 3 15:32:16 PST 2006
On Tue, Jan 03, 2006 at 11:27:17PM +0100, Markus Trippelsdorf wrote:
...
> >
> > Should be pretty simple actually (untested):
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /usr/cvs/src/release/Makefile,v
> > retrieving revision 1.895
> > diff -u -r1.895 Makefile
> > --- Makefile 2 Jan 2006 13:29:58 -0000 1.895
> > +++ Makefile 3 Jan 2006 18:05:12 -0000
> > @@ -219,6 +219,12 @@
> > MFSLABEL= auto
> > SEPARATE_LIVEFS=
> > .elif ${TARGET_ARCH} == "amd64"
> > +MAKE_FLOPPIES= true
> > +FLOPPYSIZE= 1440
> > +FLOPPYSPLITSIZE= 1392
> > +FLOPPYINODE= 40000
> > +FLOPPYLABEL= fd1440
> > +BOOTINODE= 80000
> > MFSSIZE= 4096
> > MFSINODE= 8192
> > MFSLABEL= auto
> >
> ...
> Making the kernel boot floppies...
> sh /usr/src/release/scripts/split-file.sh /R/stage/kernels/kernel.gz
> /R/stage/floppyset/kern "Kernel"
> + FILE=/R/stage/kernels/kernel.gz
> + shift
> + DEST=/R/stage/floppyset/kern
> + shift
> + CHUNK_SIZE=Kernel
> + shift
> + DESCR=
> + shift
> shift: can't shift that many
> *** Error code 2
It's actually working. I had to copy the patched Makefile to the
chrootdir by hand. Then I did a "make floppies.1" and now have four
floppy images in the /R/stage/floppies directory.
Sorry for the noise; I will test the images tomorrow.
--
Markus
More information about the freebsd-amd64
mailing list