Subject: disklabel
To: None <port-cobalt@netbsd.org>
From: Matthew Luckie <kluckie@ihug.co.nz>
List: port-cobalt
Date: 10/09/2001 18:14:14
okay, i managed to get the qube to boot netbsd 1.5.2 off it's hard disk!

i didnt do a very good job with the disklabel program, and as such my root
is wd0c and not wd0a as i need (so that it will automatically boot without
my intervention).

can i change wd0c to wd0a easily?  and what should my /usr be labeled as?

# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0c      198328    53229   135182    28%    /
/dev/wd0h     3449822    39736  3237594     1%    /usr
/dev/wd0e      297792   265393    32399    89%    /altroot
# cat /etc/fstab
/dev/wd0e       /altroot        ext2fs  rw 0 1
/dev/wd0c       /               ufs     rw 0 1
/dev/wd0h       /usr            ufs     rw 0 1

# disklabel -r wd0
# /dev/rwd0d:
type: ESDI
disk: QUANTUM FIREBALL
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 8912
total sectors: 8421840
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  c:   410130   877905     4.2BSD     1024  8192    16   # (Cyl.  929 -
1362)
  d:  8421840        0     unused        0     0         # (Cyl.    0 -
8911)
  e:   615194        1 Linux Ext2        0     0         # (Cyl.    0*- 650)
  f:   262710   615195       swap                        # (Cyl.  651 - 928)
  g:   410130   877905     unused        0     0         # (Cyl.  929 -
1362)
  h:  7133805  1288035     4.2BSD     1024  8192    16   # (Cyl. 1363 -
8911)
#

if someone could give me step by step instructions on how to get my system
finished off that would be appreciated

thanks

Matthew