Not that there's anything wrong with the method of creating a Bering CD outlined in the users guide, but I'm wanting something a bit closer to Dachstein (ie: floppy-boot emulation for the bootable CD, instead of isolinux), as I find it easier to debug, and easier for others to modify.Yeah I always liked emulation mode. After I understood it I thought there was so much more that you could do with the ISO format. For example the ISO could have root.lrp, rootserl.lrp, or other customized root packages. All you'd have to do is change your mkisofs script to point to rootserl.lrp to add a kernel with serial support for example.
I didn't realize that these were slow. I think the original author was Mister sed not that it was a bad thing.
In the process of making a Bering CD "bootdisk" floppy, I had to crawl through the Bering /linuxrc script, and I noticed a few things I think could be improved:
- There are a *LOT* of variable assignments of the form:
VAR=sed 's/.*LRP=/\1/; s/ .*//1' /proc/cmdline`
These would be a lot faster using the built-in shell substitution functions, although it would require two lines instead of one, ie:These messages on the fedora announce list caught my eye about regex speed. It could be applicable to both sed, ash, and, bash parsing.
CMDLINE=`cat /proc/cmdline` ... VAR=${CMDLINE##*LRP=} VAR=${VAR%% *}
http://www.redhat.com/archives/fedora-announce-list/2003-December/msg00016.html http://www.redhat.com/archives/fedora-announce-list/2004-January/msg00004.html ...
Also, is there any interest in making a 1440K minimal floppy boot disk and a set of instructions available for the generation of a CD-ROM? I find this a *VERY* easy way to make CD images, as you can simply tell users to copy bootdisk.bin and whatever LRP packages they want to a directory, then run mkisofs with the appropriate command switches. Much less confusing than isolinux procedure outlined in the users guide, IMHO.I can only use CDs because of the Arizona dust. I still used my trusty Dachstein CD with newer packages like ssh. I thought the DCD method was an interesting solution. I've been reluctant to move away from DCD for some of the reasons listed above. Actually because of your influence I've learned a great deal about CDs and ISOs. It was these two lines from your readme.txt file that became such a catalyst for growth.
"...If for some reason you need to customize the CD, get a copy of the CD-Contents directory on a linux box, and run the following command:
mkisofs -b bootdisk.bin -r -J -f -o <outputfile> -V <volume name> <path>/CD-Contents/
Thanks by the way. Now I have a directory of my image. I throw in updates and reburn the CD-RW disc. It's the ultimate floppy.
Yep. I'd be interested.
Greg
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel