LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2006, 09:59 AM   #1
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Unhappy Installing Gentoo - A By-the-book Failure


I'm trying to install Gentoo 2006.0 from the Minimal Install disc (ie. the one without a graphical interface), and I've failed miserably.

I've even followed the Quick Installation Guide to a "T". I'm by no means the village idiot when it comes to Unices (especially Linucies), on the same hand, I'm by no means a guru (that's what my dad is for - Bell systems administrator).

I poured through the Gentoo 2006.0 Handbook, and dismissed it because it seemed to focus on the graphical installer, rather than the more pleasantly archaic text-based installation of the Minimal Install CD.

So, Minimal Install CD and x86 Quick Install Guide by my side, I attempted the first run of installing Gentoo; failed.

I tried a couple more times, failing each time. So, I decided to try the graphical installer, which proved to be even less fruitful. At home, I have an ADSL through PPPoE connection. The graphical installer doesn't support PPPoE connections. Now, I could do the "networkless install", but then I would be stuck without networking; seeing as I would need networking to emerge rp-pppoe - which isn't included on the LiveCD.

So, I tried once more with the text-based install - which has ADSL through PPPoE support - and again failed.

Where do I keep failing? It's not as though I'm mis-reading the same instruction again and again, I just don't think the instruction in the x86 Quick Install Guide does on other systems as they would like it to do. I'm almost certain, that the problem - for me - is originating at the kernel building section.

To make the kernel, the Guide says to issue:
Code:
# make -j2; make modules_install
and it seems to do what it's supposed to: take care of the dependencies, compile the modules, and all that other good stuff.

The next step specifies to copy the brand-spankin'-new bzImage from /usr/src/linux/arch/i386/boot/ to the /boot directory on a separate partition.

I do so, and add the kernel to GRUB's menu.lst, and do the whole GRUB-updatey-thing (ps. I have Mandriva 2006 as my default install).

*BAM* Kernel panic.

I suppose this means I need an initrd of some sort, but where is it?

I'm just so incredibly lost at this point. By the next step, I'm supposed to have this beautiful Gentoo installation purring, but so far, it seems to be snorting like a warthog in heat (ie. not good).

Any help with this would be greatly appreciated.
 
Old 08-21-2006, 10:22 AM   #2
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
Theres no way the guide says
Quote:
To make the kernel, the Guide says to issue:
Code:
# make -j2; make modules_install
and it seems to do what it's supposed to: take care of the dependencies, compile the modules, and all that other good stuff.
Its
Code:
make && make modules_install
 
Old 08-21-2006, 11:21 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
The x86 Quick Install Guide never tells you to issue make and make install as a compound command, let alone what you tried. This is what it says,
Code:
linux # time make -j2

(Elapsed time depends highly on the options you selected)
real  3m51.962s
user  3m27.060s
sys   0m24.310s

linux # make modules_install
Don't use the Gentoo 2006.0 Handbook since you have an ADSL connection. The Gentoo website has this to say about the 2006.0 Handbook.
Quote:
Welcome to the Gentoo Linux 2006.0 Handbooks. These handbooks ... contain the necessary installation instructions to install Gentoo Linux 2006.0 without an internet connection.
Use the Gentoo Handbook (no 2006.0) for your architecture. These are not focused on the graphical installer. The only place the Handbook even mentions the graphical installer is in one paragraph describing the Gentoo Installation CD (which also has the console based installer). The rest of the instructions assume a console-based installation.

An initrd is not required if you follow the instructions in the Gentoo Handbook.
 
Old 08-21-2006, 11:39 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Thanks for the reply guys, and I'm sorry if I offended anyone with this thread - it wasn't intentional.

As for issuing "make -j2; make modules_install" I know it's not printed as so in the Quick Install Guide, but I just didn't see a problem with chaining the two commands together.

And as for the kernel panic/initrd issue, what I'm going on about is that I've followed the Quick Install Guide (not the x86 Handbook, mind you), and there isn't anything I've left out - and from what I understood, it was a guide to get a stage3 Gentoo install up and running, quickly. And I would assume that they would supply the necessary commands to make everything work.

As I'm posting this, I'm printing off the Gentoo Linux x86 Handbook as well as the Gentoo Linux 2006.0 x86 Handbook. We'll see how this goes, I guess.
 
Old 08-21-2006, 03:24 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by indienick
I just didn't see a problem with chaining the two commands together.
But && and ; are not the same. The && won't execute the second command unless the first exits successfully. The ; will execute the second command regardless of the exit status of the first. Try both with a command you know won't work (like cp foo bar) as the first and a good command second (like ls -l), you'll see the difference.

Are you sure make exited without error?

The Gentoo config, unless you deviate from the Handbook, will build a kernel that doesn't require an intrid.

Last edited by weibullguy; 08-21-2006 at 03:26 PM.
 
Old 08-21-2006, 05:13 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Gentoo has the best doco around.
And the (original style) handbook is part of that - don't try and use the quick guide until you've "been there, done that".

Personally I think the graphical installer was a mistake.
 
Old 08-21-2006, 05:15 PM   #7
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
I'm absolutely positive the kernel compilation is exiting without an error.

The first 2 or 3 times I tried to install Gentoo, I issued each command on its own - no command chaining, whatsoever - and I made sure everything went ok; I didn't get a single make:error message of any sort.
 
Old 08-21-2006, 05:40 PM   #8
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
Thanks for the reply syg00.
 
Old 08-24-2006, 04:46 AM   #9
tp11235
Member
 
Registered: Feb 2005
Posts: 106
Blog Entries: 1

Rep: Reputation: 15
The handbook does work - but...

I am nearing the end of a very smooth install of Gentoo.

I also dumped the graphical LiveCD - but my problem was that it would not drive my old Voodoo3 card correctly and I thought my poor old monitor was going to blow up.

I switched to the minimal install CD and never looked back. I used the handbook here: http://www.gentoo.org/doc/en/handboo...x86.xml?part=0

I also got the sense it was meant for the graphical install - I don't know how it does this, but I agree with you. In fact it is not. It comprises a set of explanations and "Code Listings". The "Code Listing" sections are the heart of it and they are for the command line in the minimal install environment.

I know it is irritating to be told - "it worked for me"!! but my advice is to go back and follow the instructions exactly - it is pretty quick.

I used the manual kernel configuration because I am fairly familiar with it - did you do this or use Genkernel?

I also got some problems related to my old SuSE install and booting, which may be relevant to you given your existing Mandriva. I used an old W98 boot disk (sorry!)with FDISK to zap the partitions on the drive and really start from scratch. It should be possible to use FDISK from a linux startup disk to do the same. In fact the install CD allows you to clear partitions and that is probably the same thing in the end.

Also, to put my oar in: Code Listing 14 does say
"make && make modules_install"

There is a fairly rambling account of my install on my blog if want to look.

Cheers

Tim.
 
Old 08-24-2006, 11:22 AM   #10
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Original Poster
Rep: Reputation: 65
thanks for the reply, tp11235.
someone who understands where I'm coming from.

I made the kernel by hand. I got pretty familiar with making kernels a couple on months ago - I was working on installing ALSA (as the ALSA that ships with Mandriva 2006 doesn't include the drivers for my sound card). I decided just to make my own BASH script to do it all for me.

As for using a linux bootdisk (w/ fdisk) to format a drive - of course it should work...I don't see why it wouldn't. Personally, I just use the Mandriva install disk to re-partition my drives because it has a nice little feature (the SuSE installer might do it too - I'm not sure) where if you extend the size of a partition, it re-arranges any existing data on the partitions for you, so you don't lose any data.

And thanks man, I'll definitely check out your blog.
 
  


Reply

Tags
documentation, gentoo, install


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
Ndiswrapper failure in gentoo mclinkor Linux - Wireless Networking 8 12-20-2005 08:41 AM
How do I start installing stage 3 of gentoo from universal gentoo 2005-1? kazuya1977 Linux - General 1 11-11-2005 10:30 AM
Gentoo Emerge Failure, Now HDD is Full ! tionik06 Linux - Software 2 07-08-2005 08:33 PM
gentoo emerge failure MadnessASAP Linux - Software 3 05-06-2005 05:28 PM
dhcp failure, eth0 gets no ip address on gentoo livecd boot behind hub Kethinov Linux - Networking 1 01-22-2004 01:17 PM

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

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