*BSD News Article 18208


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!ucla-cs!twinsun!markl
From: markl@twinsun.com (Mark La Rouche)
Subject: help with dos/386bsd partitioning a SCSI disk.
Message-ID: <C9xu59.Bso@twinsun.com>
Sender: usenet@twinsun.com
Nntp-Posting-Host: twinsun
Organization: Twin Sun Inc, El Segundo, CA, USA
Date: Sat, 10 Jul 1993 07:29:32 GMT
Lines: 46


    I added an Adaptec 1542b SCSI controller and Micropolis 2.4 GB disk 
	to my 486 pc clone.  I have an IDE disk with DOS and 386BSD partitions. 
	I use pboot to select the boot partition.  

    Now my problem. I first used a partition editor to create a DOS partition 
	table with two partitions on the SCSI disk(since the adaptec runs in 
	translation mode under DOS, yuck, I used the translation geometry to 
	specify the first partition and the start of the second). The first
    is a DOS partition that I formated(I really don't need it but I wanted 
	the second partition to start on a cylinder boundary).  The second 
	partition is for 386BSD that will use the remainder of the disk.  
	Eventually, I'll use the entire IDE drive for DOS.  
     
    Now(after creating the dos partition table, I booted 386BSD off the IDE 
	drive and created the following 
    partition table(these are the real drive parameters):

        microp1924|Micropolis 1924 2.4BGSCSI: \
            :dt=SCSI:ty=winchester:se#512:nt#21:ns#94:nc#2267:rm#5400: \
            :pa#33558:oa#1974:ta=4.2bsd:ba#4096:fa#512: \
            :pb#207270:ob#35532:tb=swap: \
            :pc#4449396:oc#1974: \
            :pd#4451370:od#0: \
            :pe#414540:oe#242802:te=4.2bsd:be#4096:fe#512: \
            :pf#1567356:of#657342:tf=4.2bsd:bf#4096:ff#512: \
            :ph#2226672:oh#2224698:th=4.2bsd:bh#4096:fh#512:

    I reserved about 12 cylinders at the end of the disk. This is based 
	on information I extracted from a format.dat entry for a Sun Microsystems 
	workstation. 

    I labeled the drive using `disklabel -w -r as0 microp1924'.  The label 
	is written and I can newfs the partitions. But, when I reboot the system 
	I noticed that the dos partition table is wiped out.  How do I keep 
	the DOS partition from getting destroyed?  Obviously, I got things 
	working on the IDE but I don't remember what I did.  I've also read 
	the 386BSD FAQs.  Any hints?

Mark La Rouche                                                     Twin Sun Inc.
markl@twinsun.com        360 N. Sepulveda Blvd. Suite 2055, El Segundo, Ca 90245

-- 
Mark La Rouche                                                     Twin Sun Inc.
markl@twinsun.com        360 N. Sepulveda Blvd. Suite 2055, El Segundo, Ca 90245