WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline nick65go

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: does PXE booting need /linuxrc in tc13?
« Reply #1 on: August 19, 2022, 10: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

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: does PXE booting need /linuxrc in tc13?
« Reply #2 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