Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 1994 14:59:39 -0800 (PST)
From:      Kevin McQuiggin <mcquiggi@sfu.ca>
To:        freebsd-questions@freefall.cdrom.com
Subject:   Adding a disk under 1.1
Message-ID:  <9412272259.AA22028@malibu.sfu.ca>

next in thread | raw e-mail | index | archive | help
Hi All:

I'm a fairly new user, and am running 1.1 while waiting for 2.0 to
stabilize. I want to add a second HD to my system.

I've studied the man pages and available docs, and I THINK that I've
got it all figured out. I haven't done the install yet as I'm waiting
for an IDE cable for the new drive.

In the meantime, I thought perhaps you folks could review the steps
I'm going to take and let me know if I'm on the wrong track. This
doesn't appear in any FAQ that I've found.

Here we go:

The disk is IDE, it's a Quantum 80AT, capacity 80 MB. 616 cylinders,
16 heads, 17 sectors per track, 512 bytes per sector.

I created a new entry in /etc/disktab describing the disk:

quan80at|Quantum 80 MB:\
        :dt=ST506:ty=winchester:\
        :nc#616:ns#17:nt#16:\
        :se#512:\
        :pe#167552:oe#0:te=4.2BSD:be#8192:fe#1024:\
        :pc#167552:oc#0:\

I want to use the entire disk for BSD and so only specified an "e"
partition. The "c" partition was defined for everything else if
disktab, so I thought I'd better leave it in.

After the disk is installed and cabled as "slave" (the first one is
"master"), I'm going to do a disklabel on it:

# disklabel -w -r /dev/wd1 quan80at

Then I'm going to use newfs to create a file system on it.

Then I'm going to run an fsck and mount it.

Then I'll add it to fstab so that it gets mounted automatically on
boot.

Have I missed anything?

Thanks in advance,

Kevin

-- 
Kevin McQuiggin VE7ZD
mcquiggi@sfu.ca



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