It was a happy moment when my own Linux Kernel booted successfully and that too in the very first attempt!! Well, here are the steps that I followed:
(Note: The host machine was Fedora 25)
(Note: The host machine was Fedora 25)
- Download the latest stable Linux Kernel from https://www.kernel.org
I got linux-4.9.11.tar.xz - Then extract the file using
$ tar xf linux-4.9.11.tar.xz
- Then go to the extracted directory
$ cd linux-4.9.11
- Install the dependencies
$ sudo dnf install ncurses-devel $ sudo dnf install elfutils-devel
- Configure the kernel
$ make menuconfig
I just made one change the first time. I added NTFS support to my Linux kernel - Build the kernel and the modules
$ make $ make modules
- Install the modules
$ sudo make modules_install install
- Update grub2
$ grub2-mkconfig -o /boot/grub2/grub.cfg
- Reboot the machine
- Check which kernel is running
$ uname -r 4.9.11
And that is how things worked out wonderfully!
No comments:
Post a Comment