New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Minimal Debian 12 ISO?
I have some baby VPSes that has only 10 GB of disk space. Some providers doesn't really have minimal Debian images I believe so 50% of my disk space is already gone with new Debian installation.
Can someone point me at some minimal Debian ISO that maybe I can install on the VPS by myself or ask provider to install it to my VPS? I never done that but considering I have like 10+ VPS and some installations doesn't have curl out of the box I believe it should be possible to have smaller foot print Debian installations.
Thanked by 1arnoldz


Comments
In normal installation of Debian 12 ISO choose to only install System utilities or nothing at all under packages then it will only take up 1G of disk space.
Good point but Virtfusion panels only lets me choose the images set by provider. So I just choose the OS and set root password and then server is ready (with all the extra garbage installed with it)
in that case you can try netboot.xyz but you need to go through the installation manually (there would be gui if you choose graphical installation)
You could try this script to reinstall a fresh Debian: https://github.com/bin456789/reinstall/blob/main/README.en.md
This should have a small footprint.
there's something called debootstrap . turnkeylinux use that if I remember correctly to create their base iso/image/etc.
I usually run this on a new VPS:
apt-get purge -y cups* nfs-common* samba* apache* bind9 exim* ufw* apt-listchanges speedtest-cli x11-common openbox-* omxplayer openbox libgtk2.0-common lxde-common xarchiver apache2 bind9 alsa-base alsa-utils xdg-utils wpasupplicant rpcbind opensc cups* nfs-common* samba* ntpdate libreoffice* x11-common openbox-* omxplayer openbox libgtk2.0-common lxde-common xarchiver apache2 bind9 alsa-base xdg-utils ispell* aspell-en blt console-setup consolekit cups-bsd cups-common dbus-x11 desktop-base dictionaries-common dillo fontconfig fontconfig-config fonts-droid galculator gconf2 gconf2-common gdb gksu gnome-themes-standard gsfonts gsfonts-x11 icelib idle idle-python2.7 idle-python3.2 idle3 leafpad lesstif2 libarchive12 libaspell15 libatasmart4 libavcodec53 libbluetooth3 libbluray1 libboost-iostreams1.46.1 libboost-iostreams1.48.0 libboost-iostreams1.49.0 libboost-iostreams1.50.0 libcairo-gobject2 libcairo2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libcolord1 libcroco3 libcups2 libcupsimage2 libcurl3 libdirac-encoder0 libdirectfb-1.2-9 libexif12 libflac8 libfltk1.3 libfm-gtk-bin libfm-gtk1 libfm1 libfontconfig1 libfontenc1 libfreetype6 libgail-3-0 libgail18 libgconf-2-4 libgd2-xpm libgdk-pixbuf2.0-0 libgdu0 libgeoclue0 libgfortran3 libgif4 libgksu2-0 libgl1-mesa-glx libglade2-0 libglapi-mesa libgnome-keyring0 libgphoto2-2 libgphoto2-port0 libgs9 libgsm1 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2.0-0 libgtk2.0-common libgtop2-7 libhunspell-1.3-0 libice6 libid3tag0 libimlib2 libimobiledevice2 libjack-jackd2-0 libjasper1 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libjson0 liblapack3 liblcms1 liblcms2-2 liblightdm-gobject-1-0 libmad0 libmenu-cache1 libmikmod2 libmng1 libmp3lame0 libnotify4 libobrender27 libobt0 libogg0 libopenjpeg2 libpango1.0-0 libpci3 libpciaccess0 libplist1 libpng12-0 libpoppler19 libportmidi0 libpulse0 libpython2.7 libqt4-svg libqtgui4 libqtwebkit4 libraspberrypi0 librsvg2-2 librtmp0 libschroedinger-1.0-0 libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian libsgutils2-2 libsm6 libsmbclient libsmpeg0 libsndfile1 libsoup-gnome2.4-1 libsoup2.4-1 libspeex1 libthai0 libtheora0 libtiff4 libts-0.0-0 libunique-1.0-0 libusbmuxd1 libvorbisenc2 libvorbisfile3 libvpx1 libvte9 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwebp2 libwebrtc-audio-processing-0 libwnck22 libx11-6 libx11-xcb1 libx264-123 libxau6 libxaw7 libxcb-glx0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-util0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxkbfile1 libxklavier16 libxml2 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxres1 libxslt1.1 libxss1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1 libxxf86vm1 lightdm lightdm-gtk-greeter lxappearance lxde-common lxde-icon-theme lxmenu-data lxpolkit lxrandr lxtask lxterminal menu-xdg midori netsurf-gtk obconf omxplayer openbox pciutils pcmanfm policykit-1 poppler-data pulseaudio python-support python3 python3.2 python3.2-minimal scratch shared-mime-info squeak-vm rc tasksel rc tcl8.5 tsconf udisks wpagui x11-common x11-utils xarchiver xfonts-utils xinit xpdf xserver-xorg xserver-xorg-core fuse gettext-base gnome-accessibility-themes gnome-themes-standard-data libasprintf0c2 libasyncns0 libaudit0 libavutil51 libcaca0 libfftw3-3 libfile-copy-recursive-perl libfm-data libfuse2 libgs9-common libijs-0.35 libjbig2dec0 libmtdev1 libpaper-utils libpaper1 libqt4-dbus libqt4-network libqt4-xml libqtdbus4 libspeexdsp1 libsystemd-daemon0 libva1 libvte-common libwebkitgtk-3.0-common libwnck-common qdbus rtkit update-inetd zenity-common debian-reference-common debian-reference-en && apt-get autoremove -y@tomle bluetooth? And why not python3?
I have a whole bunch of VMs I set up using cloud-init. I use the latest image from https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.raw
With Debian 11, I used to use 3GB disk for most of my VMs, which was roughly 1GB for the install image, 1GB for swap, 1GB for data. Things have got a bit tighter with Debian 12 as the base install is a bit over 1GB, so I mostly use a 5GB partition now.
If the images your provider gives you has too much stuff by default, you can always remove the packages you don't want and and then use
apt-get autoremoveto get rid of dependencies that are no longer needed.Another thing you should definitely do is edit
/etc/systemd/journald.confand put some sort of limit in there, personally I likeSystemMaxUse=100Mand then restartsystemd-journald. Log files can grow pretty quickly - I quite myself running out of disk space on smaller VMs because the journal has grown to 2GB or something crazy.Thanks for a good topic and the solutions offered!
Another potential solution is to run Alpine Linux on your VPS and then the disk usage is really small.
You need to be familiar with the Debian installation process to use this image.After you complete the minimal installation, it usually takes up less than 1G of hard disk space.
https://mirrors.edge.kernel.org/debian/dists/stable/main/installer-amd64/current/images/netboot/mini.iso
Tried this to install debian 12, really nice. Like 660 MB disk usage with no swap.