Subject: Re: disklabel
To: None <port-hpcsh@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-hpcsh
Date: 01/27/2004 02:16:18
On Sun, Jan 25, 2004 at 12:35:53 +0000, Tom F wrote:
> # disklabel -i -I wd0
> partition> P
> 16 partitions:
> # size offset fstype [fsize bsize cpg/sgs]
> a: 990704 10240 4.2BSD 0 0 0 # (Cyl. 10*- 992)
> d: 1000944 0 unused 0 0 # (Cyl. 0 - 992)
> e: 10177 63 MSDOS # (Cyl. 0*- 10*)
You need 'c' partition as well. 'd' is the whole disk, 'c' is the
whole NetBSD MBR partition (so == 'a'). Also, what does fdisk say
about the CF?
For reference, here's how my CF look like.
wd0 at atabus0 drive 0: <Hitachi ATA 6.0>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 122 MB, 978 cyl, 8 head, 32 sec, 512 bytes/sect x 250368 sectors
<root@nada:~> (1083) fdisk wd0
Disk: /dev/rwd0c
NetBSD disklabel disk geometry:
cylinders: 978, heads: 8, sectors/track: 32 (256 sectors/cylinder)
total sectors: 250368
BIOS disk geometry:
cylinders: 978, heads: 8, sectors/track: 32 (256 sectors/cylinder)
total sectors: 250368
Partition table:
0: Primary DOS with 12 bit FAT (sysid 1)
start 32, size 32736 (16 MB, Cyls 0-128), Active
1: NetBSD (sysid 169)
start 32768, size 217600 (106 MB, Cyls 128-978)
2: <UNUSED>
3: <UNUSED>
<root@nada:~> (1084) disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: Hitachi ATA 6.0
label: fictitious
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 8
sectors/cylinder: 256
cylinders: 978
total sectors: 250368
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]
a: 217600 32768 4.2BSD 1024 8192 286 # (Cyl. 128 - 977)
c: 217600 32768 unused 0 0 # (Cyl. 128 - 977)
d: 250368 0 unused 0 0 # (Cyl. 0 - 977)
e: 32736 32 MSDOS # (Cyl. 0*- 127)
f: 217600 32768 unused 0 0 # (Cyl. 128 - 977)
> Also, I've made some hardware modifications to my machine (moving the CF
> slot, speaker etc around, mostly to avoid having the tray sticking out
> when a pcmcia card is inserted, which irritated me.) My machine now has a
> flat underside; I'll put details on a webpage, if you're interested.
Sounds cute...
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen