fdisk problem

Martin Schweizer lists_freebsd at bluewin.ch
Sat Oct 21 17:11:55 UTC 2006


Hello 

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

               ????????????????????????????? Message ??????????????????????????????
               ?WARNING:  A geometry of 165398/15/63 for ad0 is incorrect.  Using  ?
               ?a more likely geometry.  If this geometry is incorrect or you      ?
               ?are unsure as to whether or not it's correct, please consult       ?
               ?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=165398 heads=15 sectors/track=63 (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=165398 heads=15 sectors/track=63 (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 Editor
DISK Geometry:  9729 cyls/255 heads/63 sectors = 156296385 sectors (76316MB)

Offset       Size(ST)        End     Name  PType       Desc  Subtype    Flags

         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 
confused. Any ideas are welcome.

 
-- 

Regards

Martin Schweizer
<info at 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; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061021/5f05f65d/attachment.pgp


More information about the freebsd-questions mailing list