Production / Test using partimage
I am currently running knoppix installed on one partition of my hard drive. I am planning on creating another reiserfs partition to use for a knoppix test version.
sda3 - knoppix production, my stable environment
sda4 - to be my test environment
I am planning on using partimage to make a copy of sda3 partion which I would then build sda4 using this copy. I would then like to do my testing on sda4. Then when I am happy with that environment I would like to copy sda4 back to sda3 (Production). I have a couple of questions.
1) Is this possible and does it sound like the right way to meet my needs
2) Trying to think this through I realize that there would be references to the partition where my copy originates from. When I copy from one partition to the next say from sda4 to sda3, I was wondering what files would be impacted by partition addresses (i.e. sda4 references that would need to be changed to sda3).
I hope this makes a little sense. I can probably clarify this a little more if you need me to.
Thank you...in advance,
Chip
Production / Test using partimage
You are going to need the -d (dereference) switch in that copy command also so as not to follow symbolic links and copy the links themselves.
While your at it, just use the -a switch (for archive) as it combines the -dpR arguments.
Production / Test using partimage
Although we are happy to help those in need, what you are asking for is a tutorial on basic UNIX/Linux system administration.
In order to become more proficient, and have ready references at hand, may I suggest that you begin to acquire a library to assist you.
There are many excellent texts in the USD20-30 range as well as probably some material at your local liibrary.
Your system itself should be your first source. Learn to use the manual pages installed at your system. The command: man , followed by almost any command or configuration_file_name will give you basic information concerning such and often references to further information. The command: apropos followed by a search string will give you a list of the manual pages that include same.
In your case: man fstab , man reiserfs, man mount, man partimage, man cp, etc
If you really get stuck, please post with the exact command that is giving you trouble.
The comment, " I am now trying to mount that partition but it say's I need an entry in the etc/fstabs file", does not give us much information and simply makes a reply more difficult as we have to guess what your likely actions were.