-
zisofs instead of cloop on a remaster
I remastered a knoppix cd to act as a windows rescue cd for our group of about 200 tech specialists. The cd is individualized by each tech. They visit a website, enter in their info (username, password, etc) and submit for an ISO image. The server then takes that info and incorporates it into the image including an expiration date. I have been able to do this fairly quickly via ZISOFS on a debian live-cd based off of Timos RescueCD. Recently the co. changed hardware platforms and now I must rebuild a new rescue cd incorporating the new hardware. I found Knoppix to handle this very easily and I have been able to setup a beta of this but I see that using CLOOP takes entirely too long.
Is there a writeup somewhere on how to setup a Knoppix remaster using zisofs? Using cloop for each and every tech will take too long for 3 servers to do.
thanx!
-
Senior Member
registered user
Could you simply use a config script on the cd's, which is outside of the cloop, to make the customisations? Even better (ok this is a lot to ask but perhaps you would be able to do it) you could default to taking the config from a usb key so that they can use the stock iso and tweak the customisations themselves without having to give you the usernames and password (you could probably even customise it to prompt them for the values for the config to do this if it finds a usb key without a config setup, so they never have to give you any details). You could also setup the remaster to automatically look for a persistent home (on the same usb key) so they/you can klik in extra apps and carry around useful/important/sensitive files (I'm sure you can use encrypted persistent homes).
Perhaps you have requirements that can't be met by this though?
-
Senior Member
registered user
I've been doing remasters of Kantoix w/ squashfs instead of cloop. Not only does it give about 5% better compression it also compresses faster. MUCH faster. On an XP2200 w/ 1G RAM it takes about 15 minutes to compress down to 700MB. It is possible to remaster Knoppix w/ squashfs (I have no idea how) but the Kanotix kernel already supports squashfs. Something to note. The Kanotix kernel is not smp enabled.
I personally would be very interested to know exactly how you've set this up for your techs to build their own .iso's if you'd not mind posting some details.
-
-
Senior Member
registered user

Originally Posted by
bizarro
I'll try to give as much detail as I can...but it would be best if you asked questions...
...once detected the file is then parsed for the information inside then through bash scripting entered into the source cd before compilation.
And here lies my question, is there any reason you cannot simply leave the cloop identical for all your users, and simply make the config script on the cd unique for each user, therefore speeding up the process even further? What is being "entered into the source cd" that needs to be "compiled" (you could simply echo lines onto /etc/passwd and /etc/group from the config script for example)?
-
the information being entered into the cd are as follows:
username
password
account expiration of 6 months
md5sum formula to change the root password monthly
tech's name and human resouces ID (HRID) entered into the bootscreen
RCD version number into the bootscreen
Compile date and expiration date into bootscreen
Other boot options lime memtest, hdd fitness, universal bootdisk, console version of RCD (non-GUI) for those machines that have low mem or incompatible vid drivers.
Custom drive mappings for backing up client data
Thats the bulk of it.
I still want to make the cd smaller...1.2gb uncompressed and 500mb compress is still way too big. These ISO images are downloaded across the country through our WAN and so 500mb is way too big for that.
Any ideas on making it smaller? I tried Damn Small Linux, it turns out to be a stable release not having some of the tools needed like QTParted and can't install it even if i changed it to testing release. With Kanotix...that release seems BIGGER than Knoppix! I ran out of disk space copying it to the hdd.
BTW, I'm doing all of this via VMWare which makes it much much easier to remaster Knoppix and experiment with all of this.
Does anyone know of an exact step by step procedure on compiling in squashfs? Kernel config, Kernel source w/ patches of Knoppix etc...etc...
-
Senior Member
registered user
Of those items you mention above, I guess only username, password, bootscreen changes and custom drive mappings are actually unique to each individual iso image? The rest (boot options and root password changer) presumably aren't changes made individually on a per cd basis? Those changes can be made to a Knoppix-alike remaster without having to remake the cloop iso, from the config script ammend passwd/shadow/group/fstab (using perhaps echo "">/etc/fstab, or sed). The boot image is also held outside of the cloop so you can create it by whatever means you want, and drop it into the new image. So all you have to do to create the image is a plain mkiso which takes 100th/1000th the time of making the cloop image.
-
thanx for the info bfree...i appreciate your help in this...i've managed to get the cd down to 330mb now and compilation is down to 12 minutes...i'd still like to make it much smaller though...any tips?
also, i'll have to write a whole new bash script on rcd requests...but at least i'm ready for GUI customization and beta testing on our environment...is there a howto on entering that info into the config script?
thanx!
-
Senior Member
registered user
Really, you don't want to recompile every copy. You want to have the config data outside of the compressed fs. Or, since your data is under 400mb, you could make the whole CD uncompressed.
Btw, I suggested something like what you are doing in the past in order to make customized versions of Knoppix (with the user being able to select on a webpage which applications his Knoppix CD should contain). So I would be really interested in your server-side scripts. Which languages do you use? A combination of PHP and bash seems a good choice.
Would you be willing to release your server part under GPL? Then probably people would be much more willing to improve it and optimize everything...
-
Would you be willing to release your server part under GPL? Then probably people would be much more willing to improve it and optimize everything...
CLICK HERE!
[/url]
Similar Threads
-
By sunburnt in forum Ideas
Replies: 1
Last Post: 04-12-2005, 12:12 AM
-
By lilsirecho in forum Ideas
Replies: 2
Last Post: 03-21-2005, 04:35 PM
-
By Todd in forum Customising & Remastering
Replies: 0
Last Post: 11-04-2004, 04:36 PM
-
By psirac in forum Customising & Remastering
Replies: 0
Last Post: 09-12-2004, 09:22 PM
-
By tnt in forum Customising & Remastering
Replies: 1
Last Post: 07-08-2003, 08:08 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)
$99.95

Computer Photo History Altair 8800 Philco 212 CDC 6600 DEC PDP-8 Apple 1 UNIVAC
$69.99

640pg Best of BYTE Magazine 1984 Mac Steve Jobs Altair 8800 IBM 5100 Bob Moog
$85.00

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800
$59.99

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair
$69.99

S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI)
$69.95

Altair MITS S100 Backplane 8080A S-100 Replica IMSAI CP/M (bare board)
$40.00

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00