Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 1998 18:20:46 +0100
From:      Stefan Bethke <Stefan.Bethke@Hanse.DE>
To:        Brian Tao <taob@nbc.netcom.ca>, FREEBSD-HACKERS <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Creating bootable Syjet install disk
Message-ID:  <l03102800b0d41fda545e@[193.141.161.123]>
In-Reply-To: <Pine.GSO.3.95.980103101402.26225S-100000@tor-adm1>

next in thread | previous in thread | raw e-mail | index | archive | help
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   <Stefan.Bethke@Hanse.DE>
Hamburg, Germany





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