From: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
To: outreachy@lists.linux.dev, Kloudifold <cloudifold.3125@gmail.com>
Cc: alison.schofield@intel.com
Subject: Re: [KERNEL NEWBIES ACESS] Kloudifold
Date: Thu, 09 Mar 2023 02:39:00 +0100 [thread overview]
Message-ID: <8190776.T7Z3S40VBb@suse> (raw)
In-Reply-To: <ZAjteyeSt2rfa+El@CloudiRingWorld>
On mercoledì 8 marzo 2023 21:18:03 CET Kloudifold wrote:
[...]
> 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.
>
I'm not sure if the solution to your problem is to install everything
manually. I have no problems getting `make modules_install install` to work
properly and find GRUB2 because openSUSE provides the "dracut" package for the
sysadmins/developers to automate the above.
It's perfectly fine to teach how to install manually, even if just for people
to learn what one needs to boot a custom kernel. But kernel developers don't
have time to manually do routine tasks that can be easily automated.
I use to compile and install the kernel image, the modules, init, System.map,
config, and grub.conf at least two or three times a day and often more times
(you'll understand when you find yourself doing a bisect with git-bisect and
maybe you have to compile and install a dozen times in a row in one day).
In my opinion you need to make sure you understand and explain how to install
"dracut" if your distro provides it. Otherwise, search and read the
documentation of your distribution and try to figure out how to make the `make
modules_install install` command to work properly in your system...
suse:~ # zypper info dracut
Loading repository data...
Reading installed packages...
Information for package dracut:
-------------------------------
Repository : Main Repository (OSS)
Name : dracut
Version : 059+suse.366.gf45bc67a-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.9 MiB
Installed : Yes (automatically)
Status : up-to-date
Source package : dracut-059+suse.366.gf45bc67a-1.1.src
Upstream URL : https://github.com/dracutdevs/dracut/wiki
Summary : Event driven initramfs infrastructure
Description :
Dracut contains tools to create a bootable initramfs for Linux kernels >=
2.6.
Dracut contains various modules which are driven by the event-based udev
and systemd. Having root on MD, DM, LVM2, LUKS is supported as well as
NFS, iSCSI, NBD, FCoE.
[...]
Thanks,
Fabio
next prev parent reply other threads:[~2023-03-09 1:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 20:18 [KERNEL NEWBIES ACESS] Kloudifold Kloudifold
2023-03-09 0:12 ` Alison Schofield
2023-03-09 1:39 ` Fabio M. De Francesco [this message]
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=8190776.T7Z3S40VBb@suse \
--to=fmdefrancesco@gmail.com \
--cc=alison.schofield@intel.com \
--cc=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.