*BSD News Article 83575


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!vbcnet-west!news13.agis.net!agis!newsgod1.agis.net!agis!news3.agis.net!agis!cancer.vividnet.com!hunter.premier.net!feed1.news.erols.com!tezcat!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!howland.erols.net!surfnet.nl!news.tue.nl!asterix.urc.tue.nl!rcjvdb
From: rcjvdb@urc.tue.nl (Jan van den Bosch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 'fixit' diskette
Date: 25 Nov 96 19:58:26 GMT
Organization: Eindhoven University of Technology, The Netherlands
Lines: 56
Message-ID: <rcjvdb.848951906@asterix.urc.tue.nl>
References: <32987FBA.167E@math.tau.ac.il>
NNTP-Posting-Host: asterix.urc.tue.nl
X-Newsreader: NN version 6.5.0 #10 (NOV)

Pozin Shimon <pozin@math.tau.ac.il> writes:

>Hello!

>I asked this question a bit ago, but nobody answered:
>How can I create a 'fixit' diskette for FreeBSD and what does it
>include?

>Thanks,

>-- 
>Shimon Pozin
>pozin@math.tau.ac.il

There was an answer already from Juerg Wunsch on the same
question: I include it hereafter.
I'm looking for a possibility to 'crunch' with NetBSD,to
put restore on the second fs floppy,  anybody
done that??? (I didn't found crunchgen on NetBSD, without
crunching there is no room on it...). 

-Jan van den Bosch

---- from J.Wunsch:
> - How could I manually install the kernel on a floppy?

disklabel -Brw fd0 fd1440
newfs -t0 -u0 -l1 -i65536 /dev/rfd0
mount /dev/fd0 /mnt
cp /kernel /mnt
umount /mnt

> - What commands are necessary to create a boot- and a root floppy?

The boot floppy is above.  The root floppy is initially basically the
same, but you don't copy a kernel over to it.  Instead, you create a
regular file system, with the following minimal files on it:

	/bin/sh
	/sbin/init
	/dev/console

plus everything else you'd like to see there.

``Crunching'' the binary is highly recommended.  RTFM crunchgen(1) for
this, and see also the files under /usr/src/release/.

The provided fixit floppy is probably working well enough for most
folks.  Boot the installation floppy, select ``F)ixit'', and put the
fixit floppy in.  Note that this scenario is a little different from
the ``classic'' boot/root floppy pair i've described above.

-- 
cheers, J"org