Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-27-2010, 08:52 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 13

Rep: Reputation: 0
Kernel source was not found!

Hello Everyone I am new to linux I only previously had opensuse on my laptop and never used it.I had some questions.I recently decided it was time to learn some linux and while reading found that gentoo was really good for someone who didn't mind sitting reading and putting alot of effort in and that it would help you learn more about how linux works.Well I am trying to install gentoo with a pre-existing windows 7.I have shrank my volume and gave linux 30 GB's of my 250 HD.Got pretty far in the gentoo installation my eth0 works and all.My partitioning scheme is sda1= some boot partition that was already their assumingly windows7 so I did not touch it, sda2 which is windows 7, sda3 my boot for linux, sda4 my ext partition, sda5 my swap and sda6 for linux.Now question number one, the boot partition windows had is still active and so is my sda3 do I have to deactivate windows and have only sda3 active and then let grub take over windows? That is not as important as my next question though. I got to the part where I am to configure my kernel and when i input the command ls -l /usr/cd/linux it shows the kernel. I then go to cd /usr/src/linux and it tells me it cannot find the kernel source directory. My prompt is set like this (chroot) Livecd #. So what exactly am I doing wrong? I cannot open the configuration file due to this.I also tried auto config and same issue obviously.Any help would be much appreciated!If it's important I'm using i686 stage3.
Old 03-28-2010, 12:56 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,389

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
first PLEASE use paragraphs ( or the <enter> button)

What distro are toy trying to use ??? - oops i missed it in the run on
" Well I am trying to install gentoo "
I would recommend installing Ubuntu or Mint for a new user
skipping to gentoo ???
that is like skipping "computer science 101" and taking 408 instead
you need to learn to walk before you run
Old 03-28-2010, 05:06 AM   #3
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
emerge gentoo-sources
Old 03-29-2010, 08:50 AM   #4
LQ Newbie
Registered: Jul 2008
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for your responses and sorry I'll try to type more formal! Ok I had opensuse and that worked fine but I wanted to learn more about linux and I was told to do a Gentoo install that I would learn alot more about how linux ran.Now I am glad I did this because I have already learned alot more then I originally knew, and worst case scenario I just reformat and throw windows 7 back on a clan slab.

As far as ermerging gentoo-sources I remember doing that and then emrgering a ton of other things that the guide said to.Also in the partition table how many partitions should be set as bootable? When I started only partition 1 was bootable. Partition 1 again was there from Windows.Though I am also unsure why I had two partitions. I had a brand new HD that had nothing on it until I installed Windows 7 and it created two partitions.Should I change the partition numbers around and will it matter if some linux partitions are in an extended partitions? Should linux's boot eb the only bootable in the table? I have been told that grub hands over process to windows when you choose to go to windows so would it need that partition one bootable.If I do need to change partition numbers how would I do so? Thank you again for any responses remmeber I'm learning so I'm in no hurry to get this running perfect just trying to fix problems I run into.I am going to wipe all my partitions for linux and start again and see if I didn't miss something.


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 to recompile a kernel when exact source cannot be found pcardout Linux - Software 4 09-26-2007 04:57 PM
Kernel Source not Found? prh MEPIS 4 10-01-2005 12:18 PM
Kernel Source not found Echo Kilo Linux - Software 10 12-29-2004 09:47 PM
Linux Kernel Source Tree Not found pzearfoss Linux - General 6 12-28-2004 02:16 PM
Linux kernel source not found error RH 7.2 Accelet Linux - Hardware 2 08-04-2004 02:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

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