From owner-freebsd-sparc Tue Aug 20 6:31:56 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7406037B400 for ; Tue, 20 Aug 2002 06:31:53 -0700 (PDT) Received: from bessel.tekniikka.turkuamk.fi (bessel.tekniikka.turkuamk.fi [193.166.133.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BB5743E7B for ; Tue, 20 Aug 2002 06:31:52 -0700 (PDT) (envelope-from eyurtese@bessel.tekniikka.turkuamk.fi) Received: from localhost (eyurtese@localhost) by bessel.tekniikka.turkuamk.fi (8.9.2/8.9.2) with ESMTP id QAA79818; Tue, 20 Aug 2002 16:31:50 +0300 Date: Tue, 20 Aug 2002 16:31:49 +0300 (WET) From: Evren Yurtesen To: Thomas Moestl Cc: sparc@freebsd.org Subject: Re: sparc64 bootable CD In-Reply-To: <20020820130526.GA1130@crow.dom2ip.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Its more complicated than I thought. It is pretty straightforward for sparc in NetBSD http://www.netbsd.org/Documentation/bootcd.html#sparcimage I was actually trying to make bootable images for sparc64 in brothers of FreeBSD =) The NetBSD and OpenBSD and I thought since there is a working sparc64 image in FreeBSD (I already installed it and made a installation document) I thought the FreeBSD people would know the thing I am doing wrong. I downloaded the miniroot.fs and made a iso with mkisofs with NetBSD and OpenBSD files and then I tried to do mksunbootcd output.sio miniroot.fs miniroot.fs miniroot.fs but well something went wrong. Any suggestions? Evren On Tue, 20 Aug 2002, Thomas Moestl wrote: > On Tue, 2002/08/20 at 15:37:35 +0300, Evren Yurtesen wrote: > > How is it possible to make a bootable CD for sparc64? I have ultra10 > > I figured out its something with mkisofs and mksunbootcd program > > mkisofs can do this itself, but you first need to create a boot slice > to put into the image. > I've attached a Makefile that I wrote some time back and that was used > to create the first bootable FreeBSD/sparc64 iso images. > It should still work, but is a bit outdated now, in particular, you > should be able to delete the 'boot1' and 'bootslice.sun4u' targets > (replacing the latter with 'bootfs.sun4u') now by using 'disklabel -B' > when building 'bootfs.sun4u', the zeroing mentioned in the Makefile > does not seem to be required by the frimware. > Note that you need to do most of the building on the sparc64 box (due > to file system endianess issues, and of course to get the sparc64 > toolchain). The mkisofs step is an exception, you can just copy over > the files it needs and do it anywhere. > > - thomas > > -- > Thomas Moestl http://www.tu-bs.de/~y0015675/ > http://people.FreeBSD.org/~tmm/ > PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message