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: (2) </ 1 [2] >/

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

reply to topic new topic new poll
Topic: DSL now boot as root...< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: April 15 2008,10:05 QUOTE

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





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 15 2008,12:10 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: April 15 2008,12:53 QUOTE

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 :)
Back to top
Profile PM 
7 replies since April 14 2008,09:02 < Next Oldest | Next Newest >

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

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: DSL now boot as root...

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