mbr on second drive.

2007-07-06 Thread Grant Peel
Hi all,

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.

IS there a way to check the mbr nad fix it if necessary?

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.

-GRant
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mbr on second drive.

2007-07-06 Thread Scott Bennett
 On Fri, 6 Jul 2007 07:56:05 -0400 Grant Peel [EMAIL PROTECTED]

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 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]