S
S
speedvm2019-02-01 09:20:51
Debian
speedvm, 2019-02-01 09:20:51

How to cut debian down to impossibility?

Good day!
There are a couple of dozen hardware terminals for connecting to the server via RDP, on which the firmware has flown. Hardware characteristics of the terminals: 500 MB disk space, 1 GB RAM. I want to use debian + xserver + rdesktop/xfreerdp for replacement.
The problem is that all this does not fit into 500 MB (and it is not necessary, in fact). What packages can be removed from debian to use for my needs, naturally without disrupting the functioning of the system itself?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
1
1001001, 2019-02-01
@1001001

If you have such a question, it will be difficult for you to make something working from debian.
Take a ready made solution like thinstation.github.io/thinstation

R
Radjah, 2019-02-01
@Radjah

With the help of debootstrap, make a minimal system, make a chroot into it and install and configure the necessary packages (kernel, x, bootloader). Wrap the resulting archive and deploy it on the terminals with the installation of the bootloader.
In principle, you can set up one, save the disk to an image, and then write with dd to others.

debootstrap stretch deb-test
du -hs deb-test
269M    deb-test

https://pastebin.com/raw/FCGLZc84
You can even cut it so that the core and Xs fit, and at the end push everything into squashfs.

D
Dmitry Ershov, 2019-02-06
@ErDmitry

I would not take a steam bath, but I would put WTware running on PXE and I tried 64 megabytes of RAM, that's enough).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question