LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-27-2004, 01:56 PM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Problem installing Gentoo 2004.3


I thought this was the best place for this thread, seeing as it's distro specific (and there isn't a Gentoo forum).

Ok, I thought I'd give Gentoo a try seeing as I've used a few other distributions. I followed through the stuff in the handbook and haven't had any major problems until now. I decided to use genkernel to configure the kernel, cos I wasn't sure about doing it manually. When I issued 'genkernel all', I got an error message: ERROR: Error: no kernel .config specified, or file not found!"

Has anyone got any ideas about what I can do now?

Thanks.

Last edited by Nylex; 12-29-2004 at 08:29 AM.
 
Old 12-27-2004, 02:30 PM   #2
uman
Member
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
Try doing it by hand, it's not all that hard once you get the hang of it, although it is time=consuming. Gentoo is worth the hassle in the installation process, trust me. It is the best linux distro there is.
 
Old 12-27-2004, 02:35 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by uman
Try doing it by hand, it's not all that hard once you get the hang of it, although it is time=consuming. Gentoo is worth the hassle in the installation process, trust me. It is the best linux distro there is.
Ok, I'll give that a go .
 
Old 12-27-2004, 02:41 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Hi again, I'm having problems getting started with doing it by hand. When I try to change directory to /usr/src/linux, I get an error saying that that folder doesn't exist. There is a file in /usr/src called linux, but I can't determine whether or not it's a folder :/.
 
Old 12-27-2004, 02:46 PM   #5
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
Did you remember to download the latest kernel before you even tried to build it???

emerge gentoo-dev-sources

And by the way, there is a great Gentoo forums. Go to the main page and on your left, there is a link to the forum so I don't know what you are talking about...

y2k
 
Old 12-27-2004, 02:53 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by y2k
Did you remember to download the latest kernel before you even tried to build it???

emerge gentoo-dev-sources

And by the way, there is a great Gentoo forums. Go to the main page and on your left, there is a link to the forum so I don't know what you are talking about...

y2k
I did emerge gentoo-sources.

Err, I meant there's no LQ Gentoo forum, at least I can't see one. I know about the Gentoo forum on gentoo.org
 
Old 12-27-2004, 08:16 PM   #7
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
If you did run "emerge gentoo-sources" and there was no /usr/src/linux (should be pointing to a kernel...), there is some serious problem with your machine!!! Try running it again and see if there is an error message or not!

y2k
 
Old 12-27-2004, 10:43 PM   #8
colnago
Member
 
Registered: Nov 2003
Location: Canada
Distribution: ArchLinux
Posts: 324

Rep: Reputation: 30
Try starting with vidalinux, navynos or even jollix and then build from there. The new 1.1 vidalinux is really nice. You can have a gnome desktop on gentoo in 20 minutes rather than 2 days. Xfce2 is really fast to build.

http://desktop.vidalinux.com
http://www.edworak.os1.kappa.pl/inde...avynos&lang=en
http://www.jollix.de/en/en_home.html
 
Old 12-28-2004, 12:37 AM   #9
kleer
LQ Newbie
 
Registered: Dec 2004
Location: wisconsin, us
Distribution: Slackware Linux 10.0
Posts: 21

Rep: Reputation: 15
uman of ac2?
 
Old 12-28-2004, 03:07 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally posted by y2k
If you did run "emerge gentoo-sources" and there was no /usr/src/linux (should be pointing to a kernel...), there is some serious problem with your machine!!! Try running it again and see if there is an error message or not!

y2k
I did "emerge gentoo-sources" again and eventually sorted it so there was a link. I then ran genkernel and it finished with the error "couldn't mount initrd filesystem!". Also, seeing as I had to turn my machine off last night, is there anyway I can continue my installation or do I have to start from scratch?
 
Old 12-28-2004, 11:39 AM   #11
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
No need to start it all over again unless you want to. Boot your system up with the LiveCD and mount your HD. Change chroot and continue where you left off.

y2k
 
Old 12-28-2004, 02:58 PM   #12
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Cool, thanks.
 
Old 12-28-2004, 03:39 PM   #13
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
At what point did the genkernel build fail?
The initrd is done last, which means the kernel & modules have been completed, just need installing..
And actually, the initrd isn't required for a normal ide drive, unless you boot from network, pcmcia, usb, scsi or anything else..

If you want to start again though, it's probably easier to just start genkernel with the --no-mrproper option..
This stops it cleaning out the already done work ...
Do man genkernel or genkernel --help for possible options..

genkernel doesn't configure the kernel, it just builds it from a known .config file.
You still have to reconfigure manually, using the --menuconfig or --gconfig options

You can adjust default genkernel settings in /etc/genkernel.conf
 
Old 12-29-2004, 02:24 AM   #14
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Well, this is the end of the output from genkernel:

--
5336+0 records out
ext2fs_check_if_mount: No such file or directory while determining whether /var/tmp/genkernel/initrd-2.4.26-gentoo-r14 is mounted.
/usr/bin/genkernel: line 13: mount: command not found
* Gentoo Linux Genkernel; Version 3.1.0c

* ERROR: Could not mount the initrd filesystem!

Commands seem to be missing from /mnt/gentoo/bin (not just mount. umount isn't there, nor ping but I'm not sure what else).

Ah ok, thanks for the genkernel options. I've been told to unpack the stage2 tarball and start from there again.

Cheers.
 
Old 12-29-2004, 08:36 AM   #15
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
I eventually got genkernel to work, after copying mount and umount to /mnt/gentoo/bin from /bin. However, I'm still having problems, this time with "emerge coldplug". When it tries to build sys-devel/bc-1.06-r5, it complains about missing makeinfo, automake and aclocal. Grr!
 
  


Reply



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
Gentoo and genkernel Blankwire Linux - Distributions 7 02-09-2005 05:24 PM
gentoo stage 3 genkernel claudius753 Linux - General 5 01-16-2005 05:23 PM
GRUB + Gentoo + Genkernel = bad? schpanky Linux - General 1 11-10-2004 10:02 AM
Installing Gentoo 2004 from scratch, have some questions Meistro666 Linux - Software 4 04-14-2004 11:06 AM
Gentoo: Genkernel, Nvidia in installation ar1 Linux - Newbie 3 11-30-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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