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: howto: save installed packages on USB< Next Oldest | Next Newest >
thejackal Offline





Group: Members
Posts: 8
Joined: Feb. 2005
Posted: Feb. 09 2005,12:06 QUOTE

I have some questions about the backing up the configuration. I boot from Cd-R and save my settings on USB.

- When I install new packages through myDSL like Samba where you get the LinNeighborhood, how can I get it to be there again when I rebooted. Now I have to reinstall each time I have rebooted my system.

- How do I save my background wallpaper, I have been told there would be a dir named "background" in /.fluxbox but not with me. I can save my desktop style and all.

- How can I get it to remember my mount points, I have edited the /etc/fstab as it should be and added /etc/fstab to the filetool.lst but it does not remember when I have rebooted.

thx in advance
Back to top
Profile PM 
henk.1955 Offline





Group: Members
Posts: 41
Joined: Feb. 2005
Posted: Feb. 09 2005,12:23 QUOTE

if your USB-stick is at /mnt/sda1 then, at the bootprompt type
dsl restore=sda1 mydsl=sda1
restore= will make dsl look for the backup.tar.gz file in /mnt/sda1 to restore the settings (all files and dirs from filetool.sh).
mydsl= will make dsl look for the extentions in /mnt/sda1 and load the automaticly at bootup

i dont see a ./fluxbox/background either. but you can allways make one and put your bg image in here.
if you look in /opt, you see a bootlocal.sh file. you can put commands in there, they will run at bootup.

None of this is a secret. you can find this info if you read the getting_started.html that pops up the moment you start dsl.
Back to top
Profile PM WEB 
thejackal Offline





Group: Members
Posts: 8
Joined: Feb. 2005
Posted: Feb. 09 2005,16:02 QUOTE

Okay I figured out some stuff today but some things I cannot come up with.
My network settings are not saved when I reboot, this is my bootlocal.sh

Code Sample

ifconfig eth0 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255 up
echo "bound IP okay"
route add default gw 192.168.1.1
echo "default route okay"

echo "nameserver 195.121.1.34" >> /etc/resolv.conf
echo "nameserver 195.121.1.66" >> /etc/resolv.conf
echo "nameserver 192.168.1.1" >> /etc/resolv.conf


Offcourse this file is in my filetool.lst
Back to top
Profile PM 
henk.1955 Offline





Group: Members
Posts: 41
Joined: Feb. 2005
Posted: Feb. 09 2005,16:13 QUOTE

by default dsl runs dhcp at startup.
so if you do net workconfig in bootlocal.sh the dhcp client is still busy tring to get its setting. after is fails or does get the ip adress from the dhcp server your setting are overwriten.
to stop dsl from trying to get dhcp, add
nodhcp
to the boot parameters
Back to top
Profile PM WEB 
thejackal Offline





Group: Members
Posts: 8
Joined: Feb. 2005
Posted: Feb. 09 2005,16:23 QUOTE

When I type "nodhcp" during boot it says that it has no kernel package or something like that.
Did you meant I have to add a boot parameter to bootlocal.sh ??



Also I have a line in filetool.lst that says, home/dsl/.fluxbox/backgrounds


In that dir I have a file named mario.jpg which is my wallpaper but this is also not saved.
Back to top
Profile PM 
9 replies since Feb. 09 2005,12:06 < 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: howto: save installed packages on USB

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