Comment 5 for bug 912259

Revision history for this message
Dennis Jackson (dennis-m-jackson) wrote : Re: [Bug 912259] Re: Win32 Disk Imager Creates an .IMG file that is toobig to restore to identical media

Hello -

     I just finished testing Win32 Disk Imager v.5 in reference to this
issue. Results are identical to what I initially reported when I opened
this trouble ticket - Win32 Disk Imager is creating an image that is too big
to write to identical media. To test, I first successfully captured an
image that I have on a SanDisk 4GB Class 2 SD card. Size of the captured
image was reported by Windows Explorer as 3.79 GB. I formatted an identical
SanDisk 4GB Class 2 SD card using SD Formatter v3.1, and checked its
capacity in Windows Explorer. Windows Explorer reported the capacity as
3.68GB. I attempted to write the captured image onto the newly formatted SD
card; Win32 Disk Imager failed, reporting that there was not enough space on
the SD card to write the image. This report also affects #932321. As the
results of the latest test were identical to those that I initially
reported, are you sure that the fixes were applied to the latest released
version? There was an issue (reported in #187903) with missing DLL's in the
version of .5 that was initially distributed. Knowing that configuration
management is a tricky business at best, is is possible that the reported
fixes did not make it into the second "release" of v.5? Just checking! If
that's not the case, then the fixes applied to create v.5 to address #912259
(reclassified as a duplicate of #932321) did not solve the issue I reported.

----- Original Message -----
From: "Tobin Davis" <email address hidden>
To: <email address hidden>
Sent: Wednesday, February 15, 2012 11:33 AM
Subject: [Bug 912259] Re: Win32 Disk Imager Creates an .IMG file that is
toobig to restore to identical media

*** This bug is a duplicate of bug 932321 ***
    https://bugs.launchpad.net/bugs/932321

** This bug has been marked a duplicate of bug 932321
   getNumberOfSectors() returns incorrect number

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/912259

Title:
  Win32 Disk Imager Creates an .IMG file that is too big to restore to
  identical media

Status in Image Writer for Windows:
  New

Bug description:
  I used a SanDisk 4GB microSD card to create an Android (CyanogenMod
  7.1) external boot card for a Nook Color. For backup purposes, I used
  Win32 Disk Imager (either v.3 or v.4, installed on a Windows Vista SP2
  computer) to capture the image to a file, as the program permits. As
  a test, I then tried to restore that image, using Win32 Disk Imager,
  to another identical, new SanDisk 4GB microSD card. I get an error
  message telling me that there's not enough space on the new card. I
  then used a partition manager to unallocate some space on the source
  microSD card, figuring this would reduce the captured image size. I
  recaptured the image and tried again - same results. Windows reports
  that the captured image file size was not reduced on the second
  attempt, despite unallocating some space on the source microSD card.
  I then formatted the target microSD card using SDFormatter, and
  repeated the experiment; same results. Windows reports the captured
  image file as 3.79 GB in size; Windows also reports the size of a
  freshly-formatted 4GB microSD card as 3.68 GB. Obviously, the
  captured image is too large to fit on the target microSD card, but I
  am at a loss to determine why Win32 Disk Imager captures an image that
  then cannot be restored onto an identical microSD card, especially if
  there is unallocated space on the source microSD card!

  I looked at the partitions of the source microSD card after going
  through the process of installing CyanogenMod to it. The image
  installer for this process, which must be done on the Nook Color,
  creates a mixed microSD card structure that contains the following:

  Partition Type Size
  1 FAT32 415.71 MB
  2 EXT4 462.81 MB
  3 EXT4 964.84 MB
  4 FAT32 all remaining space

  Reported Total Size: 3.79 GB

  So, I can see where the image size of the image that Win32 Disk Imager
  creates comes from, but the target (blank) microSD card needs to be
  formatted to get a drive letter for use with your program, and the
  maximum size that I can seem to get with any microSD card formatting
  program that I'm aware of (including Windows) is 3.68 GB! While
  common sense tells me that I should be able to restore an image to an
  identical microSD card for backup and restore purposes, it appears
  that your program does not permit that, either due to error or by
  design.

To manage notifications about this bug go to:
https://bugs.launchpad.net/win32-image-writer/+bug/912259/+subscriptions