Date: Fri, 26 Sep 1997 21:32:01 +0200 From: "Coi Giovanni" <coi.giovanni@prometeo.it> To: freebsd-questions@freebsd.org Subject: wd1: invalid primary partition table: no magic Message-ID: <199709261943.VAA10732@prometeo.prometeo.it>
next in thread | raw e-mail | index | archive | help
Hello, I have read the tutorial on
'Formatting Media For Use With FreeBSD 2.2-RELEASE'
and I tryed to add a second disk to my FreeBSD box.
By the way it is a 2.1.7 release but I think
will upgrading to 2.2.5 soon (when 2.2.5 will
be release).
I have a strange (for me) message when I execute
some command like disklabel (or fsck)
it display on console
wd1: invalid primary partition table: no magic
for example:
dd if=/dev/zero of=/dev/rwd1 count=2
(this is ok)
disklabel -e -r /dev/rwd1
(this rise the error/warning messages, then I edit the
partition table and...)
newfs /dev/rwd1a
(this is ok)
and all seem to work correctly!
I may mount the partitions and copy some
file (about 40 Mbyte) on them without
apparently no problem.
What does it means?
=====================================================
Add the results of fsck and disklabel messages
fdisk /dev/wd1c
-----------------------------------------------------
******* Working on device /dev/wd1c *******
parameters extracted from in-core disklabel are:
cylinders=4092 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=4092 heads=16 sectors/track=63 (1008 blks/cyl)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 1, size 4124735 (2014 Meg), flag 80
beg: cyl 0/ sector 2/ head 0;
end: cyl 1020/ sector 1/ head 0
=====================================================
disklabel -r wd1
-----------------------------------------------------
# /dev/rwd1c:
type: unknown
disk: wd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 4092
sectors/unit: 4124736
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 2000000 0 4.2BSD 0 0 0 # (Cyl. 0 - 1984*)
b: 2124736 2000000 4.2BSD 0 0 0 # (Cyl. 1984*- 4091*)
c: 4124736 0 unused 0 0 # (Cyl. 0 - 4091)
Any suggestions?
Thank you in advance.
Giovanni Coi
----------------------------------------------------------
Prometeo srl - Progetti e Metodologie Informatiche
Internet Services Provider
Coi Giovanni
Voice : +39 (041)5701366 Via Giudecca 15
Fax : +39 (041)5701005 30035 MIRANO (VE) - ITALY
e-mail: coi@prometeo.it http://www.prometeo.it
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709261943.VAA10732>
