Other Help Topics :: DSL now boot as root...



Quote (curaga @ April 15 2008,05:47)
You could just copy all hidden files from another install, for example boot DSL livecd and do a search:
Quote
find / -name ".*"

i suppose i need to copy only the hidden file into KNOPPIX image (i mean under /KNOPPIX dir and subdir)?

btw i tried to copy /KNOPPIX/.bash_profile from another already installed dsl, but said me "disk is read only"...
mmmmhhhhhhh
i fear i could need to re-extract KNOPPIX iso and copy and add whatever i need into it...

If you really don't want to remaster again, you could add the contents of that file to the end of /opt/bootlocal.sh (and make sure it gets backed up) and see if that works. I assume bootlocal is the last boot file to be run by root, but I'm not positive.

Quote (curaga @ April 15 2008,05:47)
You could just copy all hidden files from another install, for example boot DSL livecd and do a search:
Quote
find / -name ".*"

As far as I know,  all other dot files should have been copied. When you do cp -r on a directory it copies everything in that directory. If you do cp .file directly, that file is copied.

BUT if you try to copy the hidden file in a glob ("copy *", for instance), it doesn't get seen.

Quote (mikshaw @ April 15 2008,08:10)
If you really don't want to remaster again, you could add the contents of that file to the end of /opt/bootlocal.sh (and make sure it gets backed up) and see if that works. I assume bootlocal is the last boot file to be run by root, but I'm not positive.

Nice
i barba-tricked it and now it seems to work
\o/
tyvm

btw, i think i'll remaster the image (as soon as i got some time to do it >_< and this will means "never" :p ) because seems to me a more "clean" way to solve the problem

anyway, thanks :)


original here.