-
Senior Member
registered user
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
-
Senior Member
registered user
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.
-
Senior Member
registered user
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 ?
-
Senior Member
registered user
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'.
-
Senior Member
registered user
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
-
Forum Rules

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

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

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Genuine Intel Xeon W-2145 3.70Ghz 8 Cores LGA2066 CPU SR3LQ Tested USA SELLER
$94.94

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$12.00

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10
$109.99