Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2002 04:51:07 -0500
From:      Donn Miller <dmmiller@cvzoom.net>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        current@freebsd.org
Subject:   Re: fdisk editor in DP2
Message-ID:  <3DDB5B0B.7090002@cvzoom.net>
References:  <arf73v$bbq$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Jun Kuriyama wrote:
> I'm trying to install DP2 to old machine (P2 dual).  This box has 2GB
> IDE disk and ran NT4 before.
> 
> When entering fdisk editor after booting from CD-ROM, I cannot delete
> NTFS partition by "D" key.  "D" key only shows cursor up (NTFS is at
> offset 63, offset 0 seems boot selector for NT).
> 
> Can I do something for debugging?

I've got the same problem.  I installed a -current snapshot about 2 1/2 
weeks back, and the fdisk editor obviously wrote the partition tables 
with a different assumption about disk geometry than 4.7-stable.  Now, 
my partition tables have boundaries that Linux's fdisk disagrees with. 
For example, using Linux fdisk from my Gentoo install:

fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 2432 cylinders
Units = cylinders of 16065 * 512 bytes

    Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1        36    289138+  a0  IBM Thinkpad hibernation
Partition 1 does not end on cylinder boundary:
      phys=(573, 11, 63) should be (573, 254, 63)
/dev/hda2   *        37       765   5855692+   c  Win95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary:
      phys=(1023, 2, 63) should be (1023, 254, 63)
/dev/hda3           766      1403   5124735    5  Extended
/dev/hda4          1404      2432   8265442+  82  Linux swap
/dev/hda5           766       767     16033+  83  Linux
/dev/hda6           768       778     88326   83  Linux
/dev/hda7           779       798    160618+  83  Linux
/dev/hda8           799       831    265041   83  Linux
/dev/hda9           832      1403   4594558+  83  Linux

I never had this problem with FreeBSD-stable and Linux.  And now, with 
the DP2 install CD, I can't delete any partitions with "D", as the 
cursor just moves up.

Here is FreeBSD's idea of my disk geometry:

C/H/S == 38760/16/53

Here is what Linux reports:

  dmesg | grep hda
     ide0: BM-DMA at 0x1080-0x1087, BIOS settings: hda:DMA, hdb:pio
hda: TOSHIBA MK2016GAP, ATA DISK drive
hda: 39070080 sectors (20004 MB), CHS=2432/255/63, UDMA(33)

So, I tried pressing "G", and entering in "2432/255/63", but the DP2 
fdisk editor still wouldn't let me delete any partitions.

I suppose GEOM is the "culprit" here.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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