custom initrd to mount an overlayfs #3345
Replies: 2 comments 1 reply
-
I don't think the Instead I would suggest looking at various Linux distributions (especially ArchLinux) on how they handle this use-case. Because the early Linux init, and especially the handling of |
Beta Was this translation helpful? Give feedback.
-
As @cipriancraciun mentioned, it does not look a question for firecracker but linux administration. But we have a script to generate a rootfs we're using in tests here. @k-e-r-n-e-l-p-a-n-i-c seems to have already found valuable information, closing this discussion. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I intend to use a writable squashfs filesystem as rootfs for my microvm.
To do so I have a custom initrd archive with an init script that does the following:
The above script works fine and I am able to mount the squashfs with a writable layer over it. However, I would like to understand if this is a recommended process or am I doing it incorrectly? Please share your opinions/guidance.
Regards,
Arun Prasad
Beta Was this translation helpful? Give feedback.
All reactions