Note that there are some explanatory texts on larger screens.

plurals
  1. POBooting a newly compiled linux kernel
    text
    copied!<p>I have started reading the book Essential Linux Device Drivers. I am following the process for compiling and booting into a new kernel. However I am unable to boot into the newly compiled kernel - I select the new kernel in grub and then ..nothing...the screen just stays the same.</p> <p>Here are the steps I am taking, as described in the book (I am using kernel 2.6.24 as that is what the book is based on) -</p> <ul> <li>cd /usr/src/linux-2.6.24 (the base dir of the kernel I downloaded)</li> <li>make clean </li> <li>cp arch/x86/configs/i386_defconfig .config </li> <li>make bzImage cp arch/x86/boot/bzImage /boot/vmlinuz</li> </ul> <p>The book says that 'you might need to alert your bootloader about the arrival of the new boot image. If you are using the GRUB bootloader, it figures this out automatically'.</p> <p>Well it didn't figure it out automatically in my case as there was no option to select this kernel in GRUB. So I did it manually by typing update-grub in the terminal. And this didn't work either. However once I changed the filename from vmlinuz to vmlinuz-2.6.24 and type update-grub it picked it up. So on page 11 of the book there seems to already be multiple things left out...</p> <p>The book says to then reboot the machine.</p> <p>Anyway, I am now able to select this kernel in GRUB but as I said above it doeesn't boot properly, the screen just goes blank and never changes. So am I missing something? I have followed the instructions in the book exactly.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload