Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2006 19:22:23 +0200
From:      Martin Schweizer <lists_freebsd@bluewin.ch>
To:        freebsd-questions@freebsd.org
Subject:   fdisk problem
Message-ID:  <20061021172223.GA32539@saturn.pcs.ms>

next in thread | raw e-mail | index | archive | help

--SUOF0GtieIMvvwua
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello=20

I exchange my harddisk in my notebook (old 53GB, new 76GB). The old one I d=
ivided in two=20
partitions: 30 GB (Windows XP) / 23GB (FreeBSD 6.1). Now I moved over to th=
e new one (43GB /=20
23GB) with Acronis TrueImage without any problems. Both os runs without any=
 changes (I was very=20
surpesed). Now I would mount the rest 10GB with a new slice to the existing=
 one. Now I can create=20
the slice with fdisk but not write the settings (typ w). I also see the fol=
lowing when I start=20
fisk:

               ????????????????????????????? Message ??????????????????????=
????????
               ?WARNING:  A geometry of 165398/15/63 for ad0 is incorrect. =
 Using  ?
               ?a more likely geometry.  If this geometry is incorrect or y=
ou      ?
               ?are unsure as to whether or not it's correct, please consul=
t       ?
               ?the Hardware Guide in the Documentation submenu or use the =
        ?
               ?(G)eometry command to change it now.                       =
        ?
               ?                                                           =
        ?
               ?Remember: you need to enter whatever your BIOS thinks the  =
        ?
               ?geometry is!  For IDE, it's what you were told in the BIOS =
        ?
               ?setup. For SCSI, it's the translation mode your controller =
is      ?
               ?using.  Do NOT use a ``physical geometry''.                =
        ?
               ????????????????????????????????????????????????????????????=
(100%)???
               ?                           [  OK  ]                        =
        ?
               ??????????????????????[ Press enter or space ]??????????????=
?????????


My fdisk output is:
*******************
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=3D165398 heads=3D15 sectors/track=3D63 (945 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3D165398 heads=3D15 sectors/track=3D63 (945 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 69219297 (33798 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 239/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 69219360, size 65303280 (31886 Meg), flag 80 (active)
        beg: cyl 1023/ head 0/ sector 1;
        end: cyl 1023/ head 239/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


The screen from fdisk
*********************

Disk name:      ad0                                    FDISK Partition Edit=
or
DISK Geometry:  9729 cyls/255 heads/63 sectors =3D 156296385 sectors (76316=
MB)

Offset       Size(ST)        End     Name  PType       Desc  Subtype    Fla=
gs

         0         63         62        -     12     unused        0
        63   69219297   69219359    ad0s1      4 NTFS/HPFS/QNX        7
  69219360   65303280  134522639    ad0s2      8    freebsd      165
 134522640   21778848  156301487        -     12     unused        0


It seems like the fdisk output differs from the fdisk console output, but I=
'm not sure and very=20
confused. Any ideas are welcome.

=20
--=20

Regards

Martin Schweizer
<info@pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc;=20
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;


--SUOF0GtieIMvvwua
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFFOldPwa4WkdMP0jkRAtkmAKDlnMm48+iWyHAx4svcGJ/QMcNCBwCfVm1x
VX1Rcma/IWTaQJvX53Rsb8I=
=+utr
-----END PGP SIGNATURE-----

--SUOF0GtieIMvvwua--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061021172223.GA32539>