Hello all.
I have compiled kernels in the past, but not recently as it was easier to just download the newest ones off the repo.
So the first thing that I did was followed Debains guide to compile and install the Linux Kernel. I'll post the link in case you want to follow along. I am following an old guide but it should not matter right?
https://www.debian.org/releases/whee...h08s06.html.en
I went to kernel.org and downloaded kernel 4.0.9.
Then I downloaded libncurses5-dev, fakeroot, and kernel-package.
I extracted the kernel in my downloads folder went in side of it and issued make menuconfig switched on what I wanted on and switched off what I wanted off. I did not go to deep into customizing it, as it was raining really bad outside and I did not want the power to go out and ruin my work,
I then issued the command:
fakeroot make-kpkg --initrd --revision=2 kernel_image
Then after that finished I ran dpkg -i /home/old/Downloads/linux-image-4.0.9_2_i386.deb
and make modules_install. I do not think that was neccesary but I did it anyway. I also issued update-initramfs -u -k all and after that sudo update-grub.
I rebooted the machine and started to boot into the new kernel, but I got this message:
ALERT! /dev/disk/by-uiid/b222a279-3970-41d1-a631-df58a2b3fe94 does not exist. Dropping to shell
I read somewhere that setting a delay fixed this sort of problem for them so I set the delay to 40 seconds.
Instead of getting
ALERT! /dev/disk/by-uiid/b222a279-3970-41d1-a631-df58a2b3fe94 does not exist. Dropping to shell
I instead got ALERT! /dev/sda1 not found. Dropping to shell.
I have tried looking all over to see how to fix this error but can not find anything.
Here is my custom kernels .config
http://pastebin.com/egB8hJx8
Here is my fstab
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=b222a279-3970-41d1-a631-df58a2b3fe94 / xfs defaults 0 1
# /home was on /dev/sda8 during installation
UUID=81bfdf70-fb95-4bbb-9310-e2e4e71228a7 /home xfs defaults 0 2
# /tmp was on /dev/sda7 during installation
UUID=efcccc2b-8dd4-427e-80ab-98d0a479bd0e /tmp xfs defaults 0 2
# /var was on /dev/sda5 during installation
UUID=88317a2e-154f-4bd2-bc0b-a23ec7e94910 /var xfs defaults 0 2
# swap was on /dev/sda6 during installation
UUID=6b20ccda-4cd7-4ebb-abac-6b0c3114450b none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
Here is lsmod from a working kernel ( kernel 3.16 )
http://pastebin.com/U8tUPAuV
Here is my grub.cfg
http://pastebin.com/8iM4y6gE
If there is anything else you need do not hesitate to ask.
My motherboard is a ASUS P4SD-LA its really old, but still fast.
Thank you!