-
Junior Member
registered user
Help to remaster Kanotix
So far ... I love Kanotix.
But I have a hard time remastering it. Most of the support is in german so I have some problems.
Also, grub and squashfs is used and based on the 3.4 architecture (I think ...).
Would be great if we can discuss how to remaster kanotix as it has lots of features and goodies.
Anyone can help me out here?
Thanks!
-
Senior Member
registered user
Discuss away.
Kanotix is so close to knoppix that any information for knoppix is also relevant to kanotix & visa versa. There are regular users of this forum who actually use kanotix, some have made remasters.
-
Unfortunately you cannot use the knoppix remaster program for remastering the kanotix cd. I tried once, before I could find any info on it. I too would like to know how to do this. I think you have to do the manual style of remastering with Kanotix. I haven't had the time to give it a try. I want to add the Windows password reset program at boot that comes on the Austrumi live cd.
-
Junior Member
registered user
With the help of the normal documentation, the knoppix script, the german forum at Kanotix (with help of babel fish translator) and a few days of research and testing ... I finally got it to work 
Will post the details later. I was attempting to make a cd less than 185mb and boot it off my USB drive with the actual kanotix iso file in it. Works!
About 10 sec after booting, I can take the cd out and it continues to run off my USB. Full features of the original ISO.
Kanotix is really wonderful
-
Grubby Issue :?
Hello all,
I too am using Kanotix (kernel 2.6.9-kanotix8 fix2) in preference to Knoppix (3-7) as it has better hw support.
Also I would like to remaster soon but waiting for ALL kde packages to go 3.3.2 version onwards (nearly there!).
Will be attempting soon...
Now, to my point. As Kanotix uses Grub, can anyone tell if the following would be correct:-
Copy from live cd :- /cdrom/boot/grub (folders/directories)** to /mnt/hdxx/knx/source/master/KNOPPIX/
Before remastering, change your boot preferences in grub menu txt file when copied to .../master/KNOPPIX.
** note: /cdrom folder is empty in chroot (source copy) when viewing (ie Konqueror).
Asking in advance,
Winslayer.
-
Could you please post your howto.
-
The two scripts I include here are cut down versions of what I'm using to make ParallelKnoppix, starting with Kanotix Easter edition. The full versions will be on the next release of PK, when it comes out.
The first copies the CD contents to HD. It needs to be run while you have Kanotix booted up. The second makes the ISO image, and can be run from Kanotix, or from your normal distro. You will need to edit the second script to specify the mount point of the partition to which you copied the source (in my case, "/misc", replace with whatever is appropriate). You need to have mksquashfs available to actually make the compressed filesystem. That won't be a problem if you do this while running Kanotix.
Code:
#!/bin/bash
# 1-CopySourceForRemaster copy the CD to HD for remastering
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export PATH
XDIALOG_HIGH_DIALOG_COMPAT=1
export XDIALOG_HIGH_DIALOG_COMPAT
# Get root
[ "`id -u`" != "0" ] && exec sudo "$0" "$@"
TMP="/tmp/saveconfig.tmp$$"
bailout(){
rm -f "$TMP" "$TMP.done" "$TMP.err"
echo ""
echo "Done"
exit 0
}
DIALOG="dialog"
[ -n "$DISPLAY" ] && [ -x /usr/bin/Xdialog ] && DIALOG="Xdialog"
trap bailout 1 2 3 15
# LANGUAGE etc.
[ -f /etc/sysconfig/knoppix ] && . /etc/sysconfig/knoppix
[ -z "$LANG" ] && export LANG
[ -z "$LANGUAGE" ] && export LANGUAGE
[ -z "$CHARSET" ] && export CHARSET
DESKTOPKB="$(du -sk $HOME/Desktop 2>/dev/null | awk '{print $1}')"
TITLE1="ParallelKnoppix: Copy source to HD for remastering"
MESSAGE1="Select a hard disk partition on which the source should be copied.
A directory called parallel_knoppix_remaster will be created at the root level
of that partition. Which partition would you like to use? (about 2GB free space is needed)"
ERROR="That didn't work!"
# Directory selector
PARTITIONS=""
for i in `awk '/^\/dev\/[hs]d[a-z].*\/media\/[hs]d[a-z]/{if(!/ntfs/){print $2}}' /etc/fstab`; do
PARTITIONS="$PARTITIONS ${i} [Disk/Partition] off"
done
rm -f "$TMP"
Xdialog --clear --title "$TITLE1" --radiolist "$MESSAGE1" 18 75 9 $PARTITIONS 2>"$TMP" || bailout
ParKnoppixPART="$(<$TMP)"
[ -z "$ParKnoppixPART" -o ! -e "$ParKnoppixPART" ] && bailout
# mount the partition requested
rm -f "$TMP.err"
mount | grep -q "$ParKnoppixPART" || mount -r "$ParKnoppixPART" >"$TMP.err"
[ "$?" != "0" ] && { $DIALOG --title "$TITLE1" --msgbox "$ERROR `cat $TMP.err`" 10 75; bailout; }
mount | grep -q "$ParKnoppixPART.*ntfs" && { $DIALOG --title "$TITLE1" --msgbox "$ERROR NTFS" 10 75; bailout; }
mount -o remount,rw "$ParKnoppixPART"
# create the ParKnoppixPART, etc
mkdir $ParKnoppixPART/parallel_knoppix_remaster
export ParKnoppixDIR=$ParKnoppixPART/parallel_knoppix_remaster
# get rid of old, if it exists
rm -R -f $ParKnoppixDIR
# copy the new
mkdir $ParKnoppixDIR
mkdir $ParKnoppixDIR/source
mkdir $ParKnoppixDIR/source/KNOPPIX
mkdir $ParKnoppixDIR/master
mkdir $ParKnoppixDIR/master/KNOPPIX
mkdir $ParKnoppixDIR/master/boot
cp -a /cdrom/boot/ $ParKnoppixDIR/master/
cp -Rp /KNOPPIX/* $ParKnoppixDIR/source/KNOPPIX
cp /cdrom/KNOPPIX/configs.tbz $ParKnoppixDIR/master/KNOPPIX
cp /cdrom/KNOPPIX/background.jpg $ParKnoppixDIR/master/KNOPPIX
cp /cdrom/KNOPPIX/knoppix.sh $ParKnoppixDIR/master/KNOPPIX
echo "Finish configuring desktop, then reboot normal distro"
echo "and proceed to chroot activities"
# final report
SUCCESS="OK, the ParallelKnoppix source is now on the HD, ready for remastering"
$DIALOG --title "$TITLE1" --msgbox "$SUCCESS" 12 65
bailout
The second script follows:
Code:
#/bin/bash
# run me as root to make a new PK CD
PKDIR=/misc/parallel_knoppix_remaster
SOURCE=$PKDIR/source
DEST=$PKDIR/master
# remove old compressed fs
rm -R -f $DEST/KNOPPIX/KNOPPIX
# make new compressed fs
mksquashfs $SOURCE/KNOPPIX $DEST/KNOPPIX/KNOPPIX
chmod 444 $DEST/KNOPPIX/KNOPPIX
echo "AnotherKnoppixRemaster version: " `date +%F` > version.txt
cp version.txt $DEST/version.txt
cp version.txt $PKDIR/current_version.txt
cd $DEST
rm -f KNOPPIX/md5sums; find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >> KNOPPIX/md5sums
mkisofs -r -l -J -v -no-emul-boot -pad -boot-load-size 4 -boot-info-table -hide-rr-moved -V "AnotherKnoppixRemaster" -b boot/grub/iso9660_stage1_5 -c boot/grub/boot.cat -o $PKDIR/AnotherKnoppixRemaster-`date +%F`.iso $DEST
Similar Threads
-
By dvryknopper in forum The Lounge
Replies: 12
Last Post: 11-21-2007, 02:56 AM
-
By lost n the desert in forum Other Live CDs
Replies: 3
Last Post: 04-15-2006, 11:06 AM
-
By spurious in forum Other Live CDs
Replies: 5
Last Post: 03-14-2006, 08:22 PM
-
By mzilikazi in forum The Lounge
Replies: 1
Last Post: 10-19-2004, 03:42 AM
-
By bklynjames in forum The Lounge
Replies: 9
Last Post: 09-03-2004, 02:06 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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

Rare Vintage IBM 93ZZ PowerPC Server Board - MCM Ceramic CPU - 40N1844 - 1.1 lbs
$49.99

IBM 02YC027 Seagate ST2400MM0129 2.4TB 10K SAS 12Gb/s 2.5" Server Hard Drive
$200.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

IBM System x3550 M3 1U Server Intel Xeon E5630 4GB DDR3 No HDD
$279.99

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

DEFECTIVE IBM SYSTEM X3530 M4 7160AC1 Server 2INTEL XEON E52430L 0 80GB G3D
$142.50