-
If you boot Knoppix with cheatcode "noimage" you can only see persistent memory in the (compressed) file '/mnt-system/KNOPPIX/knoppix-data.img'. If you boot without this cheatcode you can also see the persistent memory in the (decompressed) directory '/KNOPPIX-DATA/'.
In "case 1" from you, all is done by Knoppix.
You can change personal settings in '/home/knoppix/' or '/root/', you can install or deinstall programs in '/usr/' and the program-settings in '/etc/'. But in reality Knoppix writes all this stuff in '/KNOPPIX-DATA/' using "UNIONFS".
To prevent later trouble you can do a backup (your "update.tar.gz") from your personal stuff, which is a part of 'KNOPPIX-DATA/', and leave out the remaining of '/KNOPIX-DATA/'.
In "case 2" you can
a) only delete persistent memory alone, or
b) reformat the whole USB flash-drive and reinstall Knoppix. But why this expenditure?
-
Senior Member
registered user

Originally Posted by
Werner P. Schulz
If you boot Knoppix with cheatcode "noimage" you can only see persistent memory in the (compressed) file '/mnt-system/KNOPPIX/knoppix-data.img'. If you boot without this cheatcode you can also see the persistent memory in the (decompressed) directory '/KNOPPIX-DATA/'.
I would not have expected this to be the case.
I would expect the cheatcode noimage to suppress the un-compressed .img file which has both the errors and the new program material in it, leaving you with just the initially installed compressed KNOPPIX file.
The .img file is not compressed. That would take up too much time on shut-down, for one thing.
I can see that the cheatcode noimage may indeed serve a useful purpose, but I'd not describe it the way you have.
And, if the .img is ok, I don't want to change it.
Last edited by utu; 10-01-2011 at 07:00 PM.
-
The file 'knoppix-data.img' or in case of encryption 'knoppix-data.aes' is always compressed! Have a look at it with midnightcommander.
If you boot Knoppix, it is mounted (and decompressed) via '/dev/loop0' to '/KNOPPIX-DATA'. If you boot with cheatcode "noimage" nothing happens with '..img' or '..aes'
Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
Own Rescue-CD with Knoppix (Knoppix V6.7.1 remaster)
-
Senior Member
registered user

Originally Posted by
Werner P. Schulz
The file 'knoppix-data.img' or in case of encryption 'knoppix-data.aes' is always compressed! Have a look at it with midnightcommander.
If you boot Knoppix, it is mounted (and decompressed) via '/dev/loop0' to '/KNOPPIX-DATA'. If you boot with cheatcode "noimage" nothing happens with '..img' or '..aes'
Sorry to intrude into this discussion. All other things do not interest me, but knoppix-data.img or knoppix-data.aes is always ***UNCOMPRESSED***. I don't use midnightcommander, but if midnightcommander tells you that it is compressed, then throw midnightcommander away ! Knoppix-data.img is just a normal EXT2/3/4 file system, which can mount it yourself using /dev/loop0 and it is read-write. Again, a perfectly usual read/write EXT file system ! There is nothing unusual about knoppix-data.img.
If it is compressed, it is not so easily becoming writable !
-
Sorry to intrude into this discussion. All other things do not interest me, but knoppix-data.img or knoppix-data.aes is always ***UNCOMPRESSED***.
Thank you for the correction, you are right. (And I thought, nobody else read this thread.)
Last edited by Werner P. Schulz; 10-02-2011 at 09:07 AM.
-
Senior Member
registered user
since I can't just delete my prior post...
.
I've re-considered the exact terms of my comments, noting the following:
My KNOPPIX-DATA is about........ 385 Mb
My knoppix-data.img is about..... 943.7 Mb
My original CD's KNOPPIX is........ 722.4 Mb.
I think the CD's KNOPPIX is compressed; KNOPPIX-DATA is un-compressed; and
I expect that knoppix-data.img must be some combination of the two not requiring
any wholesale compression of the entire uncompressed UNION at shutdown.
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

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro
$239.99

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good
$261.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$319.99

Lenovo ThinkPad L14 Gen 3 14" FHD Laptop i5 12th Gen 16GB RAM 256GB SSD Win 11
$329.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad L14 Gen 2 14" Laptop Core i5-1135G7 2.40GHz 8GB RAM 256GB SSD
$124.99

Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50