From owner-freebsd-questions Thu Dec 16 15:53: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id F389A15686 for ; Thu, 16 Dec 1999 15:52:32 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from localhost.hell.gr (patr530-a104.otenet.gr [195.167.115.104]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id BAA20905 for ; Fri, 17 Dec 1999 01:52:38 +0200 (EET) Received: (qmail 5047 invoked by uid 1001); 16 Dec 1999 02:48:35 -0000 Date: Thu, 16 Dec 1999 04:48:35 +0200 From: Giorgos Keramidas To: Brent Kearney Cc: FreeBSD Questions Subject: Re: Windows NT 4.0 Server Message-ID: <19991216044835.A5035@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <001f01bf45e3$d70624a0$0100a8c0@tampabay.rr.com> <19991215154820.B446@hades.hell.gr> <19991215173944.B43293@kearneys.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <19991215173944.B43293@kearneys.ca> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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, "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