Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Is this possible?, how?

Hybrid View

  1. #1

    Is this possible?, how?

    I don't know if this is possible or not but I wanted to ask if you can help me:

    1.- Booting from cd/dvd
    2.- After booting from it, then: Loading from hard drive or pendrive some configurations (network, programs, etc).
    3.- When I shutdown the computer only what I want will be saved in this hard drive or pen drive configuration (only browser updates and add-ons updates)

    I know I could use a pen drive with persistence, but I don't want my knoppix to be changed in any way when I am using it (to avoid virus, malware or who knows what). That's why I need to boot with cd/dvd and load some minimal configurations.

    Ideas?
    Thanks a lot.

  2. #2
    Senior Member
    Join Date
    Jan 2012
    Posts
    110
    Hi

    Also I am an almost newbie.

    I think that the best way to avoid "viruses, malwares etc.." is to work with he Knoppix_CD/DVD...It is intended ESSENTIALLY for this kind of working.

    I repeat that I am an almost newbie.

    So do'nt worry anymore with my reply...

    I hope that some senior members will give a good solution.

    Regards

    knp

  3. #3
    Thank you for the answer knp, the problem is that I don't want to configure the network, install firefox browser, add-ons, etc... everytime I load Knoppix with the cd/dvd. So, I thought that maybe there is a solution if we can save some configurations in another place and load them when we want.

  4. #4
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    I don't see why you should have to boot from CD/DVD. Even if you have a persistent image on a USB stick, you can run from the stick without mounting it. Just start with knoppix(64) noimage. You can mount a volume where you have work files, config files etc, read them in and save - just be careful with modifications of browser function. One way is to keep a "pristine" copy of /home/knoppix, and return to that whenever you have a suspicion of something.
    The most flexible way of doing this, is updating/installing all software to a persistent image, do all modifications to setup (e.g. auto-mounting data volume(s) ) and then remaster. Running with the remastered image should then give you what(ever) you want.
    You can also have several persistent images, and keep them more or less pristine. The simplest is to make a separate Knoppix directory for each of them, though. Then starting with the cheatcode knoppix_dir=....

  5. #5
    That's very interesting Capricorny, but I don't know how to do it, maybe some examples?.
    Thanks

    Quote Originally Posted by Capricorny View Post
    I don't see why you should have to boot from CD/DVD. Even if you have a persistent image on a USB stick, you can run from the stick without mounting it. Just start with knoppix(64) noimage. You can mount a volume where you have work files, config files etc, read them in and save - just be careful with modifications of browser function. One way is to keep a "pristine" copy of /home/knoppix, and return to that whenever you have a suspicion of something.
    The most flexible way of doing this, is updating/installing all software to a persistent image, do all modifications to setup (e.g. auto-mounting data volume(s) ) and then remaster. Running with the remastered image should then give you what(ever) you want.
    You can also have several persistent images, and keep them more or less pristine. The simplest is to make a separate Knoppix directory for each of them, though. Then starting with the cheatcode knoppix_dir=....

  6. #6
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Your approach will not allow program updates, but there is a way around that. You should look at posting from user utu, who has worked with (I think a series of) cloop images (overlays to the original KNOPPIX cloop image) created from ramdisk. That way, Knoppix is incrementally modifiable, but still used "read-only". Personally, I find it a hassle to handle the multiple overlays I will soon get with that method, but if you concentrate on doing all modifications in one session, then save that, you may be able to use only one overlay.
    For config data, I would think the easiest way to proceed is to have a few copies of /home/knoppix on the USB stick, and save/restore to/from one of them. Then you don't have to do any extra mounting, and you could set up scripts to do the house-keeping tasks for you.

  7. #7
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by Capricorny View Post
    You should look at posting from user utu...
    Capricorny refers to this, I think:
    http://knoppix.net/forum/threads/306...ht=persistence
    I still use this method, only now I define a similar function in ~/.bashrc,
    rather than /etc/profile.

    Since Knoppix 7.6.1 initially comes with both KNOPPIX and KNOPPIX1 cloops,
    my current unique cloop compacted addition is KNOPPIX2.
    I generally don't require more than one additional cloop to capture all
    my unique stuff. My KNOPPIX2 is about half the size of Klaus K's KNOPPIX1,
    for example.

    Operating this way protects me from over-writing that
    persistence material which I have converted to cloop form. It does not
    protect me from overwriting new persistence material in read-write
    reiserfs form.

    There still remains an ever-present danger of spoiling by filesystem
    corruption, either or both KNOPPIX partitions by inadvertently
    removing the LiveUSB without an orderly shut-down. I have no
    solution for that and have never been able to resurrect and correct
    a filesystem corrupted by improper shutdown.

    Re-mastering is conceptually purer, certainly produces a smaller
    final cloop collection of material, but requires about twice the
    amount of space in which to perform the compaction, and much more
    time in which to do what needs to be done. Re-mastering does not
    solve the improper shutdown hazard either, unfortunately.

  8. #8
    I normally use only a VPN program, network configuration, firefox browser, tor browser and some add-ons. I don't know how can I mount only these configurations once I boot with "noimage", and if some day I update the browser or add-ons then how to save them to mount them in the next reboot.

  9. #9
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    You simply prepare a USB stick, boot Knoppix from the ISO in some way (for 7.6.1 I used kvm, booted it as a virtual machine, see my posting about that) and run the flash-install utility. Then you can have it set up a persistent image, but whenever you don't want to use it, you use the noimage cheatcode on startup. If you don't do any remastering, you will have to manually issue a command like mount /media/sda3 (if your config files are on /dev/sda3) and copy them to their right place, for example using the rsync -axu command.

  10. #10
    Thank you very much for those ideas and recommendations Capricorny

Page 1 of 2 12 LastLast

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 R630 Server 3.00Ghz 8-Core 256GB 10x NEW 960GB SSD Rails picture

Dell PowerEdge R630 Server 3.00Ghz 8-Core 256GB 10x NEW 960GB SSD Rails

$1749.95



Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails picture

Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails

$2919.30



Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails picture

Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails

$2522.35



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$339.99



ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce picture

ALLEGIANCE Desktop Computer Gaming PC: Intel 8 Core 128GB RAM, 2TB SSD, GeForce

$687.99



FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11 picture

FAST Dell TOUCHSCREEN 8th Gen Intel Quad Core 16GB RAM Pick SSD Wi-Fi BT Win11

$199.00