Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jan 2006 00:32:10 +0100
From:      Markus Trippelsdorf <markus@trippelsdorf.de>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: AMD64 boot floppies
Message-ID:  <20060103233210.GB688@bsd.trippelsdorf.de>
In-Reply-To: <20060103222717.GA688@bsd.trippelsdorf.de>
References:  <200512301245.57820.andrea@brancatelli.it> <20060103171458.GA688@bsd.trippelsdorf.de> <43BAB237.8020002@samsco.org> <200601031306.25611.jhb@freebsd.org> <20060103222717.GA688@bsd.trippelsdorf.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060103233210.GB688>