I'd just like to post my experiences of getting WISP-Dist running from a
CD-ROM (IDE).

This is based on the 2397 build of wispdist.

I started off by following the instructions on making a bootable Bering
CD-ROM so downloaded Syslinux and used Isolinux (isolinux.bin) to form
the boot, reconfiguring and renaming syslinux.cfg to isolinux.cfg.

I modified syslinux.cfg by using boot=/dev/cdrom:iso9660 and
pkgpath=/dev/hdb:iso9660 [this may change depending on where the CD-ROM
is attached] and deleting rwfs.

The next step was to add the cd-rom modules to the initrd lrp. Took me a
while to figure to figure out how to do this (I had virtually no linux
experience until very recently).

gunzip -S .lrp initrd.lrp  # Unzip the initrd.lrp file
mount -t minix initrd /mnt/initrd # mount initrd using the minix
filesystm

Edit (/mnt/initrd/)boot/etc/modules so that it includes in this order:

cdrom
ide-mod (should be there already)
ide-cd
ide-probe-mod (also there already)
isofs

DO NOT delete cramfs this is required to load/mount the .cfs files but
you can delete other modules. I deleted the doc... modules which relate
to disk on chip.

Next step is to add the .o files for these modules to
(/mnt/initrd)/boot/etc/lib
I downloaded these files from the bering download area - make sure you
get the right kernel version - in this case 2.4.18

The next part is the bit I'm afraid I don't undertand particularly well
but the linuxrc ((/mnt/initrd/)var/lib/lrpkg/linuxrc) file needs editing
so that it can mount cd drives. It seems that the bering linuxrc is
modified in this way but wisp linuxrc is not. However you can't swap them
round as wisp needs to be able to load the cfs files. I modified the wisp
linuxrc to look more like the bering linuxrc and managed to get it to
work. However, it may be easier to add the cfs loading/mounting part of
the wisp linuxrc to the bering linuxrc (and changing the SYSTSIZE
variable to 8M).

Once thats done initrd.lrp needs recreating.

umount /mnt/initrd
gzip -S .lrp initrd

I used windows to create the iso image and burn the CD (as I said I have
very limited linux experience).

Create a directory wispdist
create a subdirectory wispdist/isolinux

put isolinux.cfg linux initrd.lrp syslinux.dpy isolinux.bin in the
isolinux sub-directory
put the remaining .lrp .cfs and .md5 files in the wispdist directory

Also put mkisofs.exe and cygwin1.dll (available in cdrtools see "Creating
a Bootable Bering CD-ROM) in the wispdist directory.

In a MS-DOS window go to the wispdist directory and use the following

mkisofs -o wispdist.iso -b isolinux/isolinux.bin -c isolinux/boot.cat
-no-emul-boot -boot-load-size 4 -boot-info-table -l -J -r .

(The . at the end is part of the command)

Then burn the wispdist.iso image created using your favourite burner.

I hope this helps someone.

I need to do some work now on either pre-configuring it on the CD-ROM or
having it load & save configuration from a floppy or hard disk. Also I
need to try and work out if there any other LEAF packages that might be
useful and could be added. 




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
leaf-wisp-dist mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-wisp-dist

Reply via email to