Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 04:48:35 +0200
From:      Giorgos Keramidas <charon@hades.hell.gr>
To:        Brent Kearney <brent@kearneys.ca>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Windows NT 4.0 Server
Message-ID:  <19991216044835.A5035@hades.hell.gr>
In-Reply-To: <19991215173944.B43293@kearneys.ca>
References:  <001f01bf45e3$d70624a0$0100a8c0@tampabay.rr.com> <19991215154820.B446@hades.hell.gr> <19991215173944.B43293@kearneys.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 15, 1999 at 05:39:44PM -0800, Brent Kearney wrote:
| On Wed, Dec 15, 1999 at 03:48:20PM +0200, Giorgos Keramidas wrote:
| > 
| > I always keep a bootable CD handy, and a floppy with the boot sectors
| > of my disks *before* any installation begins.  Has certainly saved me
| > from a lot of trouble at times.
| > 
| 
| How do you copy your MBR to a floppy, and how would you restore it from
| floppy back to a hard disk?

On windows NT 4.0, I can't be of much help, since I do not have a box
with NT installed.  But even if I had one, my knowledge of NT would be
far from adequate to help you with that.

On FreeBSD, where my disk is separated in 4 primary slices (what the
DOS world calls partitions), it's as simple as doing:

	# mount -t msdos /dev/fd0 /mnt
	# dd if=/dev/rwd0   of=/mnt/rwd0   count=1 bs=512
	# dd if=/dev/rwd0s1 of=/mnt/rwd0s1 count=1 bs=512
	# dd if=/dev/rwd0s2 of=/mnt/rwd0s2 count=1 bs=512
	# dd if=/dev/rwd0s3 of=/mnt/rwd0s3 count=1 bs=512
	# dd if=/dev/rwd0s4 of=/mnt/rwd0s4 count=1 bs=512

Then, if the disk gets screwed up during installation, I usually boot
with a bootable cdrom and restore these by swapping if= and of= parts
of the command line(s).

-- 
Giorgos Keramidas, <keramida@ceid.upatras.gr>
"What we have to learn to do, we learn by doing." [Aristotle]


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?19991216044835.A5035>