Results 1 to 8 of 8

Thread: I need to know more about knoppix-data.inf

  1. #1
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272

    I need to know more about knoppix-data.inf

    This is a very important file, and I want to know about its history and functionality - origin, evolution and applicability.

    Regards

  2. #2
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Don't you remember my other posting?

  3. #3
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Yes, a message box during flash-knoppix install:

    Code:
    MSG_TARGET="flash-knoppix: Install KNOPPIX compressed to flash disk.\n\nPlease select desired target device:"
      INFO_TARGET="Target:"
      MSG_READY="Finished.
    You can now remove device from drive."
      MSG_MOUNTED="is already mounted."
      MSG_SELECT="Please enter directory containing KNOPPIX files."
      MSG_BOOTREC="Creating boot record on"
      MSG_NOTFOUND="No boot configuration found (no boot/isolinux/isolinux.cfg), bootloader will probably not work."
      MSG_WRITING="Writing data..."
      MSG_SIZE_OVERLAY="KNOPPIX can use an \"Overlay\"-file for storing data permanently.\nIf you want this, please enter desired size (minimum 200MB, free: %sMB)."
      MSG_SIZE_OVERLAY_ADVANCED="Please enter the size of the Overlay partition\nfor storing your data permanently.\n(minimum 400MB, free: %sMB)."
      MSG_CRYPT_OVERLAY="Would you like to encrypt the overlay using AES256 (=Advanced Encryption\nStandard 256bit, http://csrc.nist.gov/encryption/aes/)?\n\nFor this type of encryption, entering a password for creation as well as\nat system start is necessary.\n\nWithout knowing this password, reading saved data is not possible.\nBecause of that, encrypted data is still safe against unauthorized\naccess in case the storage device containig the data gets lost or stolen.\nOn the other hand, all saved data is inaccessible if you forget the password,\nand there is no way to recover."
      MSG_PASSWORD="AES256 Encryption Key (minimum 8 chars):"
      MSG_PASSWORD2="Please enter the same password again, just to be sure:"
      MSG_PASSWORDS_NOMATCH="Passwords are not identical, or just too short.\nPlease try again."
      MSG_OVERLAY="Creating overlay [%s MB]..."
      MSG_QUESTION_PARTITION="Partition and format device?\nCAUTION: All data will be erased!\nNo = only copy KNOPPIX data to existing partition"
      MSG_QUESTION_PARTITION_ADVANCED="Repartition and format device?\nCAUTION: All data will be erased!\nNo = Exit program"
      MSG_QUESTION_REALLY_FORMAT="Do you really want to do this?\nWARNING: ALL DATA ON WILL BE ERASED!"
      MSG_FORMAT="Formatting"
      MSG_PARTITION="Partitioning"
      MSG_ERROR_NODISK="No flash disk(s) found."
      MSG_ERROR_INCOMPATIBLE="Flashdisk is not partitioned properly.\nThe first (primary) partition must be DOS/FAT32."
      MSG_FAT_EXISTS="A FAT32 file system exists on"
      MSG_KNOPPIX_EXISTS="An installed KNOPPIX system exists on"
      MSG_OVERLAY_IMAGE_EXISTS="An Overlay image is present."
      MSG_ENCRYPTED_OVERLAY_IMAGE_EXISTS="An encrypted Overlay image is present."
      MSG_OVERLAY_PARTITION_EXISTS="An overlay partition is present."
      MSG_METHOD_SELECT="Please select installation method:"
      METHOD_NEW_IMAGE="Installation on FAT32 with (optional) overlay file <4GB."
      METHOD_NEW_PARTITION="Installation on FAT32 with additional overlay partition."
      MSG_SIZE_OVERLAY_PARTITION="Please enter desired size of overlay partition (MB)."
      MSG_ERROR_TOOSMAL="Overlay size is too small!\n(minimum 400MB required)"
    ;;
    esac
    and three lines
    Code:
    1. if [ ! -r "$TMPMOUNT"/KNOPPIX/knoppix-data.img -a ! -r "$TMPMOUNT"/KNOPPIX/knoppix-data.aes -a ! -r "$TMPMOUNT"/KNOPPIX/knoppix-data.inf ]; then
    2.  echo "2 /KNOPPIX-DATA reiserfs encryption=aes" >> "$TMPMOUNT"/KNOPPIX/knoppix-data.inf
    3.  echo "2 /KNOPPIX-DATA reiserfs" >> "$TMPMOUNT"/KNOPPIX/knoppix-data.inf
    My need is more information. GOTO Message no.1
    Last edited by rajibando; 05-28-2015 at 05:19 AM.

  4. #4
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Humour aside, I had known about pendrive linux for a long time. I also have a version of it in my system, not using pendrive, but using its ISO to boot. Did our Knoppix USB install was also inspired like pendrive linux? Then who was the original ideator for this concept of booting Linux from removable pen drives? How did this idea came into being?
    And, how come flash-knoppix script and then finally knoppix-data.inf ?

  5. #5
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    I have also gone through:
    http://debian-knoppix.alioth.debian....flash-knoppix2
    It also has similar references on knoppix-data.inf

    But as I have understood, this innocuous line is of immense value, which I first came across in this post, and my regards go to BlackSimon for this invaluable advice.
    Now I am hooked to knoppix-data.inf!
    Last edited by Werner P. Schulz; 06-17-2015 at 06:50 AM. Reason: Just as wanted.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Sorry, your code part and the links within doesn't work.

    But anyway, the interesting part of the script "flash-knoppix2" starts at "If we don't already have an overlay, ask to create one"

    If there already exist an overlay nothing is done, if not, Knoppix creates an overlay.

    If the overlay is an overlay partition, Knoppix creates the new config file "knoppix-data.inf" with the proper content. This config file is a specific file of K. Knopper and not of the Debian pool.

    How Knoppix interprets this config file during boot, you can see within the "init"-file of the minirt.gz in the function mountdata() and there starting at the line "inf) # Contain partition information ...".

    Read and analyze the source code.

    If you want another behaviour of Knoppix and his overlay partition you have to change these two scripts, insert your own code and remaster Knoppix.

  7. #7
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Yes, sir, so I saw! Anyway, sir, ignore it. They just contain the lines where there are references to this file.
    And yes, sir, I had read about your minirt.gz comment earlier too. As advised, the source code would be perused.
    Sir, I am interested in history [omitted - and functionality] - origin, evolution and applicability. Any leads?
    Regards

  8. #8
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    My regards to Prof. Knopper. Great idea! I am presently using it on my HDD, with Knoppix image in one partition and persistent in another partition.

    There is an application in Debian called bootcd that creates live CDs. Bootcd was also a tool used in Apple OS.

    What was the inspiration behind the .inf file in Knoppix? Great idea!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$340.00



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$275.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server 2x Xeon  E5-2620 @ 2.0GHz 64GB RAM NO HDDs picture

Dell PowerEdge R620 Server 2x Xeon E5-2620 @ 2.0GHz 64GB RAM NO HDDs

$108.96



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



Dell R730xd 26 Port SFF 2x E5-2690v4 28-Cores H730 128GB Server 2x SFP 2x RJ-45 picture

Dell R730xd 26 Port SFF 2x E5-2690v4 28-Cores H730 128GB Server 2x SFP 2x RJ-45

$390.00



Dell PowerEdge R620 Server - 256GB RAM, 2x8c CPU, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8c CPU, 128Gb SSD/3x600Gb SAS, Proxmox

$320.00



Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 128gb 4x Trays 2x 550w picture

Dell PowerEdge R430 3.5 1U 2x E5-2666 v3 2.9ghz 20-Cores 128gb 4x Trays 2x 550w

$289.99



DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2690v4 2.6GHz =28 Cores 128GB H730 4xRJ45

$444.00