-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An smaller and simple initrd #2
Comments
I guess too late but is this enhancement still required ? |
we default to no initrd basically so that is small by design ;)
…On Mon, Nov 9, 2020 at 4:26 AM Manjeet Saini ***@***.***> wrote:
I guess too late but is this enhancement still required ?
I read the kernel configurations of clear linux and i guess most of the
required modules are already inbuilt inside the kernel and their is no need
of including any other kernel modules or udev components inside the initrd,
(except while booting into live system from iso, where isofs, overlay
sr_mod etc. modules might need to be included)
and i guess udev (or systemd-udevd) is not required in this cause too. as
no extra modules are added in initrd
I had written a tool that generate a minimal initrd this one
<https://github.com/rlxos/rlx-init>.
this might not directly work on clear linux (surely not, i have done some
patches to make it work). It generates cpio compressed initrd image of size
4.8 MiB, (can use busybox or toybox to decrease size).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJ54FLVFEJ6IEA2RBJB5J3SO7NYFANCNFSM4GIGTH5Q>
.
|
XD ohk, and ya kernel is on efi partition, so no issue with encrypted partitions. |
instead load systemd and all its stuffs clear could have a custom init process, just doing the needed things to mount root
The text was updated successfully, but these errors were encountered: