bytebucket
10-15-2012, 11:44 PM
I'm new to KNOPPIX and have been reading through "KNOPPIX Hacks, Second Ed." by Kyle Rankin. The book is some years old now so I would expect some differences.
One thing that interested me was the idea of persistent KNOPPIX, i.e. being able to boot off the DVD and customize it as needed, system settings, installing apps, and then saving all the changes to a thumb drive. The idea being you could later boot off the DVD with the thumb drive plugged in and it would start up with your customizations/changes. To me being able to do this would make exploring KNOPPIX much more rewarding since what you do would actually last and not have to be redone each time (other than installing to the hard drive but I'm coming at it from wanting to just boot off the disc without touching the machine's hard drive).
The book talks about using the saveconfig script and the knoppix-mkimage script. It says saveconfig saves some settings, but knoppix-mkimage is more thorough saving everything in /ramdisk IIRC.
The problem is, with KNOPPIX 7.0.4 I couldn't find either command as documented in the book. I figured things moved and had posted on the Super User site and someone suggested using "locate saveconfig". I did that and it found it, but when I ran it it just spit out a list of items and exited. There was no man page and I had no luck in figuring out how it worked. Besides, the knoppix-mkimage sounds better anyway, but locate didn't find that.
So.... all that to say, what is the current recommended approach for achieving persistence with KNOPPIX? I'm guessing things have just changed, but would like to know how its supposed to be done now?
One thing that interested me was the idea of persistent KNOPPIX, i.e. being able to boot off the DVD and customize it as needed, system settings, installing apps, and then saving all the changes to a thumb drive. The idea being you could later boot off the DVD with the thumb drive plugged in and it would start up with your customizations/changes. To me being able to do this would make exploring KNOPPIX much more rewarding since what you do would actually last and not have to be redone each time (other than installing to the hard drive but I'm coming at it from wanting to just boot off the disc without touching the machine's hard drive).
The book talks about using the saveconfig script and the knoppix-mkimage script. It says saveconfig saves some settings, but knoppix-mkimage is more thorough saving everything in /ramdisk IIRC.
The problem is, with KNOPPIX 7.0.4 I couldn't find either command as documented in the book. I figured things moved and had posted on the Super User site and someone suggested using "locate saveconfig". I did that and it found it, but when I ran it it just spit out a list of items and exited. There was no man page and I had no luck in figuring out how it worked. Besides, the knoppix-mkimage sounds better anyway, but locate didn't find that.
So.... all that to say, what is the current recommended approach for achieving persistence with KNOPPIX? I'm guessing things have just changed, but would like to know how its supposed to be done now?