LinuxQuestions.org
Visit Jeremy's Blog.
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 09-05-2003, 02:58 AM   #1
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Rep: Reputation: 15
Gentoo install question?


When I started to compile the kernel with genkernel it made it all the way through successfully but at one point I got amessage of:

Copying System.map to /boot/System.map-2.4.20-gentoo-r5.......
mv: cannot stat `/boot/System.map': No such file or directory

Is this anything to be worried about?? Thanks..

One other question is the two things that it says when its done compiling at the bottom of the screen.

Please specify /boot/kernel-2.4.20-gentoo-r5 and /boot/initrd-2.4.20-gentoo-rs when customizing your boot loader configuration files.

So my question is that I've configured the kernel using genkernel and have configured Grub and grub.conf like so:


<grub utility>
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
*****************
<grub.conf>
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


title=My Gentoo Linux (compiled by genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV

This is my question. Does the above look configured correctly and are the "grub.conf (kernel and initrd lines)" suppose to look like this:

"kernel (hd0,0)/boot/kernel-/boot/kernel-2.4.20-gentoo-r5 root=/dev/hda3 vga=795"

"initrd (hd0,0)/boot/initrd-/boot/initrd-2.4.20-gentoo-r5

How are these lines suppose to look very specifically from:

kernel (hd0,0)/boot/kernel- <from this point here...on>

Oh ya..

The install guide says:

Using framebuffer

People who have selected framebuffer in their kernel should add vga=xxx to their bootloader configuration file.


How do I know if this has been selected. Where do I look? Remember I'm a noob so please put the kids gloves on.. I'm not stupid just a new to linux somewhat.

Thanks.
 
Old 09-05-2003, 04:00 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the genkernel lines need changing, as the genkernel procedure clearly states.... "/boot/kernel-2.4.20-gentoo-r5" should be used. assuming that you do NOT have a /boot partition and your main partition is hda1 then it will be "kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r5" and similar for the initrd

All that below is completely wrong, where did you get that from?.. the installation guide is pretty straight forward....

as for the framebuffer..... you've already written example on the screen for vga=795.... that's where you look...
 
Old 09-05-2003, 04:26 AM   #3
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Thanks for the reply,

Ok, first my HD is setup like this:

Primary-hda1 is the BOOT +64M
Primary-hda2 is SWAP +512M
Primary-hda3 is ROOT + the rest of the 20gig drive...

You said:
the genkernel lines need changing, as the genkernel procedure clearly states.... "/boot/kernel-2.4.20-gentoo-r5" should be used. assuming that you do NOT have a /boot partition and your main partition is hda1 then it will be "kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r5" and similar for the initrd

My response:
What do you mean genkernel lines? Do you mean the lines in grub.conf? Or the lines that I posted?

If your talking about the lines that I posted then this is what I'm confused about.

My confusion comes from the fact that I thought that you had to literally add that whole line in the grub.conf file.

Is says:
Please specify /boot/kernel-2.4.20-gentoo-r5 and /boot/initrd-2.4.20-gentoo-rs when customizing your boot loader configuration files.
Not..When you got configure Grub and add these respective lines to chop off the leading "/boot/kernel-" portions

I am following the directions from what I can tell. Pretty easy to missinterpret if your new to this though. Do you see what I mean.

So from the info that I have provided in this post to include my fdisk partition scheme is the following correct considering that I used genkernel to compile gentoo?


<grub utility>
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
*****************
<grub.conf>
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=My Gentoo Linux (compiled by genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r5 root=/dev/hda3 vga=795
initrd (hd0,0)/boot/initrd-2.4.20-gentoo-r5
 
Old 09-05-2003, 05:31 AM   #4
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
25: Installation Complete??

Quote:
Warning: etc-update can provide you with a list of configuration files that have newer versions at your disposal. Verify that none of the configuration files have a big impact (such as /etc/fstab, /etc/make.conf, /etc/rc.conf, ...). Merge the files that don't have such a big impact, remove the updates of the others or view the diff and manually update the configuration file.
I don't understand the above what so ever
Can anyone tell me what I actually need to do here in noobian terms

Quote:
Code listing 26.1: Rebooting the System

# etc-update
# exit
(This exits the chrooted shell; you can also type ^D)
# cd /
# umount /mnt/gentoo/boot
# umount /mnt/gentoo/proc
# umount /mnt/gentoo
# reboot
(Don't forget to remove the bootable CD)
That parts pretty straight forward :wink:

Quote:
Note: After rebooting, it is a good idea to run the update-modules command to create the /etc/modules.conf file. Instead of modifying this file directly, you should generally make changes to the files in /etc/modules.d.
Uhhhhh.. Huh... huhhh... Again this is greek to me. I'm not sure what I need to do exactly.

Thanks, ops:
 
Old 09-05-2003, 06:13 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
from genkernel output
Quote:
* Please specify /boot/kernel-2.4.20-gentoo-r5 and /boot/initrd-2.4.20-gentoo-r5
* when customizing your boot loader configuration files.
from the default grub.conf
Code:
# If you're using genkernel, use something like this instead:
title=My example Gentoo Linux (genkernel)
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV
from the installation guide...
Quote:
Warning: Substitute KV with the kernel version you have installed.
it's all there....

so for you, you DO have a boot partition, hda1, so tht's (hd0,0):

kernel (hd0,0)/kernel-2.4.20-gentoo-r5

and so on.... re read the section about device naming for grub in the guide to really undersatnd what this represents

Last edited by acid_kewpie; 09-05-2003 at 06:14 AM.
 
Old 09-05-2003, 06:19 AM   #6
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
etc-update:

when you type that command it checks you configuration files and in case that you installed a newer version of an app you can either stick with the old configuration file or use the new one.It shows you the difference between the new and old file and than you can decide if you want to keep the old one (you might want to do that with stuff like xfree and alsa) or the new file.
Looks like this:
bash-2.05b# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/init.d/alsasound
/etc/init.d/._cfg0000_alsasound
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'): 1

Then it goes like that:
Beginning of differences between /etc/init.d/alsasound and /etc/init.d/._cfg0000_alsasound
--- /etc/init.d/alsasound 2003-08-08 17:43:01.000000000 -0300
+++ /etc/init.d/._cfg0000_alsasound 2003-09-04 17:21:24.000000000 -0300
@@ -1,11 +1,11 @@
#!/sbin/runscript
-# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.1 2003/08/05 21:07:55 johnm Exp $
+# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsasound,v 1.11 2003/03/05 00:22:55 agenkin Exp $
and so on...
In the end you can decide what to do:
End of differences between /etc/init.d/alsasound and /etc/init.d/._cfg0000_alsasound
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
Please select from the menu above (-1 to ignore this update):

Just check whats different;lines that strt with a - will be gone lines that start with a + will be new.

/etc/modules.d are configuration files for the kernel modules looks like that (for nvidia graphics)
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
#
# To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1

There might be some options you want or not depending on your hardware.

And yes - it's all geek to me ,too.
 
Old 09-05-2003, 06:59 AM   #7
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Thanks for that detailed reply Crashmeister. This has helped me learn by example..Perfect man.

Acid_Kewpie,

I guess I wasn't communicating with you correctly initially. I've read the docs, specifically about grub. The only thing that was really confusing me what when I went to go replace "kv" did the whole line in grub.conf that the genkernel generated...thats all.

All in all you straightened me out.. Appreciate it.
 
Old 09-05-2003, 07:19 AM   #8
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Ok....so now what the heck is going on.

# etc-update
This runs fine. Nothing to update.

# exit
This is fine..
(This exits the chrooted shell; you can also type ^D)

# cd /
was already there.

# umount /mnt/gentoo/boot
Worked fine..

# umount /mnt/gentoo/proc
Worked fine...

# umount /mnt/gentoo
unmount: /mnt/gentoo: device is busy. So I wait for 10 minutes. Come back and get the same thing, over and over.

What do I need to do here..? Any suggestions Shoot to Kill

The other strange thing is I cannot eject the dam CD. The eject button doesn't frigging respond.

My hole experience with Linux in general has always been able to get to the very end and thats usually when things crap out...
# reboot
(Don't forget to remove the bootable CD)
 
Old 09-05-2003, 07:27 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you can try an "fuser /mnt/gentoo".... but if it's all installed, just reboot if you want.
 
Old 09-05-2003, 07:36 AM   #10
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Ya,

But why the hell woudl the cd not respond to pushing the eject button?

This is twice now that I've come all the way to almost installation. Its the dam Gentoo tease... I know I can eject the cd with a paper clip. Is there anything that I can do from the command line?

Thanks,
 
Old 09-05-2003, 07:45 AM   #11
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Don't worry about the stinkin CD just reboot the thing and take the cd out.
 
Old 09-05-2003, 08:13 AM   #12
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Gottcha,

I didn't realize it still needed the cd for the reboot command. Once I did that it shut everything down and I was able to eject the cd and got my login prompt after it booted Gentoo from the HD.

Thanks for all the help and patients everyone.

 
Old 09-05-2003, 08:32 AM   #13
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You don't need it to reboot but its nothing to worry about - used to get those things stuck after installation all the time in the old days until I rebooted.

If you want to worry:Try to reboot and see what happens then

Last edited by crashmeister; 09-05-2003 at 08:33 AM.
 
Old 09-05-2003, 09:06 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the CD won't eject as it is still mounted....
 
Old 09-05-2003, 09:37 AM   #15
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Original Poster
Rep: Reputation: 15
Total Noobness.

Again, thanks for all your help everyone. I can't believe how much I've learned in 2 days. And I did an easy install of Gentoo...Scarry...
 
  


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
Dual G5 PowerPC: Install Gentoo/Gentoo on OSX? MadSkillzMan General 9 06-29-2005 02:17 PM
Gentoo Stage 1 install No Net question ChronusDark Linux - General 7 03-06-2005 05:57 PM
Gentoo install question nickbird Linux - General 2 02-01-2005 10:14 PM
gentoo question dukeinlondon Linux - Distributions 2 08-17-2004 07:38 AM
gentoo file manager install issues (not Gentoo) windeath Fedora 2 03-01-2004 07:17 PM

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

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