From owner-freebsd-hackers Wed Aug 22 5: 2:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B989437B403; Wed, 22 Aug 2001 05:02:03 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f7MC1xA24691; Wed, 22 Aug 2001 14:02:00 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f7MC25V23059; Wed, 22 Aug 2001 14:02:05 +0200 (CEST) Date: Wed, 22 Aug 2001 14:02:04 +0200 From: Bernd Walter To: Andre Oppermann Cc: freebsd-hackers@FreeBSD.ORG, freebsd-small@FreeBSD.ORG Subject: Re: How to make bootable disk boot images with vn device? Message-ID: <20010822140204.E22907@cicely20.cicely.de> References: <3B82B96E.F22EB480@monzoon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B82B96E.F22EB480@monzoon.net>; from oppermann@monzoon.net on Tue, Aug 21, 2001 at 09:41:34PM +0200 X-Operating-System: NetBSD cicely20.cicely.de 1.5 sparc Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 21, 2001 at 09:41:34PM +0200, Andre Oppermann wrote: > # dd if=/dev/zero of=mfsroot bs=1k count=25000 > # vnconfig -e -s labels vn0 mfsroot > # disklabel -r -w vn0 auto > # newfs /dev/vn0c > # mount and cp blabla You need to disklabel -B vn0 to install boot blocks. And you should not use partition c which is not of type 4.2BSD. Do some scripting together with disklabel to add some partitions. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message