From owner-freebsd-questions Sat Apr 7 3: 9:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 0AA0237B423 for ; Sat, 7 Apr 2001 03:09:36 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 48319 invoked by uid 100); 7 Apr 2001 10:09:35 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15054.59231.512246.41836@guru.mired.org> Date: Sat, 7 Apr 2001 05:09:35 -0500 To: Andrew Hesford Cc: questions@freebsd.org Subject: Re: fdisk In-Reply-To: <28251368@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Andrew Hesford types: > The man page for fdisk isn't really clear about this, and I've never > tried it: > > What happens if I run fdik -B on my main disk? The manual says this > reinitializes my boot code, but does it also trash my partition table? It won't trash the slice tables - I'm assuming that's what you mean, as those are in the boot block - or the partition tables, as those are in the slices. > I'd like to keep boot code relatively current, for bug fixes and others. > But I don't want to trash 5G of and operating system by trying this > without knowing what it does. You can always print out a copy of the slice and partition tables before you do this. If you trash them, you can recover them by hand from a fixit cdrom or floppy. Having that printout is a good idea in any case. I keep a copy of that with my offsite backups. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message