-
@ 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
Lenovo ThinkPad Laptop Light Gaming PC Core i5 16GB RAM 512GB SSD Windows 11 Pro
$266.50
Lenovo LOQ 15.6" FHD 144Hz Gaming Notebook R7-7435HS 16GB RAM 512GB SSD RTX 4070
$939.99
TOUCHSCREEN Chromebook Lenovo IdeaPad 3 15'' 128GB, 4GB RAM, Intel, 82N4002SUS
$149.99
Lenovo - LOQ 15.6" Gaming Laptop FHD - AMD Ryzen 5 7235HS with 12GB Memory - ...
$479.99
Lenovo - IdeaPad 3i Chromebook 15.6" FHD Laptop - Intel Celeron - 4GB Memory ...
$249.00
Lenovo Ideapad 1i 15.6" FHD Touchscreen Laptop - Intel Core i3-1215U with 8GB...
$299.99
Lenovo chromebook 11.6" Intel 1.60 GHz 4 GB RAM 16 GB eMMC Bluetooth Webcam SD
$79.99
Lenovo ThinkPad T480 14" 1920x1080 i5-8th 16GB 256GB m.2 Windows 11 Dual Battery
$151.55
~CLEARANCE~ 15.6" Lenovo ThinkPad Laptop: Intel i5 16GB RAM~1TB Storage Webcam
$179.95
Lenovo ThinkPad T14 Laptop 14” FHD Core i5-1135G7 32GB RAM 1TB SSD Windows 11
$449.54