Remaster from HD install:a metohd that works!
Hi Guys,
Greetings from Brazil!
I'd like to submit you a script I developed to automate the procedure of remastering the HD installed and customized knoppix sucessfully. I published the first version of this script in the Kurumin Forum ( a brazilian distro based on knoppix) for about one month ago and now I've made some litlle revisions in it and translatede it to english in order to make it availabel for the international community. You can download it at http://www.ngsys.eti.br/remasters/kn...ster_en-1.0.sh. It's necessary to set its permissions like this: chmod +x knphdremaster_en-1.0.sh and chown root.root knphdremaster_en-1.0.sh. You have to run it as a normal user, not root. The script will ask you the root password in order to execute correctly. It can be put on the menu. I usually leave this script on /usr/local/sbin and call it, from a menu item, like this: konsole -e /usr/local/sbin/knphdremaster_en-1.0.sh. The script does most of its work automatically. It just ask you to insert the knoppix CD at the first time you use it. From the second time on everything is there.
Please, fell free to improve the script or adapt it at your own discretion. I am not a skilfull shell script programmer, actually has never has never programmed in shell script before, for this maybe you will realize my code is very simplistic, but it works well! Another observation, it was made to the 3.7 version of knoppix, using KDE. It was not tested against others versions or with other window managers.
Suggestions and contributions are very wellcomed.
Cheers,
nelsongs
Pardon a Newbie Questions on this
I downloaded and ran the script.
I told it to use hda6, a windows partition. Is it normal to get a lot of messages saying permissions could not be changed? This proceedure didn't go smoothly. Konsole crashed while running the script. So I ran it again. It seemed to go better that time.
Anyway, it looks like the script created two directories:
master, where the boot files are
and source directory where the knoppix install files were copied to.
To create the CD do I now just need to compress the source directory into a file to merge it into the master directory and then create the iso? (I have the Knoppix Hacks books I've been studying on this.)
I guess, having never done this before, I am wondering if I have done things right so far and exactly to what degree this script automates the whole process and did the Konsole crashes screw things up.
sakiZ
OK, I Think the Swapfile May be the Problem
Configuration:
/dev/hdb2: My Linux formatted drive is 3.1. It's empty when I start this remaster. It's my alternate drive/partition where I normally keep a mirror of my install. But for this project, I am temporarily using it for the remaster.
Memory: 768 megs.
Swapfile: Currently 350 megs. It was plenty before I started this. :-)
So, I plan to create a swap partition of about 1.5 megs.
Then, I'll retry this.
Thanks for all your input and help.
sakiZ
Gotta Find a Bigger Drive Then I'll Try Again
If I can find an even slightly larger alternate 2nd hard drive, I pick one up.
Then I'll start in again.
sakiZ