mbr on second drive.

Scott Bennett bennett at cs.niu.edu
Fri Jul 6 23:57:12 UTC 2007

     On Fri, 6 Jul 2007 07:56:05 -0400 "Grant Peel" <gpeel at thenetnow.com>

>I recently used sysinstall to partition and label a new scsi drive.
>b (swap)
>d    /
>e    /usr
>f    /var
>g    /home
>I then 'restored' 4 filesystems to it:
>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         *

More information about the freebsd-questions mailing list