*BSD News Article 99189


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!news.eli.net!uunet!in1.uu.net!165.254.2.53!nonexistent.com!not-for-mail
From: test@carroll.com (Test)
Subject: Creating a boot floppy
X-Newsreader: Forte Free Agent 1.0.82
X-Complaints-To: Email abuse@news2.new-york.net if this posting is inappropriate
Cache-Post-Path: hercules.carroll.com!unknown@athena.carroll.com
Organization: Carroll-Net
Message-ID: <ECzA5C.L9t@nonexistent.com>
X-Trace: 868327967 27557 (None) [199.224.10.73]
X-Nntp-Posting-Host: hercules.carroll.com
Date: Tue, 8 Jul 1997 02:15:08 GMT
Lines: 45
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44077


I am trying to create a boot floppy for a FreeBSD 2.2.1 system, but am
having alot of trouble.  My basic problem boils down into not knowing
what to include on the floppy to boot a "minimal" system.

I'm looking to have a floppy boot image, a copy of shell and the mount
program.  I think I can put the rest on another diskette to access
later.

I believe I am preparing the floppy correctly.  Here is my procedure:


	fdformat -f1440 fd0.1440

	disklabel -B -r -w fd0 fd01440

	newfs -t2 -u18 -l1 -i2000 fd0 fd1440

I have created a custom kernel with the appropriate config:

	config kernel root on fd0

After making the custom kernel, I copy it to the floppy:

	mount /dev/fd0 /mnt
	cp -p kernel /mnt/kernel

I also copied a copy of init to an sbin directory on the floppy:

	cp /sbin/init /mnt/sbin/init

The floppy boots, but hangs after the last hardware probe instruction.

If someone could point me in the correct direction, I would very much
appreciate it.  Please respond to my personal email address:

	jim@carroll.com


Thanks

Jim C.