From owner-freebsd-questions@FreeBSD.ORG Fri Jul 6 23:57:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A722E16A46C for ; Fri, 6 Jul 2007 23:57:12 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7A87513C465 for ; Fri, 6 Jul 2007 23:57:12 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.1/8.14.1) with ESMTP id l66MwWR1008644; Fri, 6 Jul 2007 17:58:32 -0500 (CDT) Date: Fri, 6 Jul 2007 17:58:31 -0500 (CDT) From: Scott Bennett Message-Id: <200707062258.l66MwVkV008643@mp.cs.niu.edu> To: gpeel@thenetnow.com Cc: freebsd-questions@freebsd.org Subject: mbr on second drive. 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, 06 Jul 2007 23:57:12 -0000 On Fri, 6 Jul 2007 07:56:05 -0400 "Grant Peel" >I recently used sysinstall to partition and label a new scsi drive. > >/dev/da0s1 > >b (swap) >d / >e /usr >f /var >g /home > > >I then 'restored' 4 filesystems to it: > >/ >/usr >/var >/home > >Somehow, the disk is not bootable. I get a 'BTX HAlted" when I try to boot it. > You probably missed a flag somewhere to tell sysinstall that a boot file should be written. (Why d? / usually appears in a.) >IS there a way to check the mbr nad fix it if necessary? You have already checked it by attempting to boot from it, right? Here's what to do to fix it. As root: # bsdlabel -B da0s1 # > >Currently, I have a boot drive as the primary, and the one mentioned above as a second drive on the machine. The first drive is a ATA and the second (broken) is a SCSI. > Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************