From owner-freebsd-questions@FreeBSD.ORG Sat Oct 21 17:11:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06E0D16A4F0 for ; Sat, 21 Oct 2006 17:11:55 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from saturn.pcs.ms (101.114.79.83.cust.bluewin.ch [83.79.114.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E250543DB1 for ; Sat, 21 Oct 2006 17:11:30 +0000 (GMT) (envelope-from martin@saturn.pcs.ms) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.13.1/8.13.1) with ESMTP id k9LHMSTB032597; Sat, 21 Oct 2006 19:22:29 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.13.1/8.13.1/Submit) id k9LHMSFd032596; Sat, 21 Oct 2006 19:22:28 +0200 (CEST) (envelope-from martin) Date: Sat, 21 Oct 2006 19:22:23 +0200 From: Martin Schweizer To: freebsd-questions@freebsd.org Message-ID: <20061021172223.GA32539@saturn.pcs.ms> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland X-PGP-Key: http://www.pc-service.ch/pgp/public_key.asc X-Fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239 Subject: fdisk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2006 17:11:55 -0000 --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: The data for partition 4 is: 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 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--