View previous topic :: View next topic |
Author |
Message |
wicki n00b
Joined: 09 Mar 2004 Posts: 70
|
Posted: Sun Mar 14, 2004 2:56 pm Post subject: Any way to copy or view H/W detections from livecd initrd ?? |
|
|
I realize that this will probably be a "noobish" question, but...
Is there any way to view (and possibly copy over?) the settings that were automatically detected for your hardware from the livecd? I guess I'm just not adding the right kernel options or I don't have the modules that I need because when I go to boot to my kernel my video or my network aren't detected. (ATI Radeon 9700 and nForce motherboard by the way ).
Any help as to how I can look up what the livecd used so I can try to duplicate it would be great! |
|
Back to top |
|
|
wicki n00b
Joined: 09 Mar 2004 Posts: 70
|
Posted: Sun Mar 14, 2004 3:31 pm Post subject: |
|
|
OK well a slight update...
Running a less /proc/modules from the livecd root shows me that apparently it is using the modules: forcedeth, ieee1394, floppy, serial, isa-pnp, usbcore while the rest show "(unused)".
Now I know that forcedeth is the new driver that has been developed open source to replace the nvnet drivers from nvidia, and I know what everything else is for as well (the isa-pnp isn't even being used but it's "on" I guess in case I need it ). My question is, how do I copy over these modules and make them run on startup?
I read through the installation guide a couple of times (at least 4) and I don't remember seeing anything about this! |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 14, 2004 3:44 pm Post subject: |
|
|
If you use genkernel to compile your kernel, and add hotplug to your startup scripts, you should (at least in theory) have the same autodetect functionality as the LiveCD has.
That said, I still think configuring your kernel manually gives much better results, because you can pick exactly the kernel options that work best on your hardware. |
|
Back to top |
|
|
wicki n00b
Joined: 09 Mar 2004 Posts: 70
|
Posted: Sun Mar 14, 2004 3:49 pm Post subject: |
|
|
Yes I have used genkernel before and all worked decently.. but... I don't want to use it this time. Instead I'm trying to configure it manually but I'm having some problems.
So is there a standard procedure for adding modules? What all must be in place (just in case I may miss something ).
Also I ran a less on /proc/config and it seemed to show me the entire kernel config file they are using for the livecd.. looks almost like "major" things are compiled in the kernel then *everything* else is set up to use modules. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Mar 14, 2004 4:30 pm Post subject: |
|
|
wicki wrote: | What all must be in place (just in case I may miss something ). |
The important things to have compiled-in are :
The correct CPU type
Your root filesystem (reiserfs, ext3, xfs, or whatever you are using)
Drivers needed to access your harddrive (IDE, SCSI, SATA, RAID, etc.)
/dev filesystem (devfs)
Pretty much everything else is optional. I normally look at "lspci" to see what other devices I want to have supported by the kernel. You could start with the LiveCD's .config, and trim the items that you don't need. |
|
Back to top |
|
|
sergio2003 n00b
Joined: 13 Mar 2004 Posts: 17
|
Posted: Tue Mar 16, 2004 6:19 am Post subject: |
|
|
cyrillic wrote: | You could start with the LiveCD's .config, and trim the items that you don't need. |
Do you know where the .conf of LiveCD is located? Besides the /proc/config, wicki mentioned. It'll be nice to have the comments with the PARAMETERS. |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Mar 16, 2004 8:33 pm Post subject: |
|
|
If you copy /proc/config to /usr/src/linux/.config, the comments will be present in menuconfig. |
|
Back to top |
|
|
|