From owner-freebsd-questions@FreeBSD.ORG Thu Sep 11 20:34:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24BA616A4BF for ; Thu, 11 Sep 2003 20:34:52 -0700 (PDT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2417F43FE3 for ; Thu, 11 Sep 2003 20:34:51 -0700 (PDT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.9/8.12.9) with ESMTP id h8C3YoCu074051; Thu, 11 Sep 2003 21:34:50 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.9/8.12.9/Submit) with ESMTP id h8C3YnVi074048; Thu, 11 Sep 2003 21:34:49 -0600 (MDT) Date: Thu, 11 Sep 2003 21:34:49 -0600 (MDT) From: Warren Block To: Barry Skidmore In-Reply-To: <1063312653.23080.39.camel@mail.worldvenue.org> Message-ID: <20030911210922.I73872@wonkity.com> References: <1063312653.23080.39.camel@mail.worldvenue.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Mailing List Subject: Re: Establishing Backup/Restore System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 03:34:52 -0000 On Thu, 11 Sep 2003, Barry Skidmore wrote: > I am trying to build a restore floppy using the script in the FreeBSD > Handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html > > I am having two problems so far. > > 1. I am getting syntax errors with some of the commands in the script: > > "disklabel: dev/fd0c: no such file or directory" > ^ > what is this 'c' doing here? You're pointing at a "d", but "c" means "the whole drive". See the Disks chapter in the Handbook. It looks like the error is from not specifying an absolute path, which should be /dev/fd0c (note the leading slash). > "newfs: illegal option --t" Just one dash on "-t". > "mount: /dev/fd0a: no such file or directory" > ^ > what is this 'a' doing here? "a" means the root partition. Again, see the Disks chapter. > 2. I do not have a MINI kernel on my system, which is needed on the > backup floppy. The script gives a sample configuration file to build > this MINI kernel. I have looked at the Handbook on building a custom > kernel, but it is a bit confusing for someone new to unix, and I am not > sure how the instructions need to be modified for this special case. I tried this myself a couple of days ago, and there are a couple of problems. The kernel config file given uses obsolete terms, and things have changed since whenever that was written. The second problem I had is that commenting out everything possible from a GENERIC kernel still resulted in a kernel file that was well over 1M in size, and there was only about 270K of space left on the floppy. (Other than the erroneous MINI config given, the floppy creation script does work.) > One last point. I realize for my setup that I will also need to put ssh > on this floppy. Has anyone done this, and does the program fit? I haven't yet, but haven't had time to do much more. A place to start looking is 'man picobsd'. You may find more of what you need with either the ISO of the second CD of the FreeBSD set, or at the http://www.freesbie.org web site. -Warren Block * Rapid City, South Dakota USA