K
K
kaN53002019-10-02 16:36:27
Debian
kaN5300, 2019-10-02 16:36:27

How to set up a server to run Debian 10 Buster diskless/PXE/nfs thin clients?

Hello colleagues! Please help me find a good guide on configuring the infrastructure to boot Debian 10 via PXE with rw root on nfs. From all that I could google, there is only this guide:
https://www.linuxquestions.org/questions/blog/isaa...
For Debian 9 and from Step 4 there are questions. It is supposed to clone the root of the host into the nfs directory. But I have a desktop with Xubuntu 18.04 and with a bunch of additional settings. From this moment begins the discrepancy with the guide. I took the debootstrap wiki https://wiki.debian.org/en/Debootstrap and expanded it like this:

main # debootstrap stable /nfsd/client1 http://deb.debian.org/debian/

I have nothing in /nfsd/client1/boot. initramfs, as I understand it, is done on the basis of the kernel running on the host (which does not correspond to what comes from the Debian 10 box. Even if I generate initrd.pxe, then where can I get vmlinuz if debootstrap does not provide it to me? Please advise additional materials on this issue.
Note that we generated the files on the client computer. You can generate them on the server if they're running the same architecture/kernel/etc, but running it on the client generally reduces the chances of something weird happening.

How can I generate something on the client if the client is diskless by design?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kaN5300, 2019-10-03
@kaN5300

A familiar debian developer suggested this guide. Although it is old, it is adequate:
ajc.su/unix/linux-unix/bezdiskovye-rabochie-stanci...
It took off the first time.
About the boot process on the fingers was found here: https://xakep.ru/2017/10/23/linux-boot-explained/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question