Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jul 2007 17:58:31 -0500 (CDT)
From:      Scott Bennett <bennett@cs.niu.edu>
To:        gpeel@thenetnow.com
Cc:        freebsd-questions@freebsd.org
Subject:   mbr on second drive.
Message-ID:  <200707062258.l66MwVkV008643@mp.cs.niu.edu>

next in thread | raw e-mail | index | archive | help
     On Fri, 6 Jul 2007 07:56:05 -0400 "Grant Peel" <gpeel@thenetnow.com>

>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         *
**********************************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707062258.l66MwVkV008643>