Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to -- debian distribution CD...

14 views
Skip to first unread message

TIFR students

unread,
Jan 3, 2005, 4:10:06 AM1/3/05
to
We would like to know if there is any way by which we can create an debian distro ISO which contains packages of our choice.
On debian site there r basically 2 ways defined:
 
1.Downloading the whole ISO (650 MB) using jigdo or bittorrent.
But the problem is jigdo downloads only standard available ISOs on mirrors.What we want is the customization in the number of and kind of packages present in the ISO.We cananot make a CD set of our own choice in this method.(Can we??)
 
2.Using net install.
Well we got the basic minimal ISO from woody(186 MB).
But is this supposed to be a live CD ?? or a distribution installer CD??
Is the file structure of debian installer CD any different from any other live CDs??
I guess we can get the additional packages we want from the net,after installing this minimal ISO.But the problem is,how then,do we convert the whole thing into an ISO that we want.
 
Thanx.
 
 


Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.

Chirag Kantharia

unread,
Jan 3, 2005, 4:30:17 AM1/3/05
to
On Mon, Jan 03, 2005 at 01:01:35AM -0800, TIFR students wrote:
| We would like to know if there is any way by which we can create an debian distro ISO which contains packages of our choice.

Look at www.knoppix.org for an example of debian based distribution, and
search for customizing knoppix on google, for HOWTO on remastering the
distribution.

Regards,

--
Chirag Kantharia, puggy.symonds.net/~chyrag/

signature.asc

cobaco (aka Bart Cornelis)

unread,
Jan 3, 2005, 5:10:11 AM1/3/05
to
On Monday 03 January 2005 10:01, TIFR students wrote:
> We would like to know if there is any way by which we can create an
> debian distro ISO which contains packages of our choice.

This misses the whole CDD (custom debian distribution) angle which is still
being worked out but aims to solve this problem:
- Take a look at the cdd-dev package (not sure if it's able to build an
install CD yet).
- You could alsot look at the modified debian-cd scripts used by
debian-edu/Skolelinux (Not sure in howfar these modifications have been
merged back into the debian-cd package). They build a debian-cd set with
the packages reordered so all debian-edu packages are on the first CD
(which is otherwise a normal debian-installer CD).
- Any detailed questions you have about any of the above are probably best
asked on the debian-custom list.

> 1.Downloading the whole ISO (650 MB) using jigdo or bittorrent.
> But the problem is jigdo downloads only standard available ISOs on
> mirrors.What we want is the customization in the number of and kind of
> packages present in the ISO.We cananot make a CD set of our own choice in
> this method.(Can we??)

nope, to make you're own CD's look into debian-cd package (and possibly
cdd-dev)

> 2.Using net install.
> Well we got the basic minimal ISO from woody(186 MB).
> But is this supposed to be a live CD ?? or a distribution installer CD??

net-install images are minimal install CD, they are more or less
debian-installer + base, with everything else downloaded from a mirror when
needed.

> Is the file structure of debian installer CD any different from any other
> live CDs??

debian-installer CD's are not liveCD's at all

> I guess we can get the additional packages we want from the
> net,after installing this minimal ISO.But the problem is,how then,do we
> convert the whole thing into an ISO that we want.

the tools being created by the folks on debian-custom will solve this at
some point (if they don't already)
--
Cheers, cobaco (aka Bart Cornelis)

1. Encrypted mail preferred (GPG KeyID: 0x86624ABB)
2. Plain-text mail recommended since I move html and double
format mails to a low priority folder (they're mainly spam)

Alexander Schmehl

unread,
Jan 3, 2005, 5:30:22 AM1/3/05
to
Hi!

* TIFR students <hbcse...@yahoo.com> [050103 10:01]:

> I guess we can get the additional packages we want from the net,after
> installing this minimal ISO.But the problem is,how then,do we convert>
> the whole thing into an ISO that we want.

Take a look at debian-cd [1]. That is a tool to create Debian CDs; you
can include your own package selection and own packages, if you want.


Yours sincerely,
Alexander

Links:
1: http://packages.debian.org/debian-cd

signature.asc

Bartosz Fenski aka fEnIo

unread,
Jan 3, 2005, 6:00:12 AM1/3/05
to
On Mon, Jan 03, 2005 at 01:01:35AM -0800, TIFR students wrote:
> I guess we can get the additional packages we want from the net,after
> installing this minimal ISO.But the problem is,how then,do we convert
> the whole thing into an ISO that we want.

You got some hints from others. I would like to add another

Some lines from `apt-cache show dfsbuild`

Debian From Scratch (DFS) is a live bootable CD that is designed to
provide a fully-featured kernel and a fully-featured rescue environment.
The rescue environment contains filesystem tools, editors, C development
environment, etc.
.
dfsbuild is the program used to create the DFS CD image. It is highly
configurable and can be used to create other custom bootable CD or DVD
images. You can use dfsbuild to do something as simple as building a
DFS CD with a custom kernel. Or, you can customize the CD to include a
completely different set of packages.
.
dfsbuild works by obtaining packages from your nearest Debian mirror.
It will generate an ISO image that contains a bootable Debian system
generated by installing those packages. Also, it can place all the .debs
and files needed by cdebootstrap in the image. Thus, the
generated image can be used to install the base Debian system on a PC as
well.

regards
fEnIo

--
_ Bartosz Fenski | mailto:fe...@debian.org | pgp:0x13fefc40 | IRC:fEnIo
_|_|_ 32-050 Skawina - Glowackiego 3/15 - w. malopolskie - Polska
(0 0) phone:+48602383548 | proud Debian developer and user
ooO--(_)--Ooo http://skawina.eu.org | JID:fe...@jabber.org | RLU:172001

signature.asc

Justin Pryzby

unread,
Jan 3, 2005, 9:40:33 AM1/3/05
to
On Mon, Jan 03, 2005 at 01:01:35AM -0800, TIFR students wrote:
> We would like to know if there is any way by which we can create an debian distro ISO which contains packages of our choice.
> On debian site there r basically 2 ways defined:

> 2.Using net install.


> Well we got the basic minimal ISO from woody(186 MB).

Just to be clear, there is another ISO image somewhere which is just a
few megabytes (~10MB). It has the kernel, and the modules, and the
installer, but not base (if size is a problem).

Also check out bootcd - run your system from cd without need for disks
(and bootcd-* packages). I experimented with this a couple years
back.

Justin


--
To UNSUBSCRIBE, email to debian-ment...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Carlos Parra Camargo

unread,
Jan 3, 2005, 1:30:26 PM1/3/05
to
I've been working around debian-cd, and it's probably your program.

Hardly all you must to know it's here:
http://wiki.debian.net/index.cgi?DebianInstaller (at 18:50 the link is
broken!, this morning it was working...)

You will be especially interested in this sections: DebianCustomCD and
ModifyImage. In my case, i have follow point per point DebianCustomCD
(I'm working in a debian derivate).

A quick reference:

- download the debian installer image (i recommend the last one stable
netinst, actually d-i rc2).

- install it in a prototype system, and add all the programs you want to
include on the cd. Well, really you don't need to install the programs,
you cand do something like:
apt-get install -d program1 program2.... (this downloads the packages
without installing)
Don't clean /var/cache/apt/archives !!! here you need to keep the .deb's

- copy all the contents of the cd to your hard-disk

- now you have to syncronize your /var/cache/apt/archives with the pool/
of the cd. I've used apt-move for this task:
configure /etc/apt-move.conf and execute apt-move fsck && apt-move
update.

- At this step you have a pool/ with all the packages you want, you have
to generate your "packages" and "releases" files, it's pretty well
documented at the wiki.

- Now copy the folder backup/dist/sarge/main/intaller-i386/ to the
dist/sarge/main/installer/. The folder backup it's created automatically
when you run "apt-move fsck".

- Now, you have to install debian-cd and...

- go to /usr/share/debian-cd/
- edit CONF.sh
- load to the envairoment the variables: ". CONF.sh"
- make distclean (it cleans your temporal directory)
- make mirrorcheck (it checks that dependencies of your mirror is ok)
- make status (it should write nothing in your screen)
- make make bin-list TASK=tasks/yourtask COMPLETE=1 (your task is a
file wich list all the programs you want to include on your cd)
- make bootable
- make bin-images

Voila!
I know that's it's a quick and dirty (dirty, dirty) reference... if you
are intereseted read the wiki and ask all you want :-)

Carlos P.C.

0 new messages