Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2001 05:09:35 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Andrew Hesford <ajh3@chmod.ath.cx>
Cc:        questions@freebsd.org
Subject:   Re: fdisk
Message-ID:  <15054.59231.512246.41836@guru.mired.org>
In-Reply-To: <28251368@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Hesford <ajh3@chmod.ath.cx> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




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