LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-29-2007, 04:17 AM   #1
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
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.
 
Old 06-29-2007, 05:20 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
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.
 
Old 06-29-2007, 05:21 AM   #3
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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.
 
Old 06-29-2007, 09:57 AM   #4
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
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.
 
Old 06-29-2007, 10:25 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
what does lspci report?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using modules.conf to start modules at boot knobby67 Debian 1 05-31-2006 11:54 AM
Determining which X Modules being used (not loaded) 3saul Linux - Software 4 12-21-2005 07:55 AM
loadable modules vs built-in modules nuzzy Linux - Hardware 1 07-21-2003 04:16 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration