LinuxQuestions.org
Review your favorite Linux distribution.
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 12-01-2004, 06:57 PM   #1
bluedevlx
Member
 
Registered: Oct 2004
Posts: 52

Rep: Reputation: 15
/usr/src/linux All I have after all this is -total -0


Following all the directions i've done the emerge system and that took forever. then setting the timezone and then emerging genkernel and then I check that folder and there is no symlink.

If this isn't pointing to your kernel source Change the kernel source symlink
rm /usr/src/linux && ln -s /usr/src/linux-2.6-gentoo /usr/src/linux

I am lost from here: emerge gentoo-sources



When you take a look in /usr/src you should see a symlink called linux pointing to your kernel source. We will assume the kernel source installed is gentoo-sources-2.4.26-r6:

Code Listing 3: Viewing the kernel source symlink

# ls -l /usr/src/linux
lrwxrwxrwx 1 root root 12 Oct 13 11:04 /usr/src/linux -> linux-2.4.26-gentoo-r6



If this isn't the case (i.e. the symlink points to a different kernel source) change the symlink before you continue:

Code Listing 4: Changing the kernel source symlink

# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.4.26-gentoo-r6 linux
===========================

is i686-pc-linux-gnu my kernel? and I see this file in the /usr
and I symlinked it.

If that was a wrong step just disregard.
I now emerged genkernel.
Then when I tried genkernel all
I get a freaking error stating that kernel .config file is not found or whatever..
 
Old 12-01-2004, 07:01 PM   #2
bluedevlx
Member
 
Registered: Oct 2004
Posts: 52

Original Poster
Rep: Reputation: 15
Failed to mount /dev/BOOT

But they say to mount every partition.
I've done mount /dev/hda6 /boot like when I first created the partitions and now it's saying failed to mount.....
 
Old 12-02-2004, 03:19 AM   #3
shmonkey
Member
 
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
The message
Quote:
Failed to mount /dev/BOOT
suggests that you messed up your /etc/fstab file.

/dev/BOOT is the defult is should be replaced with something like /dev/hda1.

If you did etc-update after you emerged the system and then automatically updated the config files, this could have overwritten your fstab file.

Regards

Shmonkey
 
Old 12-02-2004, 09:11 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
run "emerge gentoo-sources"

then, if /usr/src/linux does NOT exist, create it: "ln -s /usr/src/linux-gentoo-24.26 /usr/src/linux" for example - not real direcotry name!

then genkernel should fire fine.
 
  


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
/usr/src/linux millennia DamnSmallLinux 6 07-24-2004 02:48 PM
where is /usr/src/linux matt_w_lambert Mandriva 5 12-26-2003 01:29 AM
/usr/src/linux player_dos Linux - Newbie 2 07-20-2003 11:49 PM
/usr/src/linux ?? Ekpyrotic Linux - Newbie 6 07-16-2003 11:14 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM

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

All times are GMT -5. The time now is 10:57 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