-
Remastering Knoppix from HD install
Hi. I was trying to avoid adding another thread on this subject, but there is so much information (there should be some final HOW TOs instead of separate bits) that I've completely lost myself.
I've been trying to remaster Knoppix 3.9 by installing it to HD, changing and then using a script I've found here to remaster from HD. Unfortunately, several errors occur, like KDE doesn't start, some files I've changed aren't copied to the remastered version, the final ISO is > 1Gb, etc..
Today, I've found http://www.knoppix.net/forum/viewtopic.php?t=13867 that states that Knoppix 3.9 has a bug with UNIONFS so is not suitable for remastering. Now I've downloaded 3.8
So, final question: is there any way to change Knoppix by running it (instead of using chroot, which makes difficult to change KDE settings, for example) and then easily remaster it without any glitches (like oversized ISO, KDE not starting, etc..?)
I don't mind reading, but something concise rather than a topic with 200 answers and no definitive answer.
Thanks in advance for your precious time 
Kind Regards,
Mário Lopes
-
Senior Member
registered user
is there any way to change Knoppix by running it (instead of using chroot, which makes difficult to change KDE settings, for example)
Have you seen the HOWTO that I wrote? http://www.knoppix.net/forum/viewtopic.php?t=13867 It documents how to change KDE settings in the chroot.
As for ISO size. A simple fool-proof method does not exist.. Approximately 1835MB is compressed down to a 696MB cloop image file. I exit the chroot and do a
Code:
du -h --max-depth=1 /mnt/hdb1/remaster/
to get a total size. If it is under 1850MB then it should create a compressed loopback image file that will fit on a 700MB CDR.
-
mlopes,
Problably you´re talking about the script I developed for remastrering your hd installed knoppix, which is posted at http://www.knoppix.net/forum/viewtopic.php?t=18222
AFAIK it works well for knoppix versions 3.7, 3.8 and 3.8.1, as well as kanotix 2005-02. I didn´t upgrade it to the newer versions due to lack of time, since I´m working on a new project called "Distro Maker", which is a collection of script you use to build a debian box almost from scratch, using the Morphix Base. It´s already available but in brazilian portuguese. As soon as I have it in english I´ll let everybody here knows.
Regarding your issue, since you´ve downloaded the 3.8 knoppix I would like to know if you´ve used the script with it and if it has presented some problems. If so, let me know exactly what they were and the specific knoppix version, as well as your amount of RAM and SWAP.
Cheers.
-
-
By the way nelsongs, I have a question for your that is independent of what I am doing. I fully customize the hd install of Knoppix, but when I run your script, it does not copy my settings (like KDE background, splash screen, etc..). Is there a way to force the script to copy those settings? Otherwise, what's the point of remastering from the HD?
Thanks in advance
-
Nelsongs, actually I have had good results remastering with the first version of your script and Knoppix 3.9. I HAVE run into a few puzzling things...
In the live CD, I can sudo, so I can do most things--but I can't run the root Konsole. And since I can't run the root Konsole, I can't set a password for root--so I can't run the root file manager.
Probably unrelated, but when I uninstalled all the other window managers but KDE in the HD install then installed FVWM and XFCE, the resulting live CD insists on booting to XFCE.
And I haven't run into what mlopes talks about. Both the liveCD and a resulting new HD install have kept my user settings, including the KDE splash. But then I put my initial HD install together to deliberately try to make that work. I set up only one user, and the username was knoppix.
-
Senior Member
registered user

Originally Posted by
UnderScore
is there any way to change Knoppix by running it (instead of using chroot, which makes difficult to change KDE settings, for example)
Have you seen the HOWTO that I wrote?
http://www.knoppix.net/forum/viewtopic.php?t=13867 It documents how to change KDE settings in the chroot.
As for ISO size. A simple fool-proof method does not exist.. Approximately 1835MB is compressed down to a 696MB cloop image file. I exit the chroot and do a
Code:
du -h --max-depth=1 /mnt/hdb1/remaster/
to get a total size. If it is under 1850MB then it should create a compressed loopback image file that will fit on a 700MB CDR.
My mileage has always varied as far as cloop goes. My latest is 1796MB uncompressed and comes out at 699MB as an iso. Might be the fact I have two kernels outside the cloop (based on knoppix 3.7), but they can't be all that big.... I even when in with freedup.pl to create hardlinks all over /usr/share to and saved maybe 36mb in all that way. Still coming out big.
Does the -b option actually do anything? Last time I tried it it took a long time to cloop, but it was the same size as not using -b, or within like .5% anyway
-
Senior Member
registered user
nelsongs
Thanks for the great efforts. Would you please put a link for the "Distro Maker" even if it is not in English? I would like to try it to create a Gnome based distro.
-
knopx4me,
Pick it this way (in a terminal): wget http://www.ngsys.eti.br/mkdistro/en/mkdistro_en-1.2.tgz
Please, let me know if you meet any bug or trouble with it. I'm preparing the english tutorial for it. There's a new version coming the next days, but this is fully functional.
See a picture of my Xfce4.2 based distro created with this script:
[img=http://img113.imageshack.us/img113/4232/xfcetela4lp.th.jpg][/img]
Cheers
P.S.: Sorry, I forgot to say the very basic to run it:
1 - Untar it to a directory, could be your home.
2 - run the main script, as a regular user or as su: ./kmdistro_en-1.2.sh. If you run it as a regular user it will ask you the root password.
3 - If you're gonna install gnome, you need to install the pack morphix-init-gnome when you are on the main module build up routine. The same for theother window managers. morphix-init-icewm, etc... Xfce is morphix-init-light.
Similar Threads
-
By saeid_azad in forum Customising & Remastering
Replies: 1
Last Post: 11-20-2007, 09:37 PM
-
By knoppix-PP in forum Customising & Remastering
Replies: 0
Last Post: 05-30-2006, 02:22 PM
-
By maximum in forum Customising & Remastering
Replies: 0
Last Post: 10-17-2004, 08:22 AM
-
By PrOCesSkIlL in forum Customising & Remastering
Replies: 29
Last Post: 04-02-2004, 01:32 AM
-
By nikbutler in forum Customising & Remastering
Replies: 1
Last Post: 10-13-2003, 04:37 PM
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

Intel Core i7-3770K 3.5 GHz Processor
$39.00

INTEL CORE I7-870 SLBJG 2.93GHZ LGA1156 4 CORE CPU PROCESSOR
$23.00

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

Intel i7-8700 Coffee Lake 3.2GHz 6-Core Max Turbo 4.6GHz Processor
$67.99

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99

LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00