Linux - DistributionsThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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?
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.
* 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.
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.
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.
# 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)
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.