[Spacewalk-list] Injecting Kernel module into kickstart?

Lachlan Musicman datakid at gmail.com
Thu Mar 17 22:01:12 UTC 2016


Thanks Robert.

What we did eventually:

 - unpacked both distro-trees/<name>/images/pxeboot/initrd.img and
distro-trees/<name>/squashfs.img and added the already compiled for kernel
snic.ko into their respective /lib/modules/<$(uname -r)/extra/ folders

 - discovered that the dd= option in the kernel wasn't working because our
driver disk was an img instead of an iso. We had an iso to start with, but
when that didn't work I changed it to an img. Turns out that wasn't working
bc the file was badly corrupted in the first place. Rebuilding was
sufficient.

Both systems worked, but we have since replaced the initrd.img and
squashfs.img with the originals, since dd is now working - thanks.

Cheers
L.

------
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 17 March 2016 at 16:39, Robert Paschedag <robert.paschedag at web.de> wrote:

> Hi,
>
> I would just take the exact kernel version of the "installer" kernel and
> compile the Cisco module on another server (maybe virtualbox) for that
> kernel. Then modify the "installer" initrd.
>
> Unpack, put module in modules path (/lib/modules/...), run depmod on that
> path and repack the initrd.
>
> Regards
> Robert
> Am 16.03.2016 03:41 schrieb Lachlan Musicman <datakid at gmail.com>:
> >
> > Hola,
> >
> > I can't get Kickstart to install on my server(s).
> >
> > I've successfully kickstarted an OS in virtualbox on my laptop, so I
> know that everything else is working.
> >
> > The problem is that the servers need a specific driver (snic - a Cisco
> storage driver) to see their storage.
> >
> > How can I get the snic driver into the iso created when I run:
> >
> > $ cobbler buildiso
> >
> > I don't want it stand alone - I still want it to be a net install. But
> to recognise the hard ware on which the OS should be installed, the new
> driver needs to be in the kernel on the cobbler generated.iso...
> >
> > Any ideas?
> >
> > cheers
> > L.
> >
> >
> >
> >
> >
> > ------
> > The most dangerous phrase in the language is, "We've always done it this
> way."
> >
> > - Grace Hopper
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160318/84abb4d3/attachment.htm>


More information about the Spacewalk-list mailing list