
Wouldn't it be nice to have a grml that would fit on an 8cm CD? I'm playing around with adding things to grml_small (being that stipping the big one down seems rather intimidating), but having an official release in the 200M size range would be even nicer. I'm envisioning something that still has the man pages and some basic X tools. The big hurdle for me right now are actually the man pages, being that reinstalling everything just to get the accompanying man pages is a pretty big project - but then again, remastering a Live CD is pretty much supposed to be big.
Is there any chance of there being an official release somewhere between grml_small and grml (regular)? Even just a version of small without stuff being stripped post install would be a mightily cool thing.
Thanks for a cool distribution :) --j

Juergen Fiedler schrieb:
I'm playing around with adding things to grml_small (being that stipping the big one down seems rather intimidating)
Stripping the big one down works fairly well (in my opinion better than adding things to grml_small because you might add newer/untested versions accidentally) and even without network connection.
Just take dpkg --get-selections, and set everything to purge which is not listed in the grml-small-selections file. Keep the following packages as well (since packages on grml-small are named differently for these):
linux-image-2.6.18-grml install grml-policyrcd install locales install unionfs-modules-2.6.18-grml install unionfs-tools install unionfs-utils install policyrcd-script-zg2 install
Run apt-get dselect-upgrade and after some time you will have a smaller system. Keep more packages to get a bigger cd image.
From one of my scripts for a similar purpose:
export LANG=C export LC_MESSAGES= mv /etc/apt/sources.list{,-moved} touch /etc/apt/sources.list apt-get update dpkg --get-selections | sed s/install$/purge/ | dpkg --set-selections dpkg --set-selections <grml-small-0.3-selections dpkg --set-selections <my-selections apt-get -y dselect-upgrade apt-get -f install apt-get dselect-upgrade
Michael

On 2/13/07, Michael Schierl schierlm@gmx.de wrote:
Juergen Fiedler schrieb:
I'm playing around with adding things to grml_small (being that stipping the big one down seems rather intimidating)
[...]
From one of my scripts for a similar purpose:
export LANG=C export LC_MESSAGES= mv /etc/apt/sources.list{,-moved} touch /etc/apt/sources.list apt-get update dpkg --get-selections | sed s/install$/purge/ | dpkg --set-selections dpkg --set-selections <grml-small-0.3-selections dpkg --set-selections <my-selections apt-get -y dselect-upgrade apt-get -f install apt-get dselect-upgrade
So I have played around with this script for a while; I am trying to keep X, so my 'my-selections' looks like this:
------- linux-image-2.6.18-grml install unionfs-modules-2.6.18-grml install grml-policyrcd install policyrcd-script-zg2 install locales install man-db install fluxbox install grml-x install hwinfo install libhal1 install libhd13 install pciutils install xbase-clients install xfonts-base install xserver-xorg install xserver-xorg-core install xserver-xorg-input-all install xserver-xorg-input-evdev install xserver-xorg-input-kbd install xserver-xorg-input-mouse install xserver-xorg-input-synaptics install xserver-xorg-input-vmmouse install xserver-xorg-input-wacom install xserver-xorg-video-fbdev install xserver-xorg-video-vesa install xterm install -------
The first 'apt-get -y dselect-upgrade' runs fine and leaves everything related to X alone. The second one, though, wants to remove everything that looks remotely like X:
------- apt-get -y dselect-upgrade Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: grml-x xkb-data* xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-video-fbdev xserver-xorg-video-vesa 0 upgraded, 0 newly installed, 12 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 15.6MB disk space will be freed. -------
What am I missing there? Do I have to put the whole dependency tree for those packages into my selection file? Maybe it would be easier to strip grml down to the minimum packages you mentioned and then go using aptitude or apt-get; wouldn't I need one of them to install packages that were not part of the original grml-0.9.iso, anyway (assuming that I don't want to download and install all .deb files manually)?
Thanks, --j
Teilnehmer (2)
-
Juergen Fiedler
-
Michael Schierl