RC2 remastered doesn't find .bash_profileForum: Other Help Topics Topic: RC2 remastered doesn't find .bash_profile started by: merrik Posted by merrik on Nov. 17 2005,16:46
Hi, I had remastered DSL RC2. It works fine, but when it is loading, it says the following message: cp: cannot stat `/KNOPPIX/.bash_profile´: no such file or directory I had checked the file and the only .bash_profile that is in all the distribution is in /var/skel/.bash_profile, and my image has it. Do you know how can I solve it? Thank you! Posted by clivesay on Nov. 17 2005,16:55
That file needs to be copied over when you copy the KNOPPIX fs over for remastering.Chris Posted by merrik on Nov. 17 2005,17:04
Sorry, i apologise for my bad English.Do you say I have to copy /var/skel/.bash_profile to /root and /home/dsl? Thanks in advance. Regards. Posted by mikshaw on Nov. 18 2005,03:32
no...they are two separate files. /.bash_profile is for root and /etc/skel/.bash_profile is for dsl
Posted by merrik on Nov. 18 2005,10:55
Thank you mikshaw. Then, what I have to do to solve the problem?Copy my system files -from my own computer- /.bash_profile and /etc/skel/.bash_profile into dsl/sources? I haven't got any idea about what to do. Regards Posted by merrik on Nov. 18 2005,12:40
Now I understand. I don't know for what reason, when I copied the KNOPPIX/KNOPPIX content into dsl/sources, /.bash_profile and /.rr_moved didn't get copied! - but /etc/skel/.bash_profile do! I just copied ./bash_profile into my sources dir and all works! Thank you! Posted by mark on Nov. 20 2005,18:22
hi. let's say you mount the knoppix image like... 'mount -o loop knoppix image/' the usual way is to copy everything out of the image into another folder. but: there are not just the usual folders (bin/ boot/ cdrom/ dev/ etc/ usr/ home/...) but also a .bash_profile you have to copy. don't forget this file. mark |