Other Help Topics :: Struggling to Remaster



Looks like I am at a dead end  :( . Tried the copy commands as you suggested Clacker while as root (sudo su) and these are the results :

cp -r /KNOPPIX/etc/uucp /ramdisk . result here is that uucp sits under ramdisk as /ramdisk/uucp

cp -r /KNOPPIX/etc/uucp /ramdisk/etc . etc doesnt exist under ramdisk to start with. However running this command creates etc but does not create uucp under it. Instead the files within uucp sit under etc!.

adding the -rp makes no difference to the above commands

As I type this I have just got it working!. I had to do the following:

cp -rp /KNOPPIX/etc/uucp /ramdisk/etc/uucp.

Now my next question is do I do the link like this :

ln -sf /ramdisk/etc/uucp /etc/uucp
or
ln -sf /ramdisk/etc/uucp /etc

because what I tried on a remaster was this:
<line in mkwriteable>
cp -rdf /KNOPPiX/etc/uucp /ramdisk (i know this works because I tried it at a prompt and it put uucp under ramdisk)
ln -sf /ramdisk/uucp /etc (this didnt seem to work even though I tested it at the prompt when it did!)

Any ideas ?

casio, I'm glad it's working a little bit.  I'd be careful that the /ramdisk/etc directory didn't get created on the first copy attempt and it worked on the second because the copy wasn't there.  I think I see that your problem was that there is not a /ramdisk/etc directory in the first place, after it's created then things worked.  Try creating the /ramdisk/etc directory and then do your copy after that:

sudo mkdir /ramdisk/etc
sudo cp -rp /KNOPPIX/etc/uucp /ramdisk/etc/uucp
sudo ln -sf /ramdisk/etc/uucp /etc/uucp

Quote (clacker @ Nov. 20 2005,22:16)
casio, I'm glad it's working a little bit.  I'd be careful that the /ramdisk/etc directory didn't get created on the first copy attempt and it worked on the second because the copy wasn't there.  I think I see that your problem was that there is not a /ramdisk/etc directory in the first place, after it's created then things worked.  Try creating the /ramdisk/etc directory and then do your copy after that:

sudo mkdir /ramdisk/etc
sudo cp -rp /KNOPPIX/etc/uucp /ramdisk/etc/uucp
sudo ln -sf /ramdisk/etc/uucp /etc/uucp

Clacker I am sure that I delete etc before trying the above command as I did follow the steps of deleting the folders I created in ramdisk each time.

My main worry is that the linking seems to work at the prompt but not when I apply it to the remastered disk.Its almost as though it is being ignored. However when viewing the mkwriteable is holds the lines I entered?!?!?!

I am just wondering if there is something wrong in the way I am remastering. My steps are as follows (bare with me as I am doing this from memory):
1) I run script which creates the iso image disk from the hard drives template. This template has all of the files installed and sits in the following area: /mnt/hda3/source/KNOPPIX. I have made sure that the image creation script looks into this area.

2) I then run a script which blanks my CDRW and then burns the image with cdrecord.

If you would like me to post the full contents of the scripts then please let me know.

Yep looks like you were right again Clacker. I must of had the /ramdisk/etc folder already there. I am now going to find out whether it is possible to add a mkdir command to mkwriteable now  :) .
Quote (casio @ Nov. 21 2005,20:06)
Yep looks like you were right again Clacker. I must of had the /ramdisk/etc folder already there. I am now going to find out whether it is possible to add a mkdir command to mkwriteable now  :) .

I think the problem here is that for some reason the mkwriteable routine is not been run. When I look at this script there are several directories that should be copied to the ramdisk. Once I boot the remastered disk, these directories are not in the /ramdisk area.

I have, just as a test, run the mkwriteable script by sitting in its true location /KNOPPIX/etc/init.d  and ran it as ./mkwriteable. Obivously it errored on a lot of directories/symbolic links as they already exist.

What would stop this from running.  The permissions on the file seem ok otherwise I would not be able to run it .

Next Page...
original here.