how to make his own install-cd

Jay Camp jayc at CLEMSON.EDU
Sun May 1 16:37:56 CDT 2005


On Sun, 2005-05-01 at 23:23 +0200, Molot wrote:
> If he sells one - three kinds of computers, easiest thing is to
> install one copy of Ubuntu (per each kind) dorm way, configure all and
> then just take hd image by sth like:
> 
> dd if=/dev/hda of=put/some/external/drive/here
> 
> Then just write this image using sth like live-cd.
> 
> I know it isn't direct answer to your question, but it's easiest way
> (IMHO) to do what you want to do.

A bitwise copy does not make any sense.  If you're going to go this
route use something that can handle it at the filesystem level (that way
only used bits get copied and the other junk doesn't have to).  Examples
of this include partimage and g4u (I think).  Another bad thing about a
bit copy is that you can't handle different sized disks.  Theoretically
you should be able to take any image and have it resize to fill whatever
disk you put it on.  I don't know if either of those tools implement
that though.

One other option is to make a debian-installer preseed file answering
everything (even including partitioning) and reburn the ISO.  Or setup
diskless boot (my favorite) and install from a server.

But what he's really looking for (so am I) is a way to take an image and
at first boot, for example, have it dpkg-reconfigure as if it were a new
installation.

Seems like I once read about something like this but have sense
forgotten.  Hopefully somebody knows what it is or can just verify I'm
crazy and making things up. :)

Jay




More information about the ubuntu-devel mailing list