Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 17:07:18 +0200
From:      Toni Schmidbauer <toni@stderror.at>
To:        freebsd-questions@freebsd.org
Subject:   Re: fdisk: alternate boot code
Message-ID:  <20030806150718.GA4488@devil.stderror.at>
In-Reply-To: <20030806082243.LTTT7553.mta05-svc.ntlworld.com@[10.137.100.72]>
References:  <20030806082243.LTTT7553.mta05-svc.ntlworld.com@[10.137.100.72]>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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