nassausky wrote:I'm sorry, what it is the rootcopy directory?
Hello,
rootcopy is a place where you could put everything that you would like to be seen "AS IS".
You do want /home/porteus/myfile.txt ?
Put it in /porteus/rootcopy/ so it would be seen in the CD as
/porteus/rootcopy/home/porteus/myfile.txt
When you plan to create a Porteus CD you have some directory in the root CD:
/boot
/porteus
Root copy is in the /porteus directory.
About your needs, you can do this:
1/ mount your CD somewhere, for example in /mnt/MYCD
Code: Select all
mkdir -p /mnt/MYCD
mount -t udf,iso9660 -o ro /dev/sr0 /mnt/MYCD
(No quiet sure about the code above...
Assume it is correct)
(I do mount from dolphin... even if I dislikes dolphin)
2/ copy the cd content somewhere for example in /mnt/REMASTEREDCD
Code: Select all
mkdir -p /mnt/REMASTEREDCD
cp -iRp /mnt/MYCD/* /mnt/REMASTEREDCD/ && echo 'REMASTERED copy is done'
mkdir -p /mnt/REMASTEREDCD/porteus/rootcopy/home/guest/.vnc # -p is necessary here
cp -vip /home/guest/.vnc/passwd /mnt/REMASTEREDCD/porteus/rootcopy/home/guest/.vnc/ && echo 'VNC copy is done'
su -c 'chown guest.guest -R /home/guest/.vnc' # in case the copy is not correctly set...
toor is the password
if you do not change it until now.
This should be enough...
3/ Create the ISO...
4/ Burn your CD... [optional]
(I do not need to burn my CD and
NOT installed it, it runs from HDD)