Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 14:02:04 +0200
From:      Bernd Walter <ticso@mail.cicely.de>
To:        Andre Oppermann <oppermann@monzoon.net>
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>
In-Reply-To: <3B82B96E.F22EB480@monzoon.net>; from oppermann@monzoon.net on Tue, Aug 21, 2001 at 09:41:34PM %2B0200
References:  <3B82B96E.F22EB480@monzoon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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