Skip to content
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

Open
josuedhg opened this issue Dec 4, 2018 · 3 comments
Open

An smaller and simple initrd #2

josuedhg opened this issue Dec 4, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@josuedhg
Copy link

josuedhg commented Dec 4, 2018

instead load systemd and all its stuffs clear could have a custom init process, just doing the needed things to mount root

@josuedhg josuedhg added the enhancement New feature or request label Dec 4, 2018
@itsManjeet
Copy link

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.
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).

@fenrus75
Copy link

fenrus75 commented Nov 9, 2020 via email

@itsManjeet
Copy link

itsManjeet commented Nov 9, 2020

XD ohk, and ya kernel is on efi partition, so no issue with encrypted partitions.
great move !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants