Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 5 [6] 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Struggling to Remaster, Need DSL to completely load into RAM< Next Oldest | Next Newest >
casio Offline





Group: Members
Posts: 41
Joined: Sep. 2005
Posted: Nov. 20 2005,21:55 QUOTE

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 ?


--------------
Regards

Casio

Please fill free to visit my website : http://www.timcs.co.uk
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Nov. 20 2005,22:16 QUOTE

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
Back to top
Profile PM 
casio Offline





Group: Members
Posts: 41
Joined: Sep. 2005
Posted: Nov. 21 2005,08:24 QUOTE

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.


--------------
Regards

Casio

Please fill free to visit my website : http://www.timcs.co.uk
Back to top
Profile PM 
casio Offline





Group: Members
Posts: 41
Joined: Sep. 2005
Posted: Nov. 21 2005,20:06 QUOTE

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  :) .

--------------
Regards

Casio

Please fill free to visit my website : http://www.timcs.co.uk
Back to top
Profile PM 
casio Offline





Group: Members
Posts: 41
Joined: Sep. 2005
Posted: Nov. 21 2005,21:45 QUOTE

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 .


--------------
Regards

Casio

Please fill free to visit my website : http://www.timcs.co.uk
Back to top
Profile PM 
32 replies since Sep. 22 2005,13:29 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 5 [6] 7 >/
reply to topic new topic new poll
Quick Reply: Struggling to Remaster

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code