Mailinglist Archive: opensuse (3419 mails)

< Previous Next >
[opensuse] Creating a custom LiveCD / auto discover and load modules
  • From: Kevin Adler <zeke@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 9 Apr 2007 18:34:04 -0500
  • Message-id: <200704091834.04694.zeke@xxxxxxxxxxxxxxxxx>
I'm trying to create my own live cd and in the process learn more about how 
linux works. I started out by modifying my initrd from my laptop and things 
were working nicely until I tried to test it on my desktop. Unfortunately, I 
could not detect any of the hard drives on my desktop machine because none of 
the correct modules were loaded. So I kompared the two init scripts from my 
laptop and desktop initrd and it seems they are tailored to each system. In 
order to boot on other sorts of hardware I need a more generalized form. I 
decided to try and see how the initrd works from the installation disk, but 
that runs the linuxrc program. Although this method does determine all the 
correct modules to load, it is written in C, isn't commented very well, and 
includes everything needed to get the installer going, which is way more than 
I need and more than I care to wade through. I think there must be something 
simpler. 

So what I'm looking for is a way to discover which modules a system needs to 
load and then load them. It seems like it should be somewhat simple to do 
once I get over the initial hurdle. 

Any hints or pointers to other resources would be helpful. I've found quite a 
lot already, but I just can't seem to figure out this one particular.
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups