Subject: Re: fdisk slice access for dd
To: Mark Weinem <mark.weinem@alumni.uni-duisburg-essen.de>
From: Dan Janowski <danj@3skel.com>
List: netbsd-users
Date: 04/20/2007 19:34:14
Yeah, that's a good typo, 3.1 it is.
fdisk says:
netbsd01# fdisk sd4
Disk: /dev/rsd4d
NetBSD disklabel disk geometry:
cylinders: 488, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 1000944
BIOS disk geometry:
cylinders: 993, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 1000944
Partition table:
0: FreeBSD or 386BSD or old NetBSD (sysid 165)
start 63, size 1000881 (489 MB, Cyls 0-993), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
disklabel says:
netbsd01# disklabel sd4
# /dev/rsd4d:
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 507
total sectors: 512000
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: 511984 16 4.2BSD 2048 16384 32000 # (Cyl.
0*- 507*)
c: 1000881 63 unused 0 0 # (Cyl.
0*- 992+)
disklabel: super block size 0
disklabel: warning, partition p increased number of partitions from 8
to 16
disklabel: partition c: partition extends past end of unit
disklabel: partition i: offset past end of unit
disklabel: partition i: partition extends past end of unit
disklabel: partition j: offset past end of unit
disklabel: partition j: partition extends past end of unit
disklabel: partitions j and k overlap
disklabel: partitions j and n overlap
disklabel: partitions j and o overlap
disklabel: partition k: offset past end of unit
disklabel: partition k: partition extends past end of unit
disklabel: partitions k and o overlap
disklabel: partition l: offset past end of unit
disklabel: partition l: partition extends past end of unit
disklabel: partitions l and o overlap
disklabel: partition m: offset past end of unit
disklabel: partition m: partition extends past end of unit
disklabel: partitions m and o overlap
disklabel: partition n: offset past end of unit
disklabel: partition n: partition extends past end of unit
disklabel: partitions n and o overlap
disklabel: partition o: offset past end of unit
disklabel: partition o: partition extends past end of unit
disklabel: partition p: offset past end of unit
disklabel: partition p: partition extends past end of unit
True, you say, slice 1 is a FreeBSD slice. I am building a bootable
CF. I hope it will suffice to say that my NetBSD machine is a
diskless server and the diskless client is building a file image
(with vnd) and then I wanted to write it to the CF with the Card
reader I have on the NetBSD side. I hope that is clear!
Dan
On Apr 20, 2007, at 17:29, Mark Weinem wrote:
> Hi Dan,
>
>> NetBSD 4.1/i386
>
> wow, are you sure? Maybe 3.1
>
> Please give the output of
>
> # fdisk [device]
>
> and
>
> # disklabel [device]
>
>
> Do you plan to boot from the CF card?
>
>
>
> regards, Mark
>
>
> --
> Mark Weinem
> Jabber: weinem@jabber.cz
> PGP-Key available