From 695f4b06ba3d07cbcdcd931eeeb812bf5580a5c4 Mon Sep 17 00:00:00 2001 From: Luis Marsano Date: Tue, 20 Dec 2022 02:39:23 -0500 Subject: [PATCH] add setup instructions for ubuntu initramfs --- initramfs/readme.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/initramfs/readme.md b/initramfs/readme.md index cefe56c..3147d28 100644 --- a/initramfs/readme.md +++ b/initramfs/readme.md @@ -39,6 +39,18 @@ You notice that the name of the `hook` must match the name of the 2 installed fi Re-generate your initramfs `mkinitcpio -P` (option -P means, all preset present in `/etc/mkinitcpio.d`) +#### Ubuntu +1. Install initramfs scripts. + + ``` shell + sudo ./initramfs/ubuntu/setup + ``` +2. Re-generate initramfs. + + ``` shell + sudo update-initramfs -u + ``` + #### Other distribution Refer to your distribution's documentation or contribute to this project to add a paragraph.