I started to write a script that removes all packages that are not part
of ubuntu-base and xubuntu-desktop. But there are more packages needed
to make it a running system eg. grub. I wonder if there  are other
metapackages that  should be included and/or other packages. This
packagelist should contain all packages that would be on the cd . <br>

I tested the script I wrote on my system with a debootstrap install...
I know the things could be done more elegant but I'm not very familiar
with scripting... please take it as an idea not as a thing to use if
you are interested in . I hope I didn't do big mistakes