Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: nick65go on August 19, 2022, 07:03:26 AM

Title: does PXE booting need /linuxrc in tc13?
Post by: nick65go on August 19, 2022, 07:03:26 AM
When PXE booting a "modern" kernel, like 5.15+, does the kernel always use file /init (file)? Or does it still needs / asks for /linuxrc file?
I mean if /linuxrc (file or link) is missing, is /init file sufficient for all the cases?
I learnt that /linuxrc was used for RAM-disk booting (like PXE also), but our tc is initFS booting (not ram disk blocks, but tempFS 4K cache).
I try to understand why we have /linuxrc link to /bin/busybox in kernel ver 5.15.
Title: Re: does PXE booting need /linuxrc in tc13?
Post by: curaga on August 19, 2022, 10:45:29 AM
It's just a remainder symlink, not used in initramfs, and could be deleted.
Title: Re: does PXE booting need /linuxrc in tc13?
Post by: patrikg on August 19, 2022, 12:29:35 PM
You can enjoy watching Rob Landley taking about the naming, and so on regarding your question.

Here the link:

https://www.youtube.com/watch?v=Sk9TatW9ino