Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/guides/kernel.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ If your distro is not one of the distros with documentation on this Wiki, you ma

- Arch based systems: `sudo pacman --needed -S bc kmod libelf pahole cpio perl tar xz git`
- Debian based systems: `sudo apt install autoconf bc bison build-essential cpio curl debhelper dkms dwarves fakeroot flex gawk git kernel-wedge libcap-dev libelf-dev libiberty-dev libncurses-dev libpci-dev libssl-dev libudev-dev openssl python3 rsync wget xz-utils zstd`
- Fedora based systems: run `sudo dnf builddep kernel`
- For other distros you will need the equivalent of these, but if you miss something you'll most likely get an error saying what's missing, and you can then install it and re-run `make` to continue where you left off.

- You will need about 20GB of disk space to compile the kernel. If you have a large amount of RAM, you could use tmpfs to store build files in RAM.
Expand Down Expand Up @@ -49,7 +50,7 @@ Extract the current kernel configuration:
zcat /proc/config.gz > .config
```

2. For **Debian and Ubuntu**, run:
2. For **Fedora, Debian and Ubuntu**, run:

```bash
cp /boot/config-$(uname -r) ./.config
Expand Down Expand Up @@ -93,7 +94,7 @@ Look at the output from `sudo make install`. If it mentioned creating an initram

### Initramfs/Initrd

Next we must create an initramfs/initrd (Initial RAM Filesystem / Initial RAM Disk). As mentioned in the previous step, this may have been automatically done for you.
Next we must create an initramfs/initrd (Initial RAM Filesystem / Initial RAM Disk). On Fedora, Ubuntu and Debian, this is done automatically when `make install` calls `installkernel`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think saying "when make install is run" is sufficient since mentioning installkernel will most likely just confuse people. Many people just blindly keep running commands enclosed in ``.


For most arch based systems:

Expand Down
Loading