From: Kloudifold <cloudifold.3125@gmail.com>
To: outreachy@lists.linux.dev
Subject: [KERNEL NEWBIES ACESS] Kloudifold
Date: Thu, 9 Mar 2023 04:18:03 +0800 [thread overview]
Message-ID: <ZAjteyeSt2rfa+El@CloudiRingWorld> (raw)
Dear Outreachy team,
I am an Outreachy applicant who recently followed the tutorial for the Kernel Firstpatch on your website. During the process, I encountered a couple of issues that I believe could benefit from an update to the tutorial.
Firstly, the tutorial assumes that the .config file used to compile the distribution kernel is stored in the /boot/ directory. However, some distributions, including the one I use, do not follow this convention. Instead, the .config file is stored in the /proc/ directory as a compressed file. To address this issue, I propose updating the tutorial with the command "zcat /proc/config.gz > .config" to extract the .config file from /proc/ and use it for compiling the kernel.
Secondly, the tutorial instructs users to install the kernel using LILO as the boot manager. However, many modern distributions, including the one I use, use GRUB as the default boot manager. This results in an error when executing "sudo make modules_install install" as the system cannot find LILO. To resolve this issue, I suggest adding instructions for manually installing the kernel and initramfs and configure GRUB.
In summary, my proposed updates to the Kernel Firstpatch tutorial include:
Adding a command to extract the .config file from /proc/ using "zcat /proc/config.gz > .config"
Updating the instructions for installing the kernel and initramfs manually and configuring GRUB
I believe that these updates will improve the usability of the tutorial for users who encounter similar issues. Thank you for your consideration, and please let me know if you have any questions or concerns.
Best regards,
Kloudifold.
next reply other threads:[~2023-03-08 20:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 20:18 Kloudifold [this message]
2023-03-09 0:12 ` [KERNEL NEWBIES ACESS] Kloudifold Alison Schofield
2023-03-09 1:39 ` Fabio M. De Francesco
2023-03-09 3:19 ` Ira Weiny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZAjteyeSt2rfa+El@CloudiRingWorld \
--to=cloudifold.3125@gmail.com \
--cc=outreachy@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.