[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems controlling the content on CD one



Petter Reinholdtsen <pere@hungry.com> writes:

> [Philip Hands]
> >>   - reduce the CD size to make sure the image is below 650 MB (or
> >>     actually 650 000 000 bytes)
> > 
> > Why?  Just interested.
> 
> I ran into problems with too large CD image once, and reduced the size
> to get rid of the problem.  I'm not sure what the correct limit is,
> and would really like to find out which value to choose.  I'm not even
> sure if the problem I had is still present.

650 x 1024 x 1024 is the actual limit that you can get on a 650MB CD,
give or take a few k, depending on padding.  I generally decide that
an image is not releasable if it's bigger than 681,000,000 bytes, just
to be safe.

The art of getting somewhere near that is not very deterministic
though, and trying to get all the architectures to be somewhere near
it is a bit of a pain, which explains why only a couple of the
official CDs are larger than 645MB.

The contents of:

  debian-cd/tools/boot/potato/boot-*.calc

are rather important in getting this to work.

For the recent potato run, I found that the sparc CD1_NONUS was too
big, so did this:

--- tools/boot/potato/boot-sparc.calc   2000/06/11 13:12:55     1.1
+++ tools/boot/potato/boot-sparc.calc   2001/11/19 07:41:42
@@ -1,4 +1,4 @@
-BOOT_SIZE_1=0
+BOOT_SIZE_1=10
 
 BOOT_SIZE_2=0
 
=-=-=-=-

which is probably a little excessive, but does the trick.
                                                  
Cheers, Phil.
-- 
Say no to software patents!   http://petition.eurolinux.org/

|)|  Philip Hands [+44 (0)118 9545656]    http://www.hands.com/
|-|  Philip Hands Computing Ltd.      http://www.uk.debian.org/
|(|  Unit 1, Cherry Close, Caversham, Reading  RG4 8UP  ENGLAND



Reply to: