[SOLVED] Debian installer error: no suitable kernel
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just installed Debian Wheezy, but during base-system install when it came to choose kernel, it just said no suitable kernel found.
I guess I need to chroot into system & install, is there any documentation available for accomplishing?
Or is it possible to install my 2.6.32 kernel so as to boot & compile a kernel?
It's strange that the installation program didn't find a kernel, did you check the iso images and the installation media? As for chrooting and installing the kernel, I guess it should not be difficult, in case it's the only thing missing. Assuming your Debian root partition is /dev/sda1, you can try this from a live environment or other Linux install on the same computer:
Code:
mkdir /mnt/debian
mount /dev/sda1 /mnt/debian
mount -t proc none /mnt/debian/proc
mount -o bind /dev /mnt/debian/dev
chroot /mnt/debian /bin/bash
apt-get update
apt-get install linux-image-2.6-your_preferred_architecture
While on the chrooted environment, you probably have to update grub's configuration in order to add the newly installed kernel (in case grub is installed):
I'm in the middle of yet another testing version & get the infamous no suitable kernel found. Do you want to continue?
Well this time I chose to continue so I can learn something new.
I'm continuing without bootloader & going to use my usb install of debian jessie ti do the repairs. The new i.stall that I'm going to be working on is on internal hdd.
It's strange that the installation program didn't find a kernel, did you check the iso images and the installation media? As for chrooting and installing the kernel, I guess it should not be difficult, in case it's the only thing missing. Assuming your Debian root partition is /dev/sda1, you can try this from a live environment or other Linux install on the same computer:
Code:
mkdir /mnt/debian
mount /dev/sda1 /mnt/debian
mount -t proc none /mnt/debian/proc
mount -o bind /dev /mnt/debian/dev
chroot /mnt/debian /bin/bash
apt-get update
apt-get install linux-image-2.6-your_preferred_architecture
While on the chrooted environment, you probably have to update grub's configuration in order to add the newly installed kernel (in case grub is installed):
Code:
update-grub
Hope it works.
I should have tried your commands way back when you posted them, the only thing that was missing was the commands to mount the other partitions & to copy /etc/resolv.conf from live to the chrooted system.
I tried to do it from my debian install on usb but it failed me because it was the wrong architecture, so I downloaded debian-live 64-bit, loaded it to usb, chrooted & installed kernel & grub.
BTW, if I recall correctly a while ago you had to install the 64 bit compatibility libraries on the 32 bit host system to be able to chroot a 64 bit system. I'm not sure about now though, since I stopped using 32 bit some time ago.
BTW, if I recall correctly a while ago you had to install the 64 bit compatibility libraries on the 32 bit host system to be able to chroot a 64 bit system. I'm not sure about now though, since I stopped using 32 bit some time ago.
I thought about doing that, but decided to check out live-cd. I may try it just to see if it works, if it doesn't, I may add a 64-bit system to the usb drive & get rid of the xp system that started this journey into linux. The drive is 160Gigs so there will be plenty of room for storage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.