-
@ Werner P. Schulz
... simple and nice solution ...
Indeed! If rspiteri's client is using Win7 with separated boot and system partitions, his client won't even realise the knoppix-data.img has been planted in the /dev/sda1 since the boot partition won't be shown in the Windows Explorer. Cheeky, cheeky... 
@ rajibando
(2) Booted to the laptop owner's system normally.
(3) Copied your pendrive's boot and KNOPPIX folders, renamed your pendrive's KNOPPIX binary to KNOPPIX000.
(4) Booted from your pendrive, let your syslinux search and find the HDD's KNOPPIX binary and knoppix-data.inf and boot from there.
If (big if) I am not mistaken, the internal hard discs generally occur earlier than the usb storage devices on the Linux's device list, and KNOPPIX's init will use the first KNOPPIX/KNOPPIX found in the system by default. So there may be no need to re-name KNOPPIX to KNOPPIX000 as mentioned in point 3. ... NAND flash memory's wear leveling... Ouch...
-
1. I have knoppix on my usb to fix PCs ...
2. I do not always use the same PC and/or laptops since clients vary ..
..
4. .. if I could have a knoppix-data.img on every user's hard drive partition ..
.. Then once
I boot knoppix from my usb, ..
.. looking for the img file and if found, it is used as the overlay file.
The solution does exactly what the OP wanted.
-
Indeed! If rspiteri's client is using Win7 with separated boot and system partitions, his client won't even realise the knoppix-data.img has been planted in the /dev/sda1 since the boot partition won't be shown in the Windows Explorer. Cheeky, cheeky...
well said superman
-
Senior Member
registered user

Originally Posted by
superman
... his client won't even realise the knoppix-data.img ...
Is it? Oh, then I am not aware of this, because I exclusively use Linux, and Wine, occasionally.
I use several versions of linux, and my MBR directs to Syslinux.
I can use both pen drive isolated (physically removing internal HDD), rename my HDD KNOPPIX KNOPPIX000 and boot from pendrive or boot from HDD with/without pendrive.
In my BIOS even with pen drive first, and HDD later in boot seq, Knoppix prefers the HDD version first
I stand corrected, and I am sorry for the error. But I know I haven't confused you and rspiteri because you two are avid readers as well as programmers.
I will definitely need your help in future! I would very much wish that you'd remember the Social Contract.
And I would accept Mr. Schulz's opinion as final without dispute. I greatly respect and admire him as a benevolent person.
Very well, then. Let us focus elesewhere then
Last edited by rajibando; 06-23-2015 at 01:36 PM.
-

Originally Posted by
rspiteri
well said superman

I just registered to say THANK YOU - I was having the same problem and your steps really helped me.
The other guys suggestion was actually even more cumbersome than yours.
-
Hallo rspiteri!
Sorry for my words, but I really do not understand your logic. You spent many time and did a lot of work for a bad solution. 
Why I say this? For this:
You wrote: "Sometimes I need to install software specific to a certain situation. Example I install a program that I need to use in one place and not in another. So it is useless having all the programs I need in one overlay file."
OK, maybe you need some different software to install for different computers. But this must not be too much amount of data because Knoppix already has almost all software we may need. Yes, sometimes we need some specific software but anyway the size for these software together could not be very much. In the worst case 10 GB would be enough even if you install very big programs. Nowadays the USB sticks are very cheap: a 16 GB size USB stick is not expensive at all. And this size would be enough for Knoppix itself and a 10 GB persistence partition (also on USB stick). (But even if you need more space you can use an external HDD...) So, you could have all your software and configuration on one stick (always in your pocket) and do not need to bother with and touch client devices...
It is not a lot of simpler and more logic?
And that software and things on the overlay are not "heavy" (if a USB stick is full of stuffs still function as good as an empty one
) and "useless" anyway, even is you do not need them all, always. Think just about Knoppix: almost 10000 programs, and of course we need only a little part of them one time. But nobody thinks that the other part is useless and Knoppix should be splitted because contains "useless" software.
Which today and here is "useless", maybe tomorrow and there will not be.
On the other hand, a big part of your img files' data is common to each one, since when using persistence a lot of data will be saved only because the config files had changed. This means that if you use 3 img files (A,B,C) instead of only 1 img file (D) (and D contains all the software that the three files contain separately), the amount of those 3 img files will be much more than the size of D. A + B + C > D So, using only 1 file is not only more effective but it is also more economic.
And you wrote: "it would be nice if I could have a knoppix-data.img on every user's hard drive partition with settings, data and software specific to the user/machine"
For a lot of settings you do not need img file, persistence. You can use cheatcodes for language, keyboard, timezone. Wifi data (names, passwords) are stored in little files, the amount of size for this is negligible. Linux is not like Windows, here you do not need specific software, drivers for different hardware. Particularly, Knoppix supports almost every hardware, so of course you do not need to install anything for this. Also Knoppix executes automatic hardware detection and system configuration at start, you do not need to save any hardware-specific setting. Linux is not Windows, and Knoppix is not an installed system but a live one with autoconfiguration...
Last edited by szzsqing1; 02-13-2020 at 01:20 AM.
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

Juniper QFX5200-32C-AFO2 100Gbe 32-Port QSFP+ QSFP28 Switch 100G 100GB 40GBE NEW
$2699.98

Juniper MIC3-3D-1X100GE-CFP 100-Gigabit Ethernet MIC with CFP Factory Sealed
$1375.00

Juniper EX2200-24P-4G 24 Port PoE Gigabit Switch SAME DAY SHIP 1 YEAR WARRANTY
$39.99

Juniper QFX5200-32C-AFI 32-Port QSFP+ or 28x QSFP Ethernet Switch 2x AC PSU
$1750.00

Juniper EX4300-48P Managed 48 Port GigE PoE+ Ethernet Switch, 2x AC, Tested
$185.00

Juniper EX2300-48P PoE+ Switch 48x 1GbE & 4 SFP+/SFP 10G uplinks, Tested
$285.00

Juniper 48-Port GbE PoE+ & 4-Port SFP Managed Network Switch EX2200-48P-4G
$44.99

Juniper EX3300-48P 48 Port PoE+ Gigabit Switch Tested + Reset With Rack Ears
$75.00

Juniper Networks SSR120 Smart Router
$500.00

Juniper QFX5100-48S-3AFI 48 Port SFP 10G 6 Port QSFP 40G 2X AC 650W QTY AVAIL
$849.97