-
Senior Member
registered user
An easy way to roll your own Knoppix derivative
Having just been through the creation of a fully 64-bits version of Knoppix, including remastering, I am thinking about simple solutions for creating this kind of derivatives. What to do with an upcoming Knoppix 6.6, for example? According to Klaus, it will still be hybrid.
I think working out from the minirt might be a good way. We have the 64-bits kernel, which does not have to be replaced (if it's not for Knoppix-unrelated bugs etc - like with 2.6.37 necessitating 2.6.39). We also have 64-bits busybox from Debian releases - what more do we need to start off?
To me, it seems that it might suffice to put dpkg with support libraries into the minirt bin. Debian live and Kanotix stuffs all sorts of utilities there, I think the Knoppix minimal way is better and more robust.
1. Create a loop-mounted image 5-15GB, just use adaptation of the persistent creating function in minirt.
2. No compressed image in the first version, and minimal system initialization. Use only internal hard disk partitions and USB-mounted media, which are already supported by kernel.
3. Init into a console, where dpkg can be run, to install apt-get, aptitude etc, and continuing from there.
4. Split package lists from to distro-to-copy (e.g. Knopix 6.6) into manageable units, and feed them to aptitude, batch-wise.
5. All the initial setup and testing work is done in qemu-kvm, no rebooting necessary ever.
6. When all actual packages are installed, copy in 64-bits /sbin/init and Knoppix initialization.
7. Create compressed image the ordinary way.
It wouldn't be too hard to have this as an option in standard minirt, I think.
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
DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED
$269.99
Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS
$725.06
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
H261-Z61 2U 24SFF AMD Server 8x EPYC 7551 256-Cores 256GB RAM 8x25G NIC 2x2200W
$2612.18
DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45
$274.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45
$353.00
Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w
$189.99