Detected hard disk geometry changed after installing FC2T2

shrek-m at gmx.de shrek-m at gmx.de
Fri Apr 2 18:36:33 UTC 2004


Hervé Pagès wrote:

> Depending on the "Access Mode" in use, my BIOS detect the following
> geometry :
>
>  o "Access Mode" set on "Auto"     o "Access Mode" set on "LBA"
>      Cylinder = 38309                  Cylinder = 9729
>      Head = 16                         Head = 255
>      Sector = 255                      Sector = 63
>
>
> 1. BEFORE installing FC2test2, I boot in FC1 and I get the following :
>
>    # hdparm -g /dev/hda
>     geometry     = 9729/255/63
>
>    # fdisk /dev/hda"
>     255 heads, 63 sectors/track, 9729 cyl.
>
>   NB : I get the same result whatever the "Access Mode" is ("Auto"
>   or "LBA").
>
>
> 2. DURING install of FC2T2, I get the following warning :
>
>    "Unable to align partition properly. This probably means that another
>     partioning tool generated an incorrect partition table, because it
>     didn't have the correct BIOS geometry. It is safe to ignore,
>     but ignoring may cause (fixable) problems with some boot loaders".
>
>   After that DiskDruid displays a strange partition tables containing
>   some small free spaces (< 1 cyl. each) beetween my partitions.
>
>   NB : This happens with both "Access Mode=Auto" and "Access Mode=LBA".
>   But this doesn't happen when installing FC1 on the same HD, with the
>   same partition table !
>
>
> 3. AFTER installing FC2T2, my disk geometry seems to be different now :
>
>     - If I boot in FC2T2 :
>
>         # hdparm -g /dev/hda
>          geometry     = 65535/16/63  (with "Access Mode" set to "Auto"
>                                       or to "LBA")
>
>     - If I boot in FC1 :
>
>         # hdparm -g /dev/hda
>          geometry     = 155061/16/63 (with "Access Mode" set to "Auto")
>          geometry     = 9729/255/63  (with "Access Mode" set to "LBA")
>
>     - With both FC1 and FC2test2, "fdisk /dev/hda" gives :
>          16 heads, 63 sectors/track, 155061 cyl.
>
>       And with "fdisk -H 255 /dev/hda", I get :
>          255 heads, 63 sectors/track, 9729 cyl.
>       But this time, if I print the partition table with "p", I get
>       "Partition 1 does not end on cylinder boundary" and the same
>       message for partitions 2, 3 and 4.
>
>
> 4. With "Access Mode" set to "Auto", Windows XP (/dev/hda1) doesn't
>    boot anymore. (It did boot before installing FC2T2).
>    With "Access Mode" set to "LBA", it does boot again.
>
>
> 5. I'm totally confused :-(


you can follow the thread below

i do not know what was the solution :-(

bios-setting from auto to lba ?
boot win-xp-cd in rescue-mode ?
c:\> fixmbr



http://www.redhat.com/archives/fedora-test-list/2004-April/msg00138.html

--------
[...]

Mandrake faced with some thing similar with Linux 2.6 :
> http://qa.mandrakesoft.com/show_bug.cgi?id=7959#c21


Yes, this is the same bug. The suggested fix under Mandrake is:
Fixing partition table:
  with diskdrake from drakxtools-10-24mdk do
    % diskdrake --change-geometry=hda=255,63

How do I do the same in FC2T2?

--------


-- 
shrek-m






More information about the fedora-test-list mailing list