LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
 
Search this Thread
Old 11-19-2012, 05:43 PM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,694

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Debian installer error: no suitable kernel


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?
 
Old 11-19-2012, 07:06 PM   #2
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,104

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
1 members found this post helpful.
Old 10-06-2014, 02:04 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,694

Original Poster
Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Back again

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.
 
Old 10-07-2014, 01:28 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,694

Original Poster
Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by odiseo77 View Post
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.

Last edited by EDDY1; 10-07-2014 at 01:31 AM.
 
Old 10-07-2014, 11:11 AM   #5
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.1
Posts: 1,104

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Good to know it worked (even after two years ).

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.
 
Old 10-07-2014, 01:13 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,694

Original Poster
Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Quote:
Originally Posted by odiseo77 View Post
Good to know it worked (even after two years ).

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error msg while compiling kernel 'grubby fatal error no suitable templates found' suj Linux - Server 1 08-12-2010 09:33 PM
Net install issue. Error with Debian-installer on Compaq CQ61 AceOfSpade Debian 3 07-23-2010 01:37 PM
after installer install no Debian kernel to boot in GRUB st1cky_rice Debian 4 01-16-2006 03:42 PM
debian installer wont let me choose kernel AM1SHFURN1TURE Linux - Software 2 07-18-2005 07:09 PM
Kernel panic booting Debian installer from CD on Alpha skylark Debian 5 09-19-2003 10:37 AM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration