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

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

reply to topic new topic new poll
Topic: So far so good..< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Oct. 16 2005,12:58 QUOTE

It may be overkill but here is what I backup to retain user/password information on my frugal installs.

etc/gshadow
etc/gshadow-
etc/passwd
etc/passwd-
etc/shadow
etc/shadow-


Chris
Back to top
Profile PM MSN YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 16 2005,15:45 QUOTE

Quote
I place my /etc/shadow file in the same folder as the .dsl extensions I need, but when booting up the new CD, the password that worked with the "old" setup, doesn't work with the new.
...
ps. and one more thing: If I place my .xinitrc and bootlocal.sh files in the same folder as the .dsl extensions when using mkmydsl, will they be "copied" into the new ISO?

You have the right idea for the location, but just putting files there will not work.  In order for DSL to use them they must be in a mydsl format, which means a gzipped tar file (*.tar.gz,*.tgz, or *.dsl) with the file paths and permissions intact.  The simplest way to do this, as far as I know, is to make sure the files you want are listed in /home/dsl/.filetool.lst and then run the backup/restore tool.


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





Group: Members
Posts: 13
Joined: Oct. 2005
Posted: Oct. 16 2005,18:24 QUOTE

I feel kinda stupid, but I don't understand what you're saying.   ???

If I start the backup tool it asks my for a device, but seeing as I have no harddrive in this box, I don't know what to write.

And how can I keep paths and permissions intact if I bundle up the various config files in a zipped tarball? And what does the .filetool.lst file do? I've added /etc/ to the list, but that didn't help.

Maaan, I feel so stupid not understanding this. I'm sure it's all fairly simple, but I just don't get it.

Basically I just need to place a custom bootlocal.sh file and a .xinitrc file in my new DSL ISO. I can live without the password stuff, as that is only needed for SSH access to the box. If I can put my own .xinitrc file in the new ISO, I can just fire up the VNC server.

:)
Thomas
Back to top
Profile PM 
TL_CLD Offline





Group: Members
Posts: 13
Joined: Oct. 2005
Posted: Oct. 16 2005,21:52 QUOTE

I think I've figured it out..  :)

Thomas
Back to top
Profile PM 
13 replies since Oct. 13 2005,20:43 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: So far so good..

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