Ok I got it to work for my environment, but it maybe different for your
depending on your hardware. I am using IBM xSeries intel based systems
with RSA II cards in them. Also I am running Redhat AS 2.1 kernel
e.35enterprise. They have the ability to attache a remote floppy for boot
via usb port, but the disk shows up as a /dev/sd<x> device. Here is what I
had to do to get it to work.
Install the source sysimager tarball.
edit the /usr/src/redhat/SOURCES/systemimager-3.0.1/Makefile to have the
destdir = {some temp dir} In my case I made it /usr/src/redhat/BUILD.
edit the
/usr/src/redhat/SOURCES/systemimager-3.0.1/patches/linux.i386.config file
to compile in the following kernel options.
# Input Core Support
CONFIG_INPUT=y (changed from m)
CONFIG_INPUT_KEYBDEV=y (changed from m)
# SCSI Support
CONFIG_SCSI=y (changed from m)
CONFIG_SCSI_MULTI_LUN=y (previously not enabled)
CONFIG_SCSI_IPS=y (changed from m)
# USB Support
CONFIG_USB=y (changed from m)
CONFIG_USB_LONG_TIMEOUT=y (previously not enabled)
CONFIG_USB_OHCI=y (chaned from m) *** This really is hardware
dependant ***
CONFIG_USB_STORAGE=y (previously not enabled)
CONFIG_USB_HID=y (chaned from m)
CONFIG_USB_HIDINPUT=y (previously not enabled)
CONFIG_USB_HIDDEV=y (previously not enabled)
CONFIG_USB_KBD=y (previously not enabled)
CONFIG_USB_MOUSE=y (previously not enabled)
Note: Most of these changes other that CONFIG_USB, and
CONFIG_USB_STORAGE may not apply to different hardware platforms. I
happen to have a running system with a RSA II card and was able to
determine what modules were used when I mounted up a remote floppy.
edit the
/usr/src/redhat/SOURCES/systemimager-3.0.1/initrd_sources/skel/etc/init.d/rcS
file
*** Before line that reads "mount $LAST_ROOT /last_root -o ro >
/dev/null 2>&1" ***
added: "sleep 10"
Note: The reason for this edit was the usb device was getting recognized
before the system tried to mount the device so it would "shellout"
*** Line that reads "mount $LAST_ROOT /last_root -o ro > /dev/null 2>
&1" ***
changed from:
mount $LAST_ROOT /last_root -o ro > /dev/null 2>&1
to:
mount -t vfat $LAST_ROOT /last_root -o ro > /dev/null 2>&1
Note: The reason for this edit was the mount was throwing up an error of
cramfs wrong magic number. I believe the mount still happened I just
wanted not to see that error. :)
In my particular environment I would have an issue where the rsync output
was too much for my RSA II card shared memory. Because I believe, and I
may be mistaken in this observation, that since the RSA II card memory is
used for the video refresh and remote floppy image, which gets loaded to
the cards memory, the verbose rsync option is too much for the card. I
have to edit the master image script to not do a remote rsync, i.e. rsync
-av to rsync -a.
Finally when I build the config file I have to use the --apend option with
mkautoinstalldiskette.
mkautoinstalldiskett --config local.cfg --out-file foo.img --append
"LAST_ROOT=/dev/sdb root=/dev/ram load_ramdisk=1 prompt_ramdisk=0"
Thanks to Brian for pointing me to his papers so I could better understand
his "kung foo" :D
SystemImager and BOEL rock!
Dave
From: dann frazier <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
02/09/2004 01:13 AM
Please respond to sisuite-users
To: [EMAIL PROTECTED]
cc:
Subject: Re: [Sisuite-users] BOEL kernel?
On Wed, Feb 04, 2004 at 03:29:34PM -0500, Vsevolod (Simon) Ilyushchenko
wrote:
> Hi,
>
> Where can I get the sources for the 2.4.20-boel kernel included into the
> systemimager distribution. (I assume it's different from the stock
> kernel.) I would like to recompile it to include the missing usb-storage
> module.
in the source tarball.
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users