From owner-freebsd-questions Thu Jun 10 18: 2:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from osgroup.com (unknown [38.229.41.6]) by hub.freebsd.org (Postfix) with ESMTP id A105C1512B for ; Thu, 10 Jun 1999 18:02:47 -0700 (PDT) (envelope-from stan@osgroup.com) Received: from stan166 ([38.229.41.237]) by osgroup.com (8.7.6/8.6.12) with SMTP id TAA25087 for ; Thu, 10 Jun 1999 19:51:30 -0500 Received: by localhost with Microsoft MAPI; Thu, 10 Jun 1999 20:04:17 -0500 Message-ID: <01BEB37C.6BA3B500.stan@osgroup.com> From: Constantine Shkolnyy Reply-To: "stan@osgroup.com" To: "freebsd-questions@FreeBSD.ORG" Subject: MBR (Was RE: I just don't know...) Date: Thu, 10 Jun 1999 20:04:16 -0500 Organization: Ashley Laurent, Inc. X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, June 10, 1999 7:32 PM, Mark Ovens [SMTP:markov@globalnet.co.uk] wrote: > On Thu, Jun 10, 1999 at 04:48:54PM -0500, Constantine Shkolnyy wrote: > > On Thursday, June 10, 1999 4:41 PM, rick hamell [SMTP:hamellr@dsinw.com] > > > > wrote: > > > > > > > > C:\> fdisk /mbr > > > > > > > > But where is the original boot sector stored? Wouldn't it be more > > > > reliable to copy it back? fdisk will copy a standard boot sector > > > > and sometimes it may be different from the original one. It is not > > > > safe to suggest such a use of fdisk in general case, without prior > > > > knowing of his configuration. > > > > > > That's what /mbr does, it restores an orginal copy of the boot > > > sector. Besides unless he has other boot managers in addition, there > > > is > > > no reason to not use it. > > > > Exactly. I just wanted to draw your attention that you people should > > always add the above warning to your advices to use fdisk /mbr or > > the machine may be rendered unusable. Get an unusable machine instead > > of machine with F? prompt - this is not what he wants :-) > > > > "original" mbr, er, wouldn't that mean that FreeBSD saved a copy of > the mbr and that Winblows knew where to find it and restore it? In > the Wonderful World of Winblows it's a case of: > > original mbr == standard mbr == ONLY mbr. When I said "original", I meant that one that existed before FreeBSD boot manager. It's my opinion that any software product should provide some means of "undoing" the changes it did to the computer system, whenever it's possible. Of course, it is not possible to restore the disk data that you agreed to overwrite with FreeBSD file system. It would be fine to let the user simply delete the FreeBSD partition. In the case of a boot manager, it would be nice if it could ask the user whether he wants to backup the existing MBR to some place, before re-writing it, so that the manager could be cleanly deleted in future. At installation time, if the user has some ill-brained MBR, he could find soon that his DOS/Windows doesn't boot. What should he do then? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message