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
  •  


Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping picture

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping

$34.99



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99



Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$168.95



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory picture

Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory

$2599.99



SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays picture

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays

$499.99



WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER  RDS CAL SEALED picture

WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED

$119.18



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69