LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-22-2011, 05:29 AM   #1
Blasphemous
Member
 
Registered: Nov 2011
Distribution: Debian testing XFCE
Posts: 50

Rep: Reputation: Disabled
Unhappy Install a kernel from command line


During Debian Testing 64 installation, it said
Quote:
no kernel in apt sources,continue anyway? It is possibie to install the kernel later (for expert users)
(or something similar)

I chose to continue, the installation went fine, but now I've got an OS with no kernel inside.

I can use a shell with the "rescue mode" in Debian CD in order to install it, but I don't know how to do it (I'd like the 3.1 version) from command line!

Any idea?
 
Old 11-22-2011, 05:36 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Can you boot the system? If you can boot the system it means that the kernel has been installed.
I guess what was meant by that was that no kernel SOURCES were installed. The sources are used to compile all sorts of stuff. Ordinary users might not need them. You can always install the sources later on.
 
Old 11-22-2011, 05:41 AM   #3
Blasphemous
Member
 
Registered: Nov 2011
Distribution: Debian testing XFCE
Posts: 50

Original Poster
Rep: Reputation: Disabled
I can't boot the system.
At first I thought it was a grub error, so I restore grub from a live CD, but when I update grub with
Quote:
update-grub
It did not find any kernel to boot, so it is a kernel problem.

Actually, when I boot the PC i get "Grub minimal line" (something similar) with only a boot> option
 
Old 11-23-2011, 04:57 AM   #4
Blasphemous
Member
 
Registered: Nov 2011
Distribution: Debian testing XFCE
Posts: 50

Original Poster
Rep: Reputation: Disabled
bump
 
Old 11-23-2011, 05:20 AM   #5
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
This should pretty much get you started..

http://www.linuxquestions.org/questi...9/#post4530614
 
Old 11-23-2011, 05:30 AM   #6
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
You will need a Debian live cd then with chroot you can install the missing kernel,
check this link out: http://www.linuxfromscratch.org/lfs/...06/chroot.html
it doesn't mean you will do things exactly as you see there but will give you some ideas.

Regards
 
Old 11-23-2011, 06:05 AM   #7
Blasphemous
Member
 
Registered: Nov 2011
Distribution: Debian testing XFCE
Posts: 50

Original Poster
Rep: Reputation: Disabled
Solved with chroot using Debian live,
thanks!
 
  


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
how do I edit my kernel command line? newbiesforever MEPIS 12 02-12-2008 01:51 PM
Installation Kernel Command Line? Cottsay Linux - Software 3 09-06-2006 12:13 AM
Installed 2.6.10 kernel on 10.1 and now I can't see command line... cereal83 Slackware 9 02-08-2005 12:31 PM
My new kernel is only command line!! craigs1987 Linux - Software 2 12-24-2004 12:42 PM
Command Line Kernel and Nvidia Driver Install mandrakerookie Mandriva 11 12-23-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 AM.

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