-
Senior Member
registered user
At least fairly simple to get down to 3GB
When doing purging operations, I have found it to be fairly safe to do the purging without persistence, then remaster and test, and continue with the next step also without persistence. The occasional packages to install during the process, don't need persistent store.
Here is a fairly simple and safe way to get down to ca 3 GB: Drop games, science, education, tex and kde, plus a few other packages.
The image produced by squashfs compression is ca 150MB smaller than simple cloop compression in this case, so there may be a case for a squashfs version of minirt.gz here.
I don't think it should be impossible to get down towards 2GB, but the more we purge, the greater the risk for a crash. (And I don't think we should hope for doing better than Klaus Knopper himself )
This will give a few hundred MB for user data. Question for the OP: How much is needed?
Code:
sudo apt-get update
# Groups
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep ^games | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep ^science | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep ^education | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep '^tex ' | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep '^kde' | cut -d' ' -f2`
# Single or small sets of packages
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep eclipse | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep inkscape | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep scilab | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep scribus | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep pidgin | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep denemo | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep amarok | cut -d' ' -f2`
sudo aptitude -y purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep chromium | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep phpmyadmin | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep mysql | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep gnumeric | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep help-de | cut -d' ' -f2`
sudo aptitude purge `dpkg-query -W --showformat='${Section} ${Package}\n' | grep ' vim' | cut -d' ' -f2`
sudo aptitude -y purge `deborphan`
-
Thank you Capricorny,
and sorry for the delay. We just returned from a conference where we started the BatPro program in another city in Romania.
With your script we managed to shrink down the ISO to 2.8Gb and probably if we search more we could go further. I like how targeted directly an entire category or set of programs.
Regarding the use of another ISO, it's possible that we could go with an Ubuntu ISO. I don't know why but we had problems with nvidia cards in old computers where Knoppix 7.4.2 was loading a wrong nvu module and we were ending up with a black screen in graphic mode. This problem did not appear with Ubuntu 14.04.
Please feel free to propose more strip down scripts. We use LXDE, wxPython, espeak and VLC.
Regards,
Rares
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Vintage 1990 Apple Macintosh SE/30 M5011 Computer FOR PARTS OR REPAIR
$250.00
Vintage Apple Power Macintosh 6100/66 Computer M1596 Powers On AS-IS
$129.99
Vintage Apple Macintosh Classic Computer M1420 1991
$199.99
Motorola XPC750 ARX300PE Power Macintosh CPU XPC750DIP300CH 300MHz Processor VTG
$39.99
Vintage Apple Macintosh Keyboard ADB Desktop Bus M0116 ORANGE ALPS w/ Cable
$99.99
Lot Of 4 Vintage Apple Keyboards For Macintosh IIGS M0116 With All 4 Cables
$199.99
Vintage Apple Mouse Macintosh Serial M0100
$60.00
VTG Apple Macintosh SE/30 Tested and Working - NO HDD NO SOFTWARE BAD SCREEN
$200.00
APPLE MACINTOSH SE FDHD All In One Vintage Computer - Model M5011 With BOX
$299.99
Vintage Apple Power Mac G4 Cube 2000
$300.00