How to reduce the size of the installation?

New to Debian (Or Linux in general)? Ask your questions here!

Re: How to reduce the size of the installation?

Postby cuckooflew » 2020-08-07 02:15

This is not really a Debian issue, so you really should be asking about this on The Alpine community https://alpinelinux.org/community/
Let me see if I understand,
---snip--it has somehow ruined the machine?!

You are blaming "it", the Alpine installer ? you are blaming it, because you did not bother to check and make sure it would fit before trying to install ? And of course it is the fault of Alpine, that you did not bother making a good back up of the original system, a back up that you could use to restore it to it's original state.
Did you bother to check the hardware requirements for Alpine, ? Which ISO did you try to install ? and How did you try installing it ?

It is a HP T510

I looked at the specs on this, and am not impressed, I don't think it is intended for any kind of normal OS, but I might be wrong,
Code: Select all

System features
 

    Operating system
        Windows Embedded Standard 7E
        Windows Embedded Standard 2009
        HP ThinPro
        HP Smart Zero Technology
        Windows Embedded CE 6.0

    Processors
        VIA Eden X2 U4200 (1 GHz, 2 cores)

    Environmental
        Low halogen

    Browser supported
        Microsoft Internet Explorer 9 (for models with Windows Embedded Standard 7)
        Microsoft Internet Explorer 8 (for models with Windows Embedded Standard 2009)
        Microsoft Internet Explorer 6 (for models with Windows Embedded CE 6.0)
        Firefox (for models with HP ThinPro and HP Smart Zero Technology)

    Maximum memory
        4 GB DDR3-1066 SDRAM

Where is the HD ? :mrgreen: could not find any specs on that... :mrgreen:
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-07 07:33

The alpine installer .iso was only 126 mb so I thought that it wouldn't be too big.

I was surprised that the system went bad afterwards, but upon further investigation and pulling the thing to bits, doing hard resets, removing the BIOS battery leaving it for several hours, and eventually found after getting various error beep codes (which was extra confusing, especially as I was getting ones which were not listed) that the vga cable had come loose on the back of the screen.

Fortunately I found a couple of USB plugs on the interior of the case, so I can use a USB flash drive permanently in there to bolster the 1GB IDE flash drive.

You are correct, it was never intended to be a stand alone computer, just to log into a server and be a terminal really, but the specs on it are pretty impressive for a dumb terminal.

I'm quite impressed with how powerful it is, especially as it was never designed to run standalone.

I didn't bother doing a backup as it never came with an OS installed on it, and I was probably going to re-install anyway.

https://www.parkytowers.me.uk/thin/hp/t510/
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby cuckooflew » 2020-08-07 18:54

I would have thought it (Alpine ) would fit as well, I tried the Debian netinstall,just the minimal base, and it won't fit on 1gb either,
Sounds like you got it working again, that is good.

so I can use a USB flash drive permanently in there to bolster the 1GB IDE flash drive.

Even better, a usb portable drive, I think will last longer
With that , it could be a good usable system.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!
cuckooflew
 
Posts: 683
Joined: 2018-05-10 19:34
Location: Some where out west

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-07 23:30

I am a little frustrated with how big it is.
The downside to the USB flash drive is that it is very slow. It took a very long time to install, even though there was nothing installed over the base system other than SSH. I didn't even install the standard system utilities.

The longevity of the USB drive is a bit of a concern as it is a budget no name one. I do have a historical 6 GB IBM Travelstar 2.5" laptop drive here, but it would be over 20 years old and is a bit noisy, so not sure how long that would last. The other downside is that there is nowhere in the box to install it, so it would have to be loose. That is if I can find the right kind of cable.

I might be better off to go back to debian 9 as at least I was able to get it onto the internal drive.

Is 32 bit smaller than 64 bit? I installed debian 10 onto the USB stick and the 64 bit version was over a gigabyte.
I don't really want to go and install it to find it is also extra big.

I tried thinning out the Debian 10 installation, but it just completely ruined it. Can't even run apt anymore.

The other option which a Linux type person in my brass band suggested would be to install an extra small distro and then just build the pihole from source code. Might work, but could end up with problems as no updates.
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby Deb-fan » 2020-08-08 12:49

You definitely get A for effort here. Not sure what or which to recommend though there's no shortage of gnu/nix to choose from. Remember there being distros which load and run from RAM, no disk even required and would surely be able to work well with 2gbs. Dont know what pi-hole is/does. Still there's something or a few something's for any usecase imaginable. :)
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 875
Joined: 2012-08-14 12:27

Re: How to reduce the size of the installation?

Postby sickpig » 2020-08-13 05:35

TygerTung wrote:I am a little frustrated with how big it is.


Just came across HypriotOS while learning something else -
"
HypriotOS developers have optimized the toolset to only require 600MB of disk space and have reduced the size of the download packages to 232MB
"
It is optimized for docker. You can use this along with docker for pi-hole. pi-hole has an official docker image.
User avatar
sickpig
 
Posts: 472
Joined: 2019-01-23 10:34

Re: How to reduce the size of the installation?

Postby brian_p » 2020-08-18 11:33

Hello Sam,

I have installed Debian and other software on HP thin clients quite a number of times. For your preliminary investigation you should first install the base system (nothing else), move to install GRUB, finish and reboot. Give us what you get for 'df -h'. A package list for the installation would be very useful.

Now install your pi-hole and DNS stuff. Make sure it is exactly what you need and all the dependencies are there. I hope X isn't involved. :) Give 'df -h' again.

Cheers,

Brian.
--
Brian.
brian_p
 
Posts: 96
Joined: 2015-11-05 10:32

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-18 23:48

OK thanks for the advice.

I've done a fresh install of Debian 9, base only. I had to install SSH-client post installation, as I need to be able to remotely log into the system from my netbook.

Upon running the
Code: Select all
df -h
command I get this:
Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
udev            938M     0  938M   0% /dev
tmpfs           190M  2.9M  187M   2% /run
/dev/sda1       945M  631M  299M  68% /
tmpfs           946M     0  946M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           946M     0  946M   0% /sys/fs/cgroup
tmpfs           190M     0  190M   0% /run/user/1000


I've cloned the hard drive on to a USB flash drive and I'm now going to try to thin it out. This way if I completely break the system, I might be able to use my copy without having to do a full re-installation.

These are the installed packages:

Code: Select all
adduser                  install
apt                  install
apt-utils               install
base-files               install
base-passwd               install
bash                  install
bsdmainutils               install
bsdutils               install
busybox                  install
console-setup               install
console-setup-linux            install
coreutils               install
cpio                  install
cron                  install
dash                  install
dbus                  install
debconf                  install
debconf-i18n               install
debian-archive-keyring            install
debianutils               install
dictionaries-common            install
diffutils               install
discover               install
discover-data               install
dmidecode               install
dmsetup                  install
dpkg                  install
e2fslibs:i386               install
e2fsprogs               install
emacsen-common               install
findutils               install
gcc-6-base:i386               install
gettext-base               install
gnupg                  install
gnupg-agent               install
gpgv                  install
grep                  install
grub-common               install
grub-pc                  install
grub-pc-bin               install
grub2-common               install
gzip                  install
hostname               install
iamerican               install
ibritish               install
ienglish-common               install
ifupdown               install
init                  install
init-system-helpers            install
initramfs-tools               install
initramfs-tools-core            install
installation-report            install
iproute2               install
iptables               install
iputils-ping               install
isc-dhcp-client               install
isc-dhcp-common               install
ispell                  install
kbd                  install
keyboard-configuration            install
klibc-utils               install
kmod                  install
krb5-locales               install
laptop-detect               install
libacl1:i386               install
libapparmor1:i386            install
libapt-inst2.0:i386            install
libapt-pkg5.0:i386            install
libassuan0:i386               install
libattr1:i386               install
libaudit-common               install
libaudit1:i386               install
libblkid1:i386               install
libbsd0:i386               install
libbz2-1.0:i386               install
libc-bin               install
libc-l10n               install
libc6:i386               install
libcap-ng0:i386               install
libcap2:i386               install
libcomerr2:i386               install
libcryptsetup4:i386            install
libdb5.3:i386               install
libdbus-1-3:i386            install
libdebconfclient0:i386            install
libdevmapper1.02.1:i386            install
libdiscover2               install
libdns-export162            install
libedit2:i386               install
libelf1:i386               install
libestr0               install
libexpat1:i386               install
libfastjson4:i386            install
libfdisk1:i386               install
libffi6:i386               install
libfreetype6:i386            install
libfuse2:i386               install
libgcc1:i386               install
libgcrypt20:i386            install
libgdbm3:i386               install
libgmp10:i386               install
libgnutls30:i386            install
libgpg-error0:i386            install
libgssapi-krb5-2:i386            install
libhogweed4:i386            install
libidn11:i386               install
libidn2-0:i386               install
libip4tc0:i386               install
libip6tc0:i386               install
libiptc0:i386               install
libisc-export160            install
libk5crypto3:i386            install
libkeyutils1:i386            install
libklibc               install
libkmod2:i386               install
libkrb5-3:i386               install
libkrb5support0:i386            install
libksba8:i386               install
liblocale-gettext-perl            install
liblogging-stdlog0:i386            install
liblognorm5:i386            install
liblz4-1:i386               install
liblzma5:i386               install
libmnl0:i386               install
libmount1:i386               install
libncurses5:i386            install
libncursesw5:i386            install
libnetfilter-conntrack3:i386         install
libnettle6:i386               install
libnewt0.52:i386            install
libnfnetlink0:i386            install
libnpth0:i386               install
libp11-kit0:i386            install
libpam-modules:i386            install
libpam-modules-bin            install
libpam-runtime               install
libpam-systemd:i386            install
libpam0g:i386               install
libpci3:i386               install
libpcre3:i386               install
libpipeline1:i386            install
libpng16-16:i386            install
libpopt0:i386               install
libprocps6:i386               install
libpsl5:i386               install
libreadline7:i386            install
libseccomp2:i386            install
libselinux1:i386            install
libsemanage-common            install
libsemanage1:i386            install
libsepol1:i386               install
libslang2:i386               install
libsmartcols1:i386            install
libsqlite3-0:i386            install
libss2:i386               install
libssl1.0.2:i386            install
libssl1.1:i386               install
libstdc++6:i386               install
libsystemd0:i386            install
libtasn1-6:i386               install
libtext-charwidth-perl            install
libtext-iconv-perl            install
libtext-wrapi18n-perl            install
libtinfo5:i386               install
libudev1:i386               install
libunistring0:i386            install
libusb-0.1-4:i386            install
libusb-1.0-0:i386            install
libustr-1.0-1:i386            install
libuuid1:i386               install
libwrap0:i386               install
libx11-6:i386               install
libx11-data               install
libxapian30:i386            install
libxau6:i386               install
libxcb1:i386               install
libxdmcp6:i386               install
libxext6:i386               install
libxmuu1:i386               install
libxtables12:i386            install
linux-base               install
linux-image-4.9.0-13-686-pae         install
linux-image-686-pae            install
locales                  install
login                  install
logrotate               install
lsb-base               install
mawk                  install
mount                  install
multiarch-support            install
nano                  install
ncurses-base               install
ncurses-bin               install
ncurses-term               install
netbase                  install
openssh-client               install
openssh-server               install
openssh-sftp-server            install
os-prober               install
passwd                  install
pciutils               install
perl-base               install
pinentry-curses               install
procps                  install
readline-common               install
rsyslog                  install
sed                  install
sensible-utils               install
systemd                  install
systemd-sysv               install
sysvinit-utils               install
tar                  install
task-english               install
tasksel                  install
tasksel-data               install
tcpd                  install
tzdata                  install
ucf                  install
udev                  install
usbutils               install
util-linux               install
util-linux-locales            install
vim-common               install
vim-tiny               install
wamerican               install
wget                  install
whiptail               install
xauth                  install
xkb-data               install
xxd                  install
zlib1g:i386               install
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-19 00:50

Hmm, using the "script" I found on the ReduceDebian page didn't work too good.
Code: Select all
# Remove non-critical packages (don't remove busybox -> don't sure if this ist still a problem on debian 7)
# ~i -> list all installed packages
# !~M -> don't list automatic installed packages
# !~prequired -> don't list packages with priority required
# !~pimportant -> don't list packages with priority important
# !~R~prequired -> don't list dependency packages of required packages
# !~R~pimportant -> don't list dependency packages of important packages
# !~R~R~prequired -> don't list dependency packages of dependency packages of required packages -.- (two levels should be enough. Have not found a recursive option)
# !~R~R~pimportant -> ... required packages
# !busybox -> don't list busybox
# !grub -> don't list grub (we need a boot manager. If LILO or something else is used change this)
# !initramfs-tools -> don't list initramfs-tools (else the kernel is gone)

apt-get purge $(aptitude search '~i!~M!~prequired!~pimportant!~R~prequired!~R~R~prequired!~R~pimportant!~R~R~pimportant!busybox!grub!initramfs-tools' | awk '{print $2}')
apt-get purge aptitude
apt-get autoremove
apt-get clean


It might have broken the system a little bit, but I think I repaired it with the
Code: Select all
 apt --fix-broken install^
command.
After running it, I had to reinstall openssh-server as it got uninstalled, and now the disk usage is even larger!

Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
udev            938M     0  938M   0% /dev
tmpfs           190M  2.9M  187M   2% /run
/dev/sda1       945M  679M  250M  74% /
tmpfs           946M     0  946M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           946M     0  946M   0% /sys/fs/cgroup
tmpfs           190M     0  190M   0% /run/user/1000


Lucky I made the clone of the disc before ruining it. I guess the best way to clone it back will be to boot off the cloned disc, use DD to copy it back over to the original disc and then change the boot order again in the BIOS.
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby brian_p » 2020-08-19 12:58

My recent experience is with Debian 10.

Code: Select all
apt show <pkg>

should be used to decide on whether a package should be purged.

/dev/sda1 945M 631M 299M 68% /
/dev/sda1 945M 679M 250M 74% /


About a 50M before and after difference. Not bad. What you want to do seems doable. But every M counts, so the initial footprint may be reduced.

Only you can judge how useful these packages are to you. Otherwise they could go. I wouldn't have (or need) them on my machines.
Code: Select all
dictionaries-common
iamerican
ibritish
ienglish-common
wamerican
ispell
task-english


Not needed on a running machine.
Code: Select all
apt-utils
dmidecode
installation-report
laptop-detect
pciutils
usbutils
wget
xauth
tasksel
tasksel-data


Not on buster, so I don't really know. I think they could be removed.
Code: Select all
emacsen-common
pinentry-curses
multiarch-support


Give the machine a fixed IP and remove these:
Code: Select all
isc-dhcp-client
isc-dhcp-server


Do you really need two editors?
Code: Select all
nano
vim-tiny
vim-common


Space hogs. Replace with dropbear
Code: Select all
openssh-client
openssh-server


Transfer files between machines? Replace with netcat-openbsd
Code: Select all
openssh-sftp-server


You need Kerberos? I wouldn't think so.
Code: Select all
krb5-locales


I'd purge these.
Code: Select all
iptables
tcpd


Do really want documentation?
Code: Select all
rm -r /usr/share/doc/


Code: Select all
apt clean

temporarily reduces disk space used until Debian is updated. Section 4.4.3 of the Release Notes is worth looking at.

BTW, I would reinstall rather than clone. You learn a lot more that way :).

Cheers,

Brian.
--
Brian.
brian_p
 
Posts: 96
Joined: 2015-11-05 10:32

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-20 00:05

OK, my clone didn't seem to want to boot so I'm re-installing. I found the expert mode which gives me a bit more control. I tried installing the base system only without installing any software, but it didn't really give me a bootable system. It only loaded into initramfs, which I couldn't really do anything with. It was using busybox I think.

I am now re-installing it, but I will go to the install software phase.

I'll install dropbear ssh and then I can login on my netbook and thin out the system a little.
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-20 00:33

OK, I found that the problem was not just installing the base system and no software, it was using LILO instead of GRUB.

I have completed the installation and installed dropbear (nice and small) and now this is my disk usage (df is much nicer with the -h argument)

Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
udev            944M     0  944M   0% /dev
tmpfs           190M  2.9M  187M   2% /run
/dev/sda1       945M  546M  384M  59% /
tmpfs           947M     0  947M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           947M     0  947M   0% /sys/fs/cgroup


I'll put my daughter down for a nap and try thinning out the system according to your instructions. Thanks.,
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-20 01:54

There is still a lot of packages installed (249.
I can't see that I would need all of them. I don't need to add any users for example, so maybe I could remove adduser? I have everything I need on the system now, so wouldn't need a great deal of utilities?

Code: Select all
adduser                  install
apt                  install
base-files               install
base-passwd               install
bash                  install
bind9-host               install
bsdmainutils               install
bsdutils               install
busybox                  install
console-setup               install
console-setup-linux            install
coreutils               install
cpio                  install
cron                  install
cryptsetup               install
cryptsetup-bin               install
curl                  install
dash                  install
debconf                  install
debconf-i18n               install
debian-archive-keyring            install
debianutils               install
dhcpcd5                  install
diffutils               install
dmsetup                  install
dns-root-data               install
dnsutils               install
dpkg                  install
dropbear               install
dropbear-bin               install
dropbear-initramfs            install
dropbear-run               install
e2fslibs:i386               install
e2fsprogs               install
findutils               install
gcc-6-base:i386               install
gettext-base               install
git                  install
git-man                  install
gnupg                  install
gnupg-agent               install
gpgv                  install
grep                  install
grub-common               install
grub-pc                  install
grub-pc-bin               install
grub2-common               install
gzip                  install
hostname               install
idn2                  install
ifupdown               install
init                  install
init-system-helpers            install
initramfs-tools               install
initramfs-tools-core            install
iproute2               install
iputils-ping               install
isc-dhcp-common               install
kbd                  install
keyboard-configuration            install
klibc-utils               install
kmod                  install
libacl1:i386               install
libapparmor1:i386            install
libapt-inst2.0:i386            install
libapt-pkg5.0:i386            install
libassuan0:i386               install
libattr1:i386               install
libaudit-common               install
libaudit1:i386               install
libbind9-140:i386            install
libblkid1:i386               install
libbsd0:i386               install
libbz2-1.0:i386               install
libc-bin               install
libc-l10n               install
libc6:i386               install
libcap-ng0:i386               install
libcap2:i386               install
libcap2-bin               install
libcomerr2:i386               install
libcryptsetup4:i386            install
libcurl3:i386               install
libcurl3-gnutls:i386            install
libdb5.3:i386               install
libdebconfclient0:i386            install
libdevmapper1.02.1:i386            install
libdns-export162            install
libdns162:i386               install
libedit2:i386               install
libelf1:i386               install
liberror-perl               install
libestr0               install
libexpat1:i386               install
libfam0:i386               install
libfastjson4:i386            install
libfdisk1:i386               install
libffi6:i386               install
libfreetype6:i386            install
libfuse2:i386               install
libgcc1:i386               install
libgcrypt20:i386            install
libgdbm3:i386               install
libgeoip1:i386               install
libgmp10:i386               install
libgnutls30:i386            install
libgpg-error0:i386            install
libgssapi-krb5-2:i386            install
libhogweed4:i386            install
libicu57:i386               install
libidn11:i386               install
libidn2-0:i386               install
libip4tc0:i386               install
libip6tc0:i386               install
libiptc0:i386               install
libisc-export160            install
libisc160:i386               install
libisccc140:i386            install
libisccfg140:i386            install
libk5crypto3:i386            install
libkeyutils1:i386            install
libklibc               install
libkmod2:i386               install
libkrb5-3:i386               install
libkrb5support0:i386            install
libksba8:i386               install
libldap-2.4-2:i386            install
libldap-common               install
liblocale-gettext-perl            install
liblogging-stdlog0:i386            install
liblognorm5:i386            install
liblwres141:i386            install
liblz4-1:i386               install
liblzma5:i386               install
libmagic-mgc               install
libmagic1:i386               install
libmnl0:i386               install
libmount1:i386               install
libncurses5:i386            install
libncursesw5:i386            install
libnetfilter-conntrack3:i386         install
libnettle6:i386               install
libnewt0.52:i386            install
libnfnetlink0:i386            install
libnghttp2-14:i386            install
libnpth0:i386               install
libp11-kit0:i386            install
libpam-modules:i386            install
libpam-modules-bin            install
libpam-runtime               install
libpam0g:i386               install
libpcre3:i386               install
libperl5.24:i386            install
libpipeline1:i386            install
libpng16-16:i386            install
libpopt0:i386               install
libprocps6:i386               install
libpsl5:i386               install
libreadline7:i386            install
librtmp1:i386               install
libsasl2-2:i386               install
libsasl2-modules-db:i386         install
libseccomp2:i386            install
libselinux1:i386            install
libsemanage-common            install
libsemanage1:i386            install
libsepol1:i386               install
libslang2:i386               install
libsmartcols1:i386            install
libsqlite3-0:i386            install
libss2:i386               install
libssh2-1:i386               install
libssl1.0.2:i386            install
libssl1.1:i386               install
libstdc++6:i386               install
libsystemd0:i386            install
libtasn1-6:i386               install
libtext-charwidth-perl            install
libtext-iconv-perl            install
libtext-wrapi18n-perl            install
libtinfo5:i386               install
libudev1:i386               install
libunistring0:i386            install
libustr-1.0-1:i386            install
libuuid1:i386               install
libxapian30:i386            install
libxml2:i386               install
libxslt1.1:i386               install
libxtables12:i386            install
lighttpd               install
linux-base               install
linux-image-4.9.0-13-686         install
locales                  install
login                  install
logrotate               install
lsb-base               install
lsof                  install
mawk                  install
mime-support               install
mount                  install
multiarch-support            install
nano                  install
ncurses-base               install
ncurses-bin               install
netbase                  install
netcat                  install
netcat-traditional            install
openssl                  install
os-prober               install
passwd                  install
perl                  install
perl-base               install
perl-modules-5.24            install
php-cgi                  install
php-common               install
php-intl               install
php-sqlite3               install
php-xml                  install
php7.0-cgi               install
php7.0-cli               install
php7.0-common               install
php7.0-intl               install
php7.0-json               install
php7.0-opcache               install
php7.0-readline               install
php7.0-sqlite3               install
php7.0-xml               install
pinentry-curses               install
procps                  install
psmisc                  install
readline-common               install
rsyslog                  install
sed                  install
sensible-utils               install
sqlite3                  install
sudo                  install
systemd                  install
systemd-sysv               install
sysvinit-utils               install
tar                  install
tzdata                  install
ucf                  install
udev                  install
unzip                  install
util-linux               install
whiptail               install
xkb-data               install
xxd                  install
zlib1g:i386               install
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-20 03:58

OK great, I got it down to 51% of the disk. Still seems big for a terminal only system but never mind.

Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
udev            944M     0  944M   0% /dev
tmpfs           190M  2.9M  187M   2% /run
/dev/sda1       945M  467M  462M  51% /
tmpfs           947M     0  947M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           947M     0  947M   0% /sys/fs/cgroup


Installing pi-hole now.... I had to leave wget and install ca-certificates, but can remove post pi-hole install.

Post install and removing those excess packages...

Code: Select all
Filesystem      Size  Used Avail Use% Mounted on
udev            944M     0  944M   0% /dev
tmpfs           190M  2.9M  187M   2% /run
/dev/sda1       945M  656M  273M  71% /
tmpfs           947M   48K  947M   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           947M     0  947M   0% /sys/fs/cgroup


71% is pretty good, that leaves 29% for data-logging and headroom.
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

Re: How to reduce the size of the installation?

Postby TygerTung » 2020-08-20 04:00

Unfortunately that quickly got used up, updating the lists on the pihole got me up to 100% disk usage which is a problem. I think I need to re-install again and work out a way to have the base system on the internal drive and then the programmes like pi-hole installed on this (slow) usb flash drive I have.
TygerTung
 
Posts: 27
Joined: 2020-08-03 17:00

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable