Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Can a directory in Linux partition be used instead of a persistent image?

  1. #11
    Senior Member registered user
    Join Date
    Dec 2008
    Location
    Mysore, India
    Posts
    272
    Like we use knoppix cheatcodes in grub.cfg how can we pass on those codes in case of ext4 persistant partition while booting to knoppix live in flash-drive?
    </br>Thank you , belately, and sorry _/|\_ for being late.
    Last edited by rajibando; 04-23-2015 at 02:31 PM.

  2. #12
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Many of the Linux distributions ..
    First of all, Knoppix isn't a Linux distribution. Many tricks you'll do with a distribution, you cannot do with Knoppix.

    Why do you want to use a ext4 partition instead of a ReiserFS partition? ReiserFS is a proofed filesystem and KK does use it with good reason.

    With the new Knoppix versions you don't need to copy flash-knoppix2. You can either use flash-knoppix from the command line or select it from the menu. If you use the command line, you'll see the possible options by
    Code:
    flash-knoppix --help
    If you'll try the description of posting #8, you doesn't need an extra cheatcode; the content of 'knoppix-data.inf' is enough (bit I didn't tested it).

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

    Thanks, Mr. Schulz!

    Good Morning, Mr. Schulz! And thank you for writing on this thread. I will try to answer to your specific queries point-wise:

    (1) I am compelled to use 7.2.0 because only it allows me to install the proprietory NVidia driver for my laptop. I know you will frown upon my using a proprietary driver on my free and open source system, but nouveau, nv, framebuffer etc., make a mess of my system - they stall it.

    Moreover, the HCL laptop I bought six years back is defective. If the system doesn't use the GPU it uses the CPU, the laptop heats up and switches itself off. Many power-offs damage the knoppix-data.img

    If you see my other posts on Knoppix 7.4.2, like:
    (a) Why 7.4.2 doesn't have xorg.conf file, why /etc/X11 is read-only?
    (b) Knoppix 7.4.2 presents xscreensaver with GUI
    (c) [Attn: Prof.Knopper] Incompatibility of NVidia graphics cards with Knoppix
    you will see that I had problems with it.
    (2) I have been successful in using a flash-knoppix aided by Blacksimon's suggestions, using an entire ext4 partition rather than the raiserfs knoppix-data.img. It is good for me to use the ext4 filesystem as I can recover data after a crash.

    (3) To use knoppix-data.inf file I would need to know the list of codes that I I can pass to knoppix during boot ups. Is there a help file on knoppix-data.inf with a list of options?

    I hope I have been able to explain myself.

    Once again, I thank you for writing to replying to my queries.

    Regards,
    Rajib

  4. #14
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    Hi rajibando,
    For the use of knoppix-data.inf you did not need any cheatcode.
    The Linux initial RAM disk minirt.gz is a temporary root file system that is mounted during system boot to support the boot process. The minirt.gz contains various executables and drivers that permit the real root file system to be mounted, after which the initial RAM disk is unmounted and its memory freed.
    Inside minirt.gz there is a file called init, this takes care of controlling the presence of the file knoppix-data.inf, read what is written inside and mount the persistence partition thanks to the instructions found.
    If I remember, to take a look: gunzip -c minirt.gz | cpio -ivu --no-absolute-filenames.



    Regards,
    Blacksimon

  5. #15
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    a simpler route to init

    .
    Greetings Blacksimon & rajibando.

    FWIW, init shows up at /init on both Knoppix 7.2 LiveCD & 7.4.2 LiveUSBs.
    No need to decode the minirt.gz. Point Leafpad, or better yet, Geany at /init
    to study the inner workings of Knoppix.

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

    Thanks for your time!

    Quote Originally Posted by Blacksimon View Post
    Hi rajibando,
    For the use of knoppix-data.inf you did not need any cheatcode.
    Dear Simon,
    Both Utu and I found out that we can indeed pass cheatcodes through code, bypassing the Boot prompt, to Knoppix even in the flashdrive scenario. I request you to look at this Reply No.5 & 6
    Thanks, Simon & Utu, for sharing your knowledge with the forum members. We will be enriched by these discussions.
    Regards,
    Rajib
    Last edited by rajibando; 04-26-2015 at 04:28 AM.

Page 2 of 2 FirstFirst 12

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 EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



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 R610 picture

Dell PowerEdge R610

$80.00



Dell PowerEdge R730 8SFF 2x E5-2660 v3 = 20 Cores 128/256GB 3x 600/900GB H730 picture

Dell PowerEdge R730 8SFF 2x E5-2660 v3 = 20 Cores 128/256GB 3x 600/900GB H730

$349.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



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

$274.00



Dell Precision 3930 Rack Xeon E-2288G 3.7GHz DDR4 SSD + SSD RTX A5000 Win 10 CTO picture

Dell Precision 3930 Rack Xeon E-2288G 3.7GHz DDR4 SSD + SSD RTX A5000 Win 10 CTO

$3199.00