Help answer threads with 0 replies.
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 12-01-2004, 05:57 PM   #1
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, 06:01 PM   #2
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, 02:19 AM   #3
Registered: Nov 2004
Location: UK
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
The message
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.


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

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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.


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

All times are GMT -5. The time now is 07:33 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
Open Source Consulting | Domain Registration