WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: does PXE booting need /linuxrc in tc13?  (Read 399 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 606
does PXE booting need /linuxrc in tc13?
« on: August 19, 2022, 04: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.
« Last Edit: August 19, 2022, 04:15:26 AM by nick65go »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10695
Re: does PXE booting need /linuxrc in tc13?
« Reply #1 on: August 19, 2022, 07:45:29 AM »
It's just a remainder symlink, not used in initramfs, and could be deleted.
The only barriers that can stop you are the ones you create yourself.

Offline patrikg

  • Sr. Member
  • ****
  • Posts: 468
Re: does PXE booting need /linuxrc in tc13?
« Reply #2 on: August 19, 2022, 09:29:35 AM »
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