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

Re: preseed bare-bones install



mike@opendns.com wrote:
> Good morning debian booters,
> 
> With the help of http://wiki.debian.org/DebianInstallerPreseed and the
> sarge 3.1r1 netinst prepackaged iso, I have a working preseeded network
> install of debian going, no external input necessary by operator save the
> power button.  However, I'm trying to slim down the install as much as
> possible.  In my preseed file, I have the line
> 
> tasksel tasksel/first multiselect ""
> 
> But it seems many things I don't need/use are still getting installed -
> like python, hotplug, etc...  How can I preseed the install so that I can
> avoid these packages?
> 
> Thanks much, take it easy.
> 
> Mike

Not sure if this is what you're asking, but you can get rid of some stuff
(i.e. the packages listed here:  http://hands.com/d-i/dsd/base_exclude) by
installing my bootstrapwrap udeb into the running debian-installer instance
before it gets to the debootstrap step:

  http://hands.com/d-i/udebs/bootstrapwrap_0.2_all.udeb

which can be installed in the preseed/early_command.  The way I do that is
to grab a script in the early_command, as you can see in here:

  http://hands.com/d-i/dsd/common.cfg

which grabs and runs this script:

  http://hands.com/d-i/dsd/early_script

which, among other things grabs and installs bootstrapwrap & the
base_exclude file (and a base_include file if it exists)

You can always just put the relevant bits straight into your
preseed/early_command, rather than doing this recursive downloading of
scripts approach, if you prefer.

Hope that helps.

Cheers, Phil.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: