From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 16:13:35 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47BE616A405 for ; Fri, 14 Apr 2006 16:13:35 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FF3643D48 for ; Fri, 14 Apr 2006 16:13:34 +0000 (GMT) (envelope-from djp@polands.org) Received: from jericho.polands.org (jericho.polands.org [172.16.1.35]) by corinth.polands.org (8.13.4/8.13.4) with ESMTP id k3EGDRDU000731; Fri, 14 Apr 2006 11:13:27 -0500 (CDT) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.4/8.13.1) with ESMTP id k3EGDRHY033278; Fri, 14 Apr 2006 11:13:27 -0500 (CDT) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.4/8.13.1/Submit) id k3EGDR9u033277; Fri, 14 Apr 2006 11:13:27 -0500 (CDT) (envelope-from djp) Date: Fri, 14 Apr 2006 11:13:27 -0500 From: Doug Poland To: Jerry McAllister Message-ID: <20060414161327.GD32858@polands.org> References: <20060414154304.GC32858@polands.org> <200604141551.k3EFpwNJ002744@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200604141551.k3EFpwNJ002744@clunix.cl.msu.edu> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV 0.87/1400/Fri Apr 14 09:21:07 2006 on corinth.polands.org X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: Hosed my MBR? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 16:13:35 -0000 On Fri, Apr 14, 2006 at 11:51:58AM -0400, Jerry McAllister wrote: > > > > > > In your case, it sounds like you have two raid devices, one on > > > each controller. You would have to have an MBR on each and it > > > sounds like you think you wiped the one on the INTEL controller. > > > Figure out what device name the raid on the INTEL controller comes > > > up as and then write the MBR to that. > > > > > Thanks for your response. My follow-up question to you is how would > > running a FBSD fdisk command on the Intel controller fix a hosed > > WinXP MBR? Or is an MBR OS agnostic? > > Well, the FreeBSD MBR is. I have used a FreeBSD MBR to fix a hosed > MBR (hosed by Ghost) on an XP only (eg. no FreeBSD on it) machine and > it worked fine. > really? I suspect it was sysinstall's fdisk that hosed my MBR on the Intel controller in the first place. Cause now it brings up a broken FreeBSD boot loader instead of the WinXP loader. > I suspect it might not work in the reverse direction, though. The MS > MBR is not known for playing nice with other OS boot sectors. I don't > know what the difference it. > hmmm... > Is there some other disk and [preferrably SCSI] controller you can > stick in and install FreeBSD on and try to mount and check out the > raid that you think is hosed before doing anything irreversable? I > forgot if you said you had tried looking at it with a fixit disk but > that might work if the raid is hardware raid. > I can still boot FreeBSD off my FastTrack controller (ar0), that's where I'm writing this email from. I can see both the Intel RAID device (ar1), and mount the data from NTFS (ar1s1), and newly created UFS-2 (ar1s2). I even did a dd of the MBR from ar0 and ar1 and compared the two. Of course, I don't know what I'm looking at so that didn't go too far :) -- Regards, Doug