Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

how to install a second or third hard drive



Hi,

I have an Apple Mac B&W running NetBSD 4 that I want to add 2 new hard drives to (sd1 500GB and sd2 750GB).

Here is what I did:
dd if=/dev/zero of=/dev/sd1c bs=8k count=1
pdisk /dev/sd1c
Command (? for help): P
No partition map exists
Command (? for help): i
read failed
Command (? for help): P
Command (? for help): C
First block: 2p
Length in blocks: 2p
Name of partition: data
Type of partition: Apple_UNIX_SVR2
Available partition slices for Apple_UNIX_SVR2:
a   root partition
b   swap partition
c   do not set any bzb bits
g   user partition
Other lettered values will create user partitions
Select a slice for default bzb values: g
Command (? for help): w
Writing the map destroys what was there before. Is that okay? [n/y]: y
Command (? for help): q
disklabel -e /dev/sd1
I changed partition "a" to "g"
newfs -b 2048 -f 16384 /dev/sd1g

I ran through the same process for drive sd2.
I then did:
mount -rw /dev/sd1g /backup
mount -rw /dev/sd2g /backup/data
I also added these drives to fstab.

As soon as I started writing to /dev/sd2g (the 750GB drive) the system crashed and when it booted up it was in single user mode. After removing the 2 new drives from fstab it booted fine. My questions are, should I not have changed the drive letters in the disklabels and should I run newfs -b 4096 -f 32768?

Thanks,
Al




Home | Main Index | Thread Index | Old Index