Results 1 to 7 of 7

Thread: Help to remaster Kanotix

  1. #1
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    10

    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!

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    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.

  3. #3
    Member registered user
    Join Date
    Oct 2003
    Posts
    80
    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.

  4. #4
    Junior Member registered user
    Join Date
    Jan 2003
    Posts
    10
    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

  5. #5
    Junior Member
    Join Date
    Dec 2004
    Posts
    9

    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.

  6. #6
    Could you please post your howto.

  7. #7
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    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

  1. knoppix v kanotix
    By dvryknopper in forum The Lounge
    Replies: 12
    Last Post: 11-21-2007, 02:56 AM
  2. Booting Kanotix
    By lost n the desert in forum Other Live CDs
    Replies: 3
    Last Post: 04-15-2006, 11:06 AM
  3. kanotix.com is down
    By spurious in forum Other Live CDs
    Replies: 5
    Last Post: 03-14-2006, 08:22 PM
  4. Kanotix Bug Hunter 09-A is out!
    By mzilikazi in forum The Lounge
    Replies: 1
    Last Post: 10-19-2004, 03:42 AM
  5. Kanotix
    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
  •  


Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$102.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot picture

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot

$79.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.80



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health

$24.00



Micron MTFDDAK256TBN 256 GB, Internal ,2.5

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD

$23.00



SSD 2.5

SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed

$42.00