[solved] load driver modules from inside a %pre script

Paul Thomas <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CA449FFB.4986%[email protected]>
On 12/07/2011 20:39, "Paul Thomas" <[email protected]> wrote:

>
>	1. On some systems (e.g. cciss), the drive appears as sda, on others it
>gets bumped to sdb because the main disk is sda. Is there some trick to
>finding the device name for a usb stick?

I had to resort to searching the devices as described here:
http://www.oscarc.net/blog/2009/04/kickstart-installs-from-a-usb-drive/

>	2. If the user doesn't have to USB drive inserted initially, I have to
>present a warning and ask them to insert it ­ but by this time, there is
>no usb_storage driver so it doesn't appear as a drive. Modprobe does
>nothing.

I either fixed this by upgrading from EL5.4 to EL5.6, or by passing
"driverload=usb-storage" to the kernel via isolinux.cfg. Not sure which
because I made both changes at once (I suspect it was the later though).

P.




_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.