I'm trying to compile and install my own Kernel. Right now the issue is that after installing and trying to boot into the Kernel, I'm stuck on the "Loading init ramdisk" message.
My steps are following:
- Download the Kernel from https://kernel.org (4.13.2)
- Extract the tar.xz package and modify the source (I needed to add one line into intel-lpss-pci.c module).
- Open Terminal
- terminal -> cd [the extracted folder path]
- terminal -> make oldconfig, just clicking Enter until it's done
- terminal -> make menuconfig, exit (and save if I get that prompt). I don't do any changes cause I don't think I should fiddle with them if I don't know what I'm doing
- terminal -> make -j 4
- terminal -> make modules -j4
- terminal -> depmod -a
- terminal -> sudo make modules_install
- terminal -> sudo make install
- terminal -> cd to /boot/
- terminal -> sudo mkinitramfs -ko initrd.img-4.13.2 4.13.2
- terminal -> sudo update-grub
- reboot and try to launch the Kernel.
I got through the "Loading init ramdisk" message once, but after that I just had a blinking textcursor for a while and then message the following message:
"Gave up waiting for root device. Common problems: — Boot args (cat /proc/cmdline) — Check rootdelay= (did the system wait long enough?) — Check root= (did the system wait for the right device?) — Missing modules (cat /proc/modules; ls /dev) ALERT! UUID=26c82e2e-e58e-4559-be76-fe281b33476e does not exist. Dropping to a shell!
BusyBox v.1.22.1 (Ubuntu 1:1.22.0-1ubuntu1) built-in shell (ash)
Enter 'help' for list of built-in commands."
What am I doing wrong, which of the steps am I doing wrong?
make install
.