LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Determining Which Modules are needed for boot if all modules are built-in? (https://www.linuxquestions.org/questions/linux-general-1/determining-which-modules-are-needed-for-boot-if-all-modules-are-built-in-565320/)

LinuxGeek 06-29-2007 04:17 AM

Determining Which Modules are needed for boot if all modules are built-in?
 
Hi,
I was cloning a linux installation from one machine to another. However, after successfully cloning it, I came to try to boot the new clone and ran into pivot_root errors. So I'm using a live cd to chroot to the installation and regenerate the initrd image. Unfortunately, it doesn't seem to detect the necessary drivers needed. Furthermore, my live cd (RIPLinux) detected everything perfectly but I can't tell which modules it uses because all modules are built into the kernel. Is there any way to find out which modules are being used if all modules are built-in? Thanks for your help.

Agrouf 06-29-2007 05:20 AM

The config file in /boot maybe?
"it doesn't seem to detect the necessary drivers needed"
To mount root fs?
The first question is : what is your root fs and on which kind on hard drive is it installed (USB, IDE, SATA, SCSI, RAID, LVM...?)
If you are not sure what fs your root is, try letting the mount command guess it and watch the result.

b0uncer 06-29-2007 05:21 AM

I'm not exactly sure if that's possible, easily at least, but have you looked into /proc already? There's /proc/modules but to me it sounds there's nothing "built-in" information..well, check it out. I don't have a Linux around now so can't try it for you.

LinuxGeek 06-29-2007 09:57 AM

Thanks for your input. It's not really a question of what the root filesystem type is (it's ext3 so I know I need the ext3 and jbd module). It's more of what type of SATA driver is it. Also, cat /proc/modules is empty. I also looked around under /proc and didn't find much.

Agrouf 06-29-2007 10:25 AM

what does lspci report?


All times are GMT -5. The time now is 12:52 AM.