Mirror/Posts/StackExchange/Unix/2022-08-22/Linux A
Jump to navigation
Jump to search
- Site: StackExchange
- Section: Unix & Linux
- Post title: What are the absolute minimal requirements to boot a linux system
- URL: https://unix.stackexchange.com/questions/86479/what-are-the-absolute-minimal-requirements-to-boot-a-linux-system
- Post archive link: https://web.archive.org/web/https://unix.stackexchange.com/questions/86479/what-are-the-absolute-minimal-requirements-to-boot-a-linux-system
- Comment permalink: https://unix.stackexchange.com/questions/86479/what-are-the-absolute-minimal-requirements-to-boot-a-linux-system#comment1353701_86484
- Comment archive link: https://web.archive.org/web/https://unix.stackexchange.com/questions/86479/what-are-the-absolute-minimal-requirements-to-boot-a-linux-system#comment1353701_86484
Comment text, raw:
As of 2022, if no user command was specified in the boot options _(`init=…`)_, the following are tried, in order: `/sbin/init`, `/etc/init`, `/bin/init`, `/bin/sh`. _(Note: the function is now `kernel_init()` instead of `init_post()`)_ Finally, from the [linked code](https://github.com/torvalds/linux/blob/master/init/main.c): “See Linux Documentation/admin-guide/init.rst”