PDA

View Full Version : How to make a custom ISO of Knoppix 6.7



ashickur.noor
08-10-2011, 04:24 PM
I have install Knoppix 6.7 in my Laptop, and install some extra packages. Now I want to make it a iso to install it in other pc's and live boot with those packages that I have installed. In Ubuntu I can do it easily by remastersys. But here nothing found.

I have install knoppix 6.7 in my HDD, and install some other software. Now I wamt to make it a iso to distribute it to other. How can I make it?

Capricorny
08-12-2011, 10:32 PM
I have install Knoppix 6.7 in my Laptop, and install some extra packages. Now I want to make it a iso to install it in other pc's and live boot with those packages that I have installed. In Ubuntu I can do it easily by remastersys. But here nothing found.

I have install knoppix 6.7 in my HDD, and install some other software. Now I wamt to make it a iso to distribute it to other. How can I make it?
If all you want is to make some modifications and move them around, why do you want to go all the way to an ISO? Could there be easier alternatives?
I'd like you to answer that, and take things from there. You can find quite a lot of material on these issues on the forums here.

ashickur.noor
08-23-2011, 04:53 AM
I think ISO is the best choice for me. Is there any way to make it. Can any body give me some link of these topics.

ashickur.noor
08-29-2011, 05:49 AM
Can any body help me. I am trying to make a customize iso of knoppix 6.7 from my HDD install knoppix, but nothing found suitable in the forum. Please help me.

Werner P. Schulz
08-29-2011, 04:30 PM
... if you have a lot of time try Debian Remastersys (http://www.remastersys.com/debian.html).

The well tested way to remaster Knoppix is described in Remaster HowTo (http://www.knoppix.net/wiki/Knoppix_Remastering_Howto) (without chapter 3!); alternative you can use my scripts. Be aware, to remaster Knoppix DVD you need a free partition of at least 25GB size or a virtual drive of 25GB within VirtualBox.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.0 remaster)

ashickur.noor
09-07-2011, 07:48 AM
... if you have a lot of time try Debian Remastersys (http://www.remastersys.com/debian.html).

The well tested way to remaster Knoppix is described in Remaster HowTo (http://www.knoppix.net/wiki/Knoppix_Remastering_Howto) (without chapter 3!); alternative you can use my scripts. Be aware, to remaster Knoppix DVD you need a free partition of at least 25GB size or a virtual drive of 25GB within VirtualBox.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.0 remaster)

Thanks for your reply. Are you confirm that Debain Remastersys will work here? Remaster HowTo is for Remastering from live CD, not for from installed knoppix in HDD. I have such partition free space of 50 GB but the partition is not complete empty and I can not move those data. So can I use your script?

Werner P. Schulz
09-07-2011, 12:25 PM
No, I never tried Debian Remastersys and I can not say, if it will do the job. But you told us, you have experience with Ubuntu Remastersys; therefore you will be able to solve all troubles which may occur with Debian Remastersys (http://www.remastersys.com/debian.html).

With my scripts you need

1. a Knoppix HD Installation (you allready have)
2. a decompresses filesystem image at '/opt/knx/remaster' (will be done by the scripts)
3. all the bootloader stuff at '/opt/knx/' (will be done by the scripts)
4. repeat installation and purge of all programs and tools within the chroot jail, as you did within your HD Installation (it's your job)
5. build the new ISO (will be done by the scripts)

Werner P. Schulz
09-07-2011, 02:12 PM
... in the meantime I thought about your question once more. And I found
4. repeat installation and purge of all programs and tools within the chroot jail, as you did within your HD Installation (it's your job)isn't necessary and we can jump over
2. a decompresses filesystem image at '/opt/knx/remaster' (will be done by the scripts)We have to rsync most of the HD Installation to '/opt/knx/remaster' and this is the easiest way to obtain the remastered version of Knoppix :-)

In the next days I'll test, which directories we have to exclude in the rsync process (at least '/opt/knx', '/proc', '/mnt', '/media' and so on) and I'll offer a new version of my scripts (also the recombine scripts).

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.0 remaster)

kl522
09-08-2011, 02:33 AM
... in the meantime I thought about your question once more. And I foundisn't necessary and we can jump over We have to rsync most of the HD Installation to '/opt/knx/remaster' and this is the easiest way to obtain the remastered version of Knoppix :-)

Not only going into a jail isn't necessary, at the same time, there is some "proposal" that rsync-ing things into /opt/knx/remaster is also unnecessary. Why ? Because 'genisoimage' itself can include directories and exclude directories as well - so why not just identify the includes and excludes and pass them straight into 'genisoimage' ? Well, since no one in this forum has yet to provide a complete code, this idea remains as a proposal. :)

Werner P. Schulz
09-09-2011, 08:54 AM
Thank you for this hint. But I prefer to handle includes/excludes by rsync; it is more versatile, than to do it within genisoimage. The commandline of genisoimage doesn't become so confusing. And last but not least I obtain the ability to do little changes with chroot '/opt/knx/remaster'.

Greetings Werner

ashickur.noor
09-10-2011, 07:19 PM
No, I never tried Debian Remastersys and I can not say, if it will do the job. But you told us, you have experience with Ubuntu Remastersys; therefore you will be able to solve all troubles which may occur with Debian Remastersys (http://www.remastersys.com/debian.html).

With my scripts you need

1. a Knoppix HD Installation (you allready have)
2. a decompresses filesystem image at '/opt/knx/remaster' (will be done by the scripts)
3. all the bootloader stuff at '/opt/knx/' (will be done by the scripts)
4. repeat installation and purge of all programs and tools within the chroot jail, as you did within your HD Installation (it's your job)
5. build the new ISO (will be done by the scripts)
When I was trying your script in the first step "kn-prepare" it is asking for knoppix CD, now what will I do?

Werner P. Schulz
09-10-2011, 09:01 PM
... it's all explained step by step on my page "summary.html". In case of error please tell me detailed, what didn't work.

ashickur.noor
09-11-2011, 06:18 AM
... it's all explained step by step on my page "summary.html". In case of error please tell me detailed, what didn't work.

Here is the result of the " kn-prepare" command. I am trying to make my installed knoppix 6.7 with some extra packages from HDD. I am not using virtual box, and I have not put any cd in the ROM as well.



mount: /dev/sr0: unknown device
If CD can't be mounted
please mount it within pcmanfm-filemanager

Werner P. Schulz
09-11-2011, 08:29 AM
... in this case the script cann't go on. You need the Knoppix CD inserted. From the CD all bootloader stuff is written to '/opt/knx/boot' and the decompressed filesystem image to '/opt/knx/remaster'.

I did a hint at "summary.html". Perhaps you can wait till evening. I'm working on new version of my script; with this version you can easily rsync all of your HD Installation with '/opt/knx/remaster' and build a new ISO.

ashickur.noor
09-11-2011, 08:38 AM
... in this case the script cann't go on. You need the Knoppix CD inserted. From the CD all bootloader stuff is written to '/opt/knx/boot' and the decompressed filesystem image to '/opt/knx/remaster'.

I did a hint at "summary.html". Perhaps you can wait till evening. I'm working on new version of my script; with this version you can easily rsync all of your HD Installation with '/opt/knx/remaster' and build a new ISO.
Ok thanks, one more thing, I have use your script and it works fine as you describe in your "summary.html" but when I try to use that iso the default keyboard layout change. When I press "z" it comes "y" and vice versa, "-" comes from "/" vice versa. Please look at this matter.

Werner P. Schulz
09-11-2011, 10:18 AM
Try at next boottime which language settings you need using for example the cheatcode
knoppix lang=de
or
knoppix lang=usIf you use my graphical bootmenu then edit '/opt/knx/knoppix/boot/isolinux/knoppix.menu', otherwise edit '/opt/knx/knoppix/boot/isolinux/isolinux.cfg'.

Change within all "Append" lines the entry of 'lang=..' as you need. You can also insert in all this lines 'keyboard=..' and 'xkeyboard=..'. But I think only change of 'lang=..' will do the job. Create a new ISO and try it.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.0 remaster)

ashickur.noor
09-11-2011, 10:31 AM
Try at next boottime which language settings you need using for example the cheatcode
knoppix lang=de
or
knoppix lang=usIf you use my graphical bootmenu then edit '/opt/knx/knoppix/boot/isolinux/knoppix.menu', otherwise edit '/opt/knx/knoppix/boot/isolinux/isolinux.cfg'.

Change within all "Append" lines the entry of 'lang=..' as you need. You can also insert in all this lines 'keyboard=..' and 'xkeyboard=..'. But I think only change of 'lang=..' will do the job. Create a new ISO and try it.

Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.0 remaster)

Ok I will try when making a new ISO. Have you done to modify your script?
One more thing can I use ISO mounting instead of CD or DVD to copy the bootloader and other stuff as I use in Ubuntu Customization Kit (UCK).

Werner P. Schulz
09-11-2011, 11:33 AM
I'll do a notice in this forum, if I'm ready with the new version of my script.

I don't know anything about UCK and how to use it.

ashickur.noor
09-11-2011, 11:43 AM
I'll do a notice in this forum, if I'm ready with the new version of my script.

I don't know anything about UCK and how to use it.

Ok, I just want to know that can you make your script to read the content from an image not from a disk, if you can it will be more helpful.