From owner-freebsd-hackers Sat Jan 3 13:46:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05631 for hackers-outgoing; Sat, 3 Jan 1998 13:46:34 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.hanse.de (ns.hanse.de [193.174.9.9]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA05551 for ; Sat, 3 Jan 1998 13:45:45 -0800 (PST) (envelope-from Hanse.DE!Stefan.Bethke@mail.hanse.de) Received: from Hanse.DE by mail.hanse.de with UUCP for freebsd-hackers@FreeBSD.ORG id ; Sat, 3 Jan 98 22:45 MET Received: from [193.141.161.123] (monster.pong.ppp.de [193.141.161.123]) by transit.hanse.de (8.7.5/8.6.12) with ESMTP id SAA20407; Sat, 3 Jan 1998 18:20:27 +0100 (MET) X-Sender: stefan@transit.hanse.de Message-Id: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 3 Jan 1998 18:20:46 +0100 To: Brian Tao , FREEBSD-HACKERS From: Stefan Bethke Subject: Re: Creating bootable Syjet install disk Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk At 10:30 Uhr -0500 03.01.1998, Brian Tao wrote: > Copying boot.flp's kernel to the Syjet and booting it doesn't >work. It hangs at the "rootfs is 1440 Kbyte compiled in MFS", just >before /stand/sysinstall runs. Have you tried a plain kernel? Maybe it stops booting due to some other problem. > I looked through /usr/src/release/Makefile and couldn't figure out >how to make it build a kernel that would work from, say, /dev/sd0 or >/dev/sd0 (if it is in fact possible for it to dynamically determine >which device to use). Is the Makefile for rolling a CD image >available somewhere? I assume that uses a slightly different kernel >than the one on floppy. Its just that src/release/Makefile, with some additional scripts also found in that dir. It takes GENERIC, adds the mfs stuff, and builds the kernel as BOOTMFS. It then copies all the neccessary files from the release staging area into the boot filesystem's staging area, copies it onto a vn filesystem, and copies the vn-file into the kernel image. Then the kernel is put on a vn-filesystem to create the final floppy image. For a laptop, I had to make a custom kernel (to have a non-standard Ethernet driver included). It took be about 4 hours to figure out how to just build a new boot floppy (without doing a complete make release, which I don't have the disk space for). Unfortunatly, the current Makefile does not allow for building a new boot floppy, although it would be quite convenient to be able to do that. It probably would need some work to untangle the boot floppy build from the release build. Another idea would be to have the mfs image saved (and put on the cd), so one only had to build one's custom kernel and copy that image into this kernel. Btw, is there a way to retroactively copy the mfs image out of the kernel? It seemed to me that this isn't possible. [If you don't know what I'm talking about, take a look at the Makefile, Jordan has put a very nice drawing there :-) ] Stefan -- Stefan Bethke Hamburg, Germany