Geometry does not match label (1h,63s != 15h,63s).



  • This is more a FreeBSD question but I figured Id post it here in case someone had a solution…  Ive tried fdisk from Windows 2k installer, fdisk from a FreeBSD live installer... played with gpart but Im a little new to that...

    I have a Fujitsu (ad0: 4125MB <fujitsu mpd3043at="" dd-32-01="">at ata0-master UDMA66) drive.

    1.2.3 runs fine on it...

    When trying to upgrade to 2.0rc1 I get...

    Console-
    Root Mount Error:

    If you have invalid mount options, reboot, and first try the following from the loader prompt:

    set vfs.root.mountfrom.options=rw

    and then remove invalid mount options from /evt/fstab.

    Loader variables:

    GUI log-
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.
    Mar 2 08:49:44 kernel: GEOM: ad0: geometry does not match label (1h,63s != 15h,63s).
    Mar 2 08:49:44 kernel: GEOM: ad0: media size does not match label.

    root mount failed startup aborted.

    I have this problem with older drives when Ive tried to use them. There is still a N.O.S. supply of these Fujitsu drives available if you look around and they have been bulletproof so I was hoping they'd work...

    Probably just go with an SSD if this is a no-go...</fujitsu>



  • To get the installer past the mount root error I was first stalling at-

    Used a Windows install disk to fdisk and reformat drive.    That would get me to the pfsense console menu running on a Live CD.
    Installing via 99 on the console would get me the geometry error in the title of this post which would make installation impossible for me.

    Then taking the next step from-
    From http://forum.pfsense.org/index.php?action=printpage;topic=25112.0

    "It may have needed the whole disk wiped then.

    Code:  (can take a while- 20gig drive took me 5660 seconds…)

    # dd if=/dev/zero of=/dev/ad0 bs=1M
    ```"
    
    Then back to 99 on the console where install worked.
    
    2.0 now happily running from ad0
    :)
    
    edit = added info.


  • doesnt seem to matter what I do. i get the invalid mount option message every time i try to install 2.0 to a sata disk drive.

    tried putting the drive in an old machine and running delpart and fdisk /mbr to completely wipe the partitions off the drive and redo the MBR. did not help at all. im kinda stuck at the moment. I dont have access to a MAC  to try that method but it seems the delpart and fdisk /mbr should have worked.

    any other ideas? or am i just gonna be hosed and have to use a flashdisk module or SSD or something?

    [edit]
    it actually does not matter at all which type of disk i use. flashdisk module, IDE hard disk, SATA hard disk.

    I get that error message about invalid mount options. how do i fix this?

    FreeBSD 8.2 installs no problem so im not sure how to proceed.

    [2nd edit]

    I have discovered that MY particular issue came from attempting to install from a USB CD-ROM drive. the drive is detected and the install begins, but during the hardware detect/driver load phase in the boot process of the installation, it fails to work. if i plug in an IDE CD-ROM the installer works as it should. just a heads up there. bug i guess. trivial bug.


Locked