Originally Posted by
Cody Oebel
Thank you for you answer and linking me to instructions. I will read and follow them, and post if I have questions. Klaus you have been a great help. So I hope I'm not a pester when I have more questions for you.
After I accomplish this task. I have set myself the following things to accomplish.
1. Learn the directory structure (**This is much needed so any links or good info on this would be helpful**)
2. Learn how to download RPM packages and install them.
3. ?????? Is there software for knoppix to RIP DVD's ? Copy righted DVD's in specific.
4. Learn the terminal as well as I know DOS prompt, including variables, bash scripts, and useful permissions.
5. Last but not least. I know how to compile C++ code, and program gui in windows. I wish to make programs within knoppix to further my operating system knowledge.
--Yes I know.. one step at a time, but if you already have any goodies on the above so far those are some self tasks I can think of I really want to accomplish with Knoppix--
Once again, with acme of thanks for all your help,
-Cody Oebel
Forgive me I am very tired and dont know why I wrote the above. My mind rambles, but I am fatigue. Forgive the not well thought out questions.
NOTE: Every time I post I get a page 404, and then some time later the post shows up. I assume my post has to be moderated, but a message would be nice to confirm my post was submitted and is being reviewed by a moderator, and this would prevent me from potentially posting ambiguously. Thank you, Cody Oebel
I have a few questions regarding the below. In bold are my questions.
Ok we are first making two directories source, and where the master image will be created.
# mkdir -p /lots_of_free_space/source/KNOPPIX
# mkdir -p /lots_of_free_space/master/KNOPPIX
We now change directory to the below /source directory for our entire flash drive file system.
# cd /lots_of_free_space/source/KNOPPIX
Now the confusing part. I refferenced the following site. http://www.computerhope.com/unix/ucp.htm to understand the cp command, but am confused.
In dos we copy [source] [destination], but below the commands provided state cp -a /dev, or copy and archive the /device directory ??? What about the destination directory ??
# cp -a /dev .
Also why is the instructions copying over this /UNIONFS directory and sub directories?
I googled what the UNIONFS is, and made vague sense that it's a uniform file system type.
What is normally in UNIONFS ? **Maybe my absolute lack of the knoppix directory system is why I'm lost here so maybe I am jumping ahead, or very tired and asking questions without looking deep enough for myself isnt smart. Please forgive me** So what is all of these UNIONFS files and folders?
# cp -a /UNIONFS/bin .
# cp -a /UNIONFS/etc .
# cp -a /UNIONFS/lib .
# cp -a /UNIONFS/sbin .
# cp -a /UNIONFS/usr .
# cp -a /UNIONFS/var .
# cp -a /UNIONFS/opt .
# cp -a /UNIONFS/home .
# cp -a /UNIONFS/root .
The below in parentheses I don't understand the statement. I'm novice, and that's unclear!
<li id="post_120447" class="postbitlegacy postbitim postcontainer"> ( Whatever you want it to appear in the new compressed image, you copy it there )
....
<li id="post_120447" class="postbitlegacy postbitim postcontainer">
<li id="post_120447" class="postbitlegacy postbitim postcontainer">
<li id="post_120447" class="postbitlegacy postbitim postcontainer">
cd or change directory, cd.. ??? changing directory to where? In DOS cd.. brings me to the directory before the one I am, or one directory "More" close to the root directory. Again.. where is this cd.. supposed to bring me ? Which directory? It would have been easier if the instruction was an absolute path to avoid confusion.
# cd ..
<li class="postbitlegacy postbitim postcontainer">
<li class="postbitlegacy postbitim postcontainer">
<li class="postbitlegacy postbitim postcontainer">
<li class="postbitlegacy postbitim postcontainer">I googled mkisofs, and made sense that it's an image creation program (quickly studied it, but when I'm not tired I will coffee up, and read more into this program).However this is where much confusion is coming in. To simplify my confusion first off. Starting from mkisofs is the end of this entire statement the /KNOPPIX ?? At the portion where it is KNOPPIX \ | the `|' is a pipe ? I am assuming like in DOS the > is outputting to the following directory?
# mkisofs -R -U -V "KNOPPIX.net filesystem" -publisher "KNOPPIX www.knoppix.net" \
-hide-rr-moved -cache-inodes -pad /lots_of_free_space/source/KNOPPIX \
| nice -5 /usr/bin/create_compressed_fs - 262144 > /lots_of_free_space/master/KNOPPIX/KNOPPIX
Conclusion:
Wow one of my next goals is to begin C\C++ programming in Linux. Something I can do in windows, but have failed to do in a linux OS, because obviously the IDE is not so "Holding my hand" easy to use as in Windows. Which I like, and it will be a challenge to begin programming within linux. However it is apparent to me I am far to premature in simply using KNOPPIX much less programming applications in it.
So again... I'm a little tired after a 7 mile barefooted distance run in training for a marathon, and possibly my cognition and mental drive are taking a toll. So forgive me, but if any one could clarify the above for me. I would really appreciate the due diligence.
-Cody Oebel