<div class="gmail_quote">On Thu, May 10, 2012 at 6:38 PM, Jonathan Marsden <span dir="ltr"><<a href="mailto:jmarsden@fastmail.fm" target="_blank">jmarsden@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Paul,<br>
<div class="im"><br>
On Thu, May 10, 2012, at 08:14 PM, paul sutton wrote:<br>
<br>
> According to ubuntu  the cd image is 721.7 MB (721,727,488 bytes) in<br>
> size according to windows it is 688mb (721,727,488 bytes) in size<br>
> (well a recorded cd is that size)<br>
><br>
> So which one of these is correct, given that the image needs to fit on<br>
> a normal 700mb cd-r otherwise it needs a dvd<br>
<br>
</div>Both are "correct" -- they just use different definitions of "MB"!<br>
<br>
Ubuntu is using the ISO and disk manufacturer standard that 1MB =<br>
1000000 bytes.  Windows is (I think) using the "computer industry"<br>
definition of the "binary MB", which ISO calls a "MibiByte", in which<br>
1MB (or 1MiB per ISO) = 2^10 = 1024 * 1024 = 1048576 bytes.<br>
<br>
The image is under 700 "computer industry" (binary) MB, so it will fit<br>
on a CD-R blank.<br>
<br>
In case you care, the official Ubuntu policy on units is documented at<br>
<br>
  <a href="https://wiki.ubuntu.com/UnitsPolicy" target="_blank">https://wiki.ubuntu.com/UnitsPolicy</a><br>
<br>
To verify the size of a CD-R blank, in Ubuntu or Lubuntu you can install<br>
wodim by doing<br>
<br>
  sudo apt-get install wodim<br>
<br>
and then put your CD-R blank in the drive, and do<br>
<br>
  wodim -atip |grep "lead out"<br>
<br>
The number right after the : in the output line, outside of any<br>
parentheses, is the number of 2048 byte allocation units available on<br>
the CD-R.  On one I just tested here, it output<br>
<br>
  ATIP start of lead out: 359846 (79:59/71)<br>
<br>
so the number of clusters is 359846, which means the total bytes<br>
available to write data to on that CD-R blank is given by<br>
<br>
  echo $((359846 * 2048))<br>
<br>
which outputs 736964608, which is larger than the size in bytes of the<br>
CD image you mentioned, which was 721727488.<br>
<br>
Bottom line: it fits, don't worry so much :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Jonathan<br>
--<br>
  Jonathan Marsden<br>
  <a href="mailto:jmarsden@fastmail.fm">jmarsden@fastmail.fm</a></font></span></blockquote><div><br></div><div><br></div><div>Jonathan, wow... thank you  for the detailed reply. I like to learn a bit everyday!</div><div>
<br></div><div>Cheers,</div><div>Ibere</div></div><br>