Subject: sparc boot disk
To: None <netbsd-help@NetBSD.ORG>
From: None <brian@camtwh.eric.on.ca>
List: netbsd-help
Date: 04/03/1996 23:30:56
Hello all,
I'm attempting to install a new root disk on my SparcIPX as the original
Sun/Seagate 424 is making funny noises.
However, I'm having trouble getting it to boot. Details are:
New disk: Seagate ST51080N 1Gig SCSI-II
disklabel:
People/rb [prophead:1]# disklabel -r sd3
# /dev/rsd3c:
type: SCSI
disk: SCSI disk
label: SUN ST51080N
flags:
bytes/sector: 512
sectors/track: 109
tracks/cylinder: 4
sectors/cylinder: 436
cylinders: 4826
rpm: 5376
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 139520 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 319)
b: 209280 139520 swap # (Cyl. 320 - 799)
c: 2104136 0 unknown # (Cyl. 0 - 4825)
e: 1002800 348800 4.2BSD 1024 8192 16 # (Cyl. 800 - 3099)
f: 752536 1351600 4.2BSD 1024 8192 16 # (Cyl. 3100 - 4825)
I mounted the root partition at /mnt, usr at /mnt2, installed all the
files for root & usr, and tried to make it bootable with the
following commands:
cd /usr/mdec
./binstall -v ffs /mnt
and
installboot -v /mnt/boot /usr/mdec/bootxx /dev/rsd3{a,c, tried both}
all of the above gave the following output:
boot: /mnt/boot
proto: /usr/mdec/bootxx
device: /dev/rsd3a
/usr/mdec/bootxx: entry point 0x340000
/usr/mdec/bootxx: a.out header left on
proto bootblock size 7680
room for 256 filesystem blocks at 0x341870
/mnt/boot: block numbers: 304 320 336 2752
but when I try to boot off the disk the machine complains:
Bad magic number in disk label
Can't open Sun disk label program
Can't open boot device
anyone have any ideas?
Brian
Brian B. Brown | brian@camtwh.eric.on.ca
Systems Administrator |
ERIC/Playfair |
(416) 603 5319 |