Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!network.ucsd.edu!news.service.uci.edu!balboa.eng.uci.edu!guan
From: guan@balboa.eng.uci.edu (Vincent W. Guan)
Subject: Installing 2nd IDE Hard Drive - Please help
Nntp-Posting-Host: balboa.eng.uci.edu
Message-ID: <2BAE2071.6907@news.service.uci.edu>
Newsgroups: comp.os.386bsd.questions
Reply-To: guan@balboa.eng.uci.edu (Vincent W. Guan)
Organization: University of California, Irvine
Lines: 42
Date: 22 Mar 93 20:24:17 GMT
I tried to install a Fujistu M2624T IDE hard drive (about 500M)
on my 386, but failed to write the disk label for the 386bsd
partition. I will be grateful if anybody can help me on this.
The following is briefly what I did, hopefully it is helpful for
finding the problem:
(1) Use DOS fdisk, created two partitions. The 1st partition
is for DOS, from cyl. 0-193, about 81M, and the 2nd is
for 386bsd, from cyl. 194-993 (created as an Extended
DOS partition).
(2) Created an entry in /etc/disktab specifying the partitions
within the space for 386bsd, i.e., a small partition as A
(about 10M), a swap partion as B, and the rest as H; also
C has the entire size of the 386bsd partition.
(3) Used the following 386bsd command to write the disk label:
disklabel -r -w wd1 M2624T "386bsd"
M2624T is the disk type that I defined in the disktab entry.
All the partition size and offset are in sectors in the disktab
entry, and I am quite positive that the numbers are correct (unless
386bsd enforces some limit -- but I don' have any idea about this).
The problem occurred when I tried to execute the above disklabel
command. The drive just flashed once, then everything seems freezed
up -- no disk writing and no prompt on the screen. The only thing I
can do is reboot. After reboot, I tried to used "disklabel -r wd1"
to check whether anything is written, the system freezed again on
the disklabel command, and nothing was shown on the screen.
I don't understand why the disk label cannot be written. I know
other people have installed their second IDE drive in the same way.
Is the Fujistu drive the one I should blame? I does like it to me
because the DOS partition in it works fine.
Please help me!! Thank you very much in advance.
-vince