fdisk/disklabel - Error: unable to write data to disk ad0

From: Herbert (herbert_at_bugat.at)
Date: 05/31/03

  • Next message: Tinderbox: "[-CURRENT tinderbox] failure on i386/pc98"
    Date: Sat, 31 May 2003 19:05:56 +0200
    To: freebsd-questions@FreeBSD.org
    
    

    Hei!

    On Thursday May 29th I installed FreeBSD 5.1 Beta2. The next day I've
    update to CURRENT from May 30th. I have a 60 GB ATA harddisk and during
    installation I created only 1 20 GB slice for FreeBSD. Today I wanted
    to use the other 40 GB of my hard disk and create two more slices each
    20 GB. Well, fdisk reports that the disk geometry is wrong and sets it
    to 7476/255/63, the same disk geometry the BIOS reports. When I try to
    save the changes in fdisk, I get the following error messages:

          Error: Unable to write data to disk ad0
          Disk partition write returned an error status!

    Hmm, I tried both in multiuser and singleuser mode.
    Finally I booted with the floppies I had used to setup FreeBSD 5.1B2.
    Fdisk also reports that the disk geometry is wrong and sets it to
    7476/255/63. But creating the slices and saving the changes did work:

    The data for partition 1 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    ----[snip]----
    The data for partition 2 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BS
    ----[snip]----
    The data for partition 3 is:
    sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    ----[snip]----
    The data for partition 4 is:
    <UNUSED>

    Now I have booted FreeBSD from hard disk and try to create partitions
    within the new slices. But again I get:

        Error: unable to write data to disk ad0

    Now I am booting with the install floppies again. I guess this is
    working fine.
    Any ideas what I am doing wrong?

    Regards,
    Herbert
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Tinderbox: "[-CURRENT tinderbox] failure on i386/pc98"

    Relevant Pages

    • fdisk/disklabel - Error: unable to write data to disk ad0
      ... fdisk reports that the disk geometry is wrong and sets it ... Finally I booted with the floppies I had used to setup FreeBSD 5.1B2. ... But creating the slices and saving the changes did work: ... The data for partition 1 is: ...
      (freebsd-questions)
    • Mounting OpenBSD partitions (can see only root)
      ... And the FreeBSD-fdisk shows the OpenBSD partition: ... the slices manually. ... FreeBSD save the slice information? ...
      (freebsd-questions)
    • Re: Problems installing FreeBSD
      ... It has to go in to its own primary slice. ... MS does not know how to recognize, read or write a FreeBSD slice. ... or shrink those slices to make room for a FreeBSD slice. ... using Partition Magic to manipulate disk slicing including NTFS. ...
      (freebsd-questions)
    • Re: PartitionMagic question
      ... > I am installing FreeBSD on a laptop with Windows XP Pro. ... > space with PartitionMagic and installed FreeBSD there making the FreeBSD ... > partition with the FreeBSD partition utility in the install. ... You can use it any time to look at the disk and muck with MS type slices, ...
      (freebsd-questions)
    • Re: FIRST INSTALL QUESTION
      ... > used a boot manager unless Windows 98 Start-up Menu qualifies). ... This is the MBR. ... minor things and then looks for bootable slices. ... > FBSDBOOT.EXE and that got me to wondering if I could just partition ½ of the ...
      (freebsd-questions)