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: the boot/shutdown process and backup.tar.gz< Next Oldest | Next Newest >
hudson Offline





Group: Members
Posts: 5
Joined: May 2005
Posted: May 13 2005,13:34 QUOTE

Boy am I having fun with DSL so far!  Woohoo!

I've got an old laptop that'll only do 800x600, so I managed to remaster using 800x600 values for vga=XXX  that'd allow me to boot in 800x600 mode (e.g. *not* vga=791).  That worked great!

I also use boot.msg like an /etc/motd to display short messages during boot. (e.g. Hello World).  Its easier than fussing with linuxrc.  That also worked great!

I included a backup.tar.gz file in the root directory of my remaster containing a custom home/dsl/.xserverrc with 800x600 settings.  This worked great, too!

So I boot well and X comes up how I like.  Terrific!

But on shutdown, filetool.sh complains with the tar Broken Pipe  message I've seen in prior posts.

I only want to run off CD using toram.  I'm not interested in saving the filetool.lst info, and since I don't have a writeable restore point, I get the error on shutdown.

How can I customize DSL so I don't go down that codepath?  Is it being executed simply because a backup.tar.gz file existed on startup?

I'd also like to learn more about the boot process...
-the kernel loads
-the initrd loads
-linuxrc is processed
-init starts

How can I get into init to see (and maybe modify) what's going on?

Thanks for a great, fun product!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 13 2005,15:09 QUOTE

Quote
Is it being executed simply because a backup.tar.gz file existed on startup?

I think that's correct.  This should fix your trouble...
Edit /opt/powerdown.sh
There is probably a line that looks like this:
if [ -s /opt/.backup_device ]; then filetool.sh backup noprompt; fi
Remove or comment out that line.
Add /opt/powerdown.sh to your backup archive

The init process is something i haven't studied much yet, but most related files are in /etc/init.d.


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





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: May 13 2005,15:27 QUOTE

You can disable the backup but I think a more appropriate solution and I one I often promote is to call your particular settings something like myconf.tar.gz or mysetup.tar.gz. Then it will restore at boot up and you have the backup system still in place should you later decide to use it. So in your case just rename the backup.tar.gz and your good to go. The existing system design accomodates both methods and I use both a myconf.tar.gz and the backup.tar.gz
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: May 13 2005,22:16 QUOTE

Yes,

The ideal solution is to save your custom files that don't change to a myconf.tar.gz file and then save your often changed files (web bookmarks, buddy lists, music files, etc) to your backup.tar.gz via filetool.lst
Back to top
Profile PM 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: May 14 2005,02:48 QUOTE

I found that with older versions of DSL I really needed to keep a spare backup tarball somewhere, in case the real one got overwritten with one using a different filetool.lst. In those days, we had to add Firefox, and so the tarball had a valuable download in it. Keeping a spare may not be necessary anymore, as the filetool.lst one makes in the running DSL system is the one that gets used, and backed up in the tarball itself. Used to be we had to copy the filetool.lst over to the backup partition or device, or you did not have the backup arrangement set up right.
Big improvement with DSL 1.1, especially with the easy to use button in Emelfm to add an item or directory to the filetool.lst.
Knoppix has nothing like this, really, and it is still a manual process in the
Knoppix 3.4 that I remaster. If one does not save your config, nothing happens!
 :D


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
11 replies since May 13 2005,13:34 < 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: the boot/shutdown process and backup.tar.gz

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