Results 1 to 5 of 5

Thread: Restoring removed application

  1. #1
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198

    Restoring removed application

    Is there a way to restore removed application in knoppix ? As far as I know removed apps are not really removed from the knoppix image file and I would like to know if there is a way to restore any removed application without using the persistent image

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Yes there is a way to restore the removed application in knoppix ( when you are using persistent store ). The way UNIONFS works is like this :-

    1. The knoppix image file is readonly.
    2. The knoppix persistent store is read and write.
    3. To give the user the "appearance" that files on the readonly image are deleted, it will write something to the persistent store to give an marking that the file in the readonly image is supposed to be "deleted".

    Therefore in order for you to restore the deleted files, what you need to do is to remove the "marking" on the persistent store.

    However, the issue here is that an application is consisting of many many files. For you to selective restore the deleted files is a very tedious piece of work. Unless you want to revert the entire image file to the original state, then you just delete everything on the persistent store.

    Delete everything is easy. Selective deletion is tough.

  3. #3
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Thanks kl522.

    Just for the sake of know how. If I know all the application files, how do I remove the markings on the persistent image ?

  4. #4
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    The readonly files are in /KNOPPIX/......
    The read/write persistent store files are in /KNOPPIX-DATA/......
    The copy of files you normally deal with are in /UNIONFS/....

    For example the simplest case if you delete a file /etc/a ( ie /UNIONFS/etc/a ),
    if there is a /KNOPPIX/etc/a, then there will be a file /KNOPPIX-DATA/etc/.wh.a

    So if you delete /KNOPPIX-DATA/etc/.wh.a, you will recover /etc/a.

    Search the internet for more info along the line 'unionfs' and 'undelete'.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    198
    Thanks a lot kl522. That's what I wanted to know

Posting Permissions

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


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD  DDR4 Server Memory RAM picture

SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD DDR4 Server Memory RAM

$110.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4 picture

Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4

$800.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



SK Hynix 32GB (8x4GB) 1Rx8 PC4-2400T DDr4 RDIMM Server Memory HMA451R7AFR8N-UH picture

SK Hynix 32GB (8x4GB) 1Rx8 PC4-2400T DDr4 RDIMM Server Memory HMA451R7AFR8N-UH

$107.95



Server Memory: Samsung 64GB 2Rx4 PC4-3200AA ECC DDR4 M393A8G40BB4-CWE picture

Server Memory: Samsung 64GB 2Rx4 PC4-3200AA ECC DDR4 M393A8G40BB4-CWE

$742.95



64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093 picture

64GB SK Hynix HMAA8GL7MMR4N-UH T2 AA PC4-2400T LRDIMM Server Memory 1093

$299.99



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.49