View previous topic :: View next topic |
Author |
Message |
carpenter n00b

Joined: 30 Apr 2008 Posts: 19
|
Posted: Mon Oct 13, 2008 2:10 pm Post subject: no kernel ".config file" |
|
|
My problem starts with using the live cd to install (never again).
When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal.
Login, startx and recieve the " unable to open /dev/agpart" no such file or directory.
modprobe intel_agp, I can startx with the xterm, emerged firefox, works fine.
modprobe -l, shows modules loaded for a 2.6.24-gentoo-r5 kernel
ls /boot, kernel-genkernel-x86-2.6.24-gentoo-r5
readlink /usr/src/linux, 2.6.25-gentoo-r8
If I open /sys/kernel/config, the folder is empty.
I have had the agpart issue since install, I edited the make.conf file and ran emerge --update --deep --newuse world. Explains the new kernel.
With my limited knowledge, I have spent several hours to get this far and ran across this link https://forums.gentoo.org/viewtopic-t-595526.html but ran into a roadblock as I cant find the .config file to copy. Not sure if I am on the right track. |
|
Back to top |
|
 |
oliver Apprentice


Joined: 25 Jun 2003 Posts: 170
|
Posted: Mon Oct 13, 2008 2:40 pm Post subject: |
|
|
gzcat /proc/config > /usr/src/linux/.config
Then "make menuconfig" should pick up the contents if you want to compile your own kernel |
|
Back to top |
|
 |
carpenter n00b

Joined: 30 Apr 2008 Posts: 19
|
Posted: Mon Oct 13, 2008 2:50 pm Post subject: Yes |
|
|
Dumb question is: can I still use menuconfig to compile my own kernel after using genkernel to install? (live cd) I am reading the handbook now and not finding the answer. Suppose I could try and find out. Seems I read somewhere That I could not. |
|
Back to top |
|
 |
oliver Apprentice


Joined: 25 Jun 2003 Posts: 170
|
Posted: Mon Oct 13, 2008 3:08 pm Post subject: |
|
|
yes you can... as long as you're clear on the entries in /boot/grub/menu.lst and compile in the correct options it should all work. Just don't delete the genkernel created stuff until its tested |
|
Back to top |
|
 |
coolsnowmen Veteran


Joined: 30 Jun 2004 Posts: 1479 Location: No.VA
|
Posted: Mon Oct 13, 2008 3:08 pm Post subject: |
|
|
There is no reason why you can't compile and use a dozen different kernels by hand, genkernel, and varying sources. Especially if they use different /lib/modules/ directories. _________________ emerge: there are no ebuilds to satisfy "moo" |
|
Back to top |
|
 |
carpenter n00b

Joined: 30 Apr 2008 Posts: 19
|
Posted: Mon Oct 13, 2008 3:49 pm Post subject: Thanks for replys |
|
|
Is compiling now, learned my lesson on the live cd, it would have been faster to use the min. install.
The grub menu.list works, but needs some attention. The xorg.conf had no screens or video cards. Make.conf had no use flags, I'm still learning which ones I want and which ones I need, I did ad symlink before compiling new kernel, and seems obvious I had some kernel issues.
I vote no on the live cd.
Thanks again, |
|
Back to top |
|
 |
jburns Veteran

Joined: 18 Jan 2007 Posts: 1231 Location: Massachusetts USA
|
Posted: Tue Oct 14, 2008 2:25 am Post subject: |
|
|
carpenter wrote: | Dumb question is: can I still use menuconfig to compile my own kernel after using genkernel to install? (live cd) I am reading the handbook now and not finding the answer. Suppose I could try and find out. Seems I read somewhere That I could not. |
You can use the --menuconfig option with the genkernel command. If you are using gnome you can use --gconfig instead of --menuconfig. Do a man genkernel to see the available options. |
|
Back to top |
|
 |
oliver Apprentice


Joined: 25 Jun 2003 Posts: 170
|
Posted: Tue Oct 14, 2008 1:34 pm Post subject: |
|
|
oliver wrote: | gzcat /proc/config > /usr/src/linux/.config
Then "make menuconfig" should pick up the contents if you want to compile your own kernel |
in reading that back, I may have written the wrong thing... "make oldconfig" should pick up the .config file and then "make menuconfig" lets you modify it from there.
Sorry |
|
Back to top |
|
 |
carpenter n00b

Joined: 30 Apr 2008 Posts: 19
|
Posted: Thu Oct 16, 2008 1:18 am Post subject: Solved |
|
|
It took some effort, seems to run pretty sweet right now. Turns out I do have a video card problem which probably caused some weird issues during install. |
|
Back to top |
|
 |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5956
|
Posted: Thu Oct 16, 2008 1:26 am Post subject: |
|
|
Quote: | When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal. |
re-emerge grub or remove the splashimage line. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
 |
oliver Apprentice


Joined: 25 Jun 2003 Posts: 170
|
Posted: Thu Oct 16, 2008 1:19 pm Post subject: |
|
|
bunder wrote: | Quote: | When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal. |
re-emerge grub or remove the splashimage line. |
I'd bet money on the second option... I had the exact same issue last time I installed |
|
Back to top |
|
 |
carpenter n00b

Joined: 30 Apr 2008 Posts: 19
|
Posted: Fri Oct 17, 2008 2:59 am Post subject: You won |
|
|
I commented out the splash image and cured that problem. Got a few other problems I am working through, I am learning...slowly. |
|
Back to top |
|
 |
|