From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 14:26:45 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 14EF737B401 for ; Wed, 6 Aug 2003 14:26:45 -0700 (PDT) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCF543FA3 for ; Wed, 6 Aug 2003 14:26:43 -0700 (PDT) (envelope-from pinhead@stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id 92D4215346; Wed, 6 Aug 2003 17:07:18 +0200 (CEST) Date: Wed, 6 Aug 2003 17:07:18 +0200 From: Toni Schmidbauer To: freebsd-questions@freebsd.org Message-ID: <20030806150718.GA4488@devil.stderror.at> Mail-Followup-To: freebsd-questions@freebsd.org References: <20030806082243.LTTT7553.mta05-svc.ntlworld.com@[10.137.100.72]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20030806082243.LTTT7553.mta05-svc.ntlworld.com@[10.137.100.72]> User-Agent: Mutt/1.4.1i Subject: Re: fdisk: alternate boot code X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: toni@stderror.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 21:26:45 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 06, 2003 at 08:22:43AM +0000, chris.p.ward@ntlworld.com wrote: > I'd like to use fdisk and supply an alternate boot code using the -b opti= on. How do I save the existing boot code within the MBR so as to pass it t= o fdisk though? I'm guessing I can use dd but I'm not sure how. dd if=3D/dev/ad0 of=3D/boot/mbr.backup bs=3D512 count=3D1 hth, toni --=20 Behandle die Menschen, als w=E4ren sie, was sie sein | toni at stderror dot= at sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer sie sein k=F6nnen. - Johann Wolfgang von Goethe | --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/MRmlu/mjSj7RMocRAm16AJwMbuNO2jwyE89N7jU6cMm6oH51sQCfWTGs GuYOHeOdCjR7GDBmVco5Hb8= =CDyC -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--